Module jormungandr::network
source · Expand description
all the network related actions and processes
This module only provides and handle the different connections and act as message passing between the other modules (blockchain, transactions…);
Re-exports
pub use self::bootstrap::Error as BootstrapError;
Modules
Structs
- all the different channels the network may need to talk to
- Global state shared between all network tasks.
Enums
Functions
- Queries the trusted peers for a block identified with the hash. The calling thread is blocked until the block is retrieved. This function is called during blockchain initialization to retrieve the genesis block.
- Try to get sufficient peers to do a netboot from
- Infallible util function to obtain local IP addr