Expand description
Node that connects to Celestia’s P2P network.
Upon creation, Node will try to connect to Celestia’s P2P network
and then proceed with synchronization and data sampling of the blocks.
Structs§
- Node
- Celestia node.
- Node
Builder Nodebuilder.- Peer
Tracker Info - Statistics of the connected peers
- Syncing
Info - Status of the synchronization.
Enums§
- Daser
Error - Representation of all the errors that can occur in
Dasercomponent. - Header
ExError - Representation of all the errors that can occur in
HeaderExcomponent. - Node
Builder Error - Representation of all the errors that can occur when interacting with the
NodeBuilder. - Node
Error - Representation of all the errors that can occur when interacting with the
Node. - P2pError
- Representation of all the errors that can occur in
P2pcomponent. - Syncer
Error - Representation of all the errors that can occur in
Syncercomponent.
Constants§
- DEFAULT_
PRUNING_ WINDOW - Default maximum age of blocks before they get pruned.
- DEFAULT_
PRUNING_ WINDOW_ IN_ MEMORY - Default pruninig window for in-memory stores.
- SAMPLING_
WINDOW - Default maximum age of blocks
Nodewill synchronise, sample, and store.