Crate snarkos_node_sync

Source

Re-exports§

Structs§

  • A struct that keeps track of the current block sync state.

Enums§

Constants§

  • This is a dummy IP address that is used to represent the local node. Note: This here does not need to be a real IP address, but it must be unique/distinct from all other connections.
  • The maximum number of blocks tolerated before the primary is considered behind its peers.

Type Aliases§

  • A tuple of the block hash (optional), previous block hash (optional), and the number of sync IPS to request from.
  • A tuple of the block hash (optional), previous block hash (optional), and sync IPs.