Module node

Source
Available on non-WebAssembly only.
Expand description

Main file for this blockchain. A node is the central task that runs and handles important events, such as new blocks, peer connection/disconnection, new addresses, etc. A node should not care about peer-specific messages, peers’ll handle things like pings.

Structs§

AddedPeerInfo
A simple struct of added peers, used to track the ones we added manually by addnode <ip:port> add command.
LocalPeerView
NodeCommon
UtreexoNode
The main node that operates while florestad is up.

Enums§

ConnectionKind
NodeNotification
NodeRequest
Sent from node to peers, usually to request something
PeerStatus
RescanStatus