13 releases

new 0.1.1 Sep 6, 2024
0.1.0-rc.12 Sep 3, 2024
0.1.0-rc.11 Aug 16, 2024
0.1.0-rc.4 Jul 24, 2024

#142 in Magic Beans

Download history 5741/week @ 2024-07-05 3055/week @ 2024-07-12 7102/week @ 2024-07-19 13463/week @ 2024-07-26 8786/week @ 2024-08-02 8565/week @ 2024-08-09 12946/week @ 2024-08-16 16151/week @ 2024-08-23 11304/week @ 2024-08-30

51,247 downloads per month
Used in 43 crates (7 directly)

MIT/Apache

395KB
9K SLoC

This module provides the roles of the nodes in the network.

The roles are:

  • Node: a node that participates in the gossip network, so it receives and broadcast blocks, helps with peer discovery, etc. Every node has this role.
  • Validator: a node that participates in the consensus protocol, so it votes for blocks and produces blocks. It also participates in the validator network, which is a mesh network just for validators. Not every node has this role.
  • Attester: a node that signs the L1 batches and broadcasts the signatures known as votes to the gossip network. Not every node has this role.

Dependencies

~19–30MB
~509K SLoC