GithubHelp home page GithubHelp logo

urkellabs / brontide Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 1.0 300 KB

A Rust implementation of the Handshake and Lightning Network secure messaging protocol - based on Noise.

License: Other

Rust 100.00%
brontide noise handshake p2p

brontide's People

Contributors

kilpatty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rithvikvibhu

brontide's Issues

ci: convert nightly to allow fail, and run features on beta.

According to Rust Forge: https://forge.rust-lang.org, Rust 1.36 will be out in 3 days.

At that point, our feature "Stream" will work on beta instead of just nightly. We should adjust our CI accordingly so that we are testing the stream feature on beta and nightly.

Additionally, we can probably turn allow fail nightly back on since we don't absolutely depend on it for the stream feature anymore.

0.1 Release

  • License mentioning HSD and LND
  • Finish up Readme w/ examples.
  • More tests
  • Make Brontide Stream a feature, so you can compile w/o nightly
  • update a few fuzzing targets, and integrate into CI - add feature comp into CI
  • Crate visibilities
  • Documentation Comments
  • Custom Debug types
  • Specific tests in cipher -> As in what a tag should be depending on the input.
  • Crate Bump and Release

stream: implement stream and streamext

right now we rely on the helper function of read_message to parse the next message in the brontide stream. I believe, that we could actually implement the same functionality into the stream trait, so that just polling the stream will return when the entire message is ready to be read, and not just potentially the header.

stream: convert timeouts to Stream timeouts

We now enabled async-std unstable (for racing), and so we are able to use the Stream timeout trait function.

This allows us to remove the double ?? on the timeout functions.

Revamp Errors

Our errors are fine for right now, but I think we can make them a lot easier to parse by breaking them into a few separate enums.

It would be good to have an enum for Act Errors, as well as one for Packet errors. We should probably just remove the Strings that are nested inside of them as well, as the error explains itself quite good enough.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.