Module grin_p2p::types

source ·

Structs§

Enums§

Constants§

  • Maximum number of block bodies a peer should ever ask for and send
  • Maximum number of block headers a peer should ever send
  • Maximum number of block header hashes to send as part of a locator
  • Maximum number of peer addresses a peer should ever send

Traits§

  • Bridge between the networking layer and the rest of the system. Handles the forwarding or querying of blocks and transactions from the network among other things.
  • Additional methods required by the protocol that don’t need to be externally implemented.