18 releases (5 breaking)

new 0.6.0 Nov 14, 2024
0.5.0 Oct 9, 2024
0.4.0 Oct 9, 2024
0.3.0 Sep 26, 2024
0.1.0-rc.4 Jul 24, 2024

#197 in Magic Beans

Download history 12656/week @ 2024-07-29 7858/week @ 2024-08-05 9620/week @ 2024-08-12 12986/week @ 2024-08-19 15933/week @ 2024-08-26 13976/week @ 2024-09-02 12327/week @ 2024-09-09 10050/week @ 2024-09-16 6390/week @ 2024-09-23 5915/week @ 2024-09-30 13441/week @ 2024-10-07 9737/week @ 2024-10-14 11299/week @ 2024-10-21 8841/week @ 2024-10-28 6114/week @ 2024-11-04 6568/week @ 2024-11-11

32,914 downloads per month
Used in 43 crates (7 directly)

MIT/Apache

420KB
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

~20–30MB
~522K SLoC