Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

bluebears-dev/streamlet-rust-aleph-zero-interview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamlet

This is a streamlet implementation in Rust with custom mock of the network.

Module description

  • main.rs is the entrypoint. Here we process the args and start the whole network (along with node creation).
  • node.rs contains the trait for the nodes along with other useful definitions like Vote. There is only one node implementation base on this trait, it is called HonestNode. You can find it inside node/honest_node.rs.
  • block.rs contains the block structure definition used in the node state to construct the blockchain.
  • message.rs contains the enum Message and definitions of the messages (proposal and vote) passed between the nodes.
  • digest.rs is a module that exports two functions related to hashing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages