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_ DELAY - Default delay after the sampling window before
Nodeprunes the block. - DEFAULT_
SAMPLING_ WINDOW - Default maximum age of blocks
Nodewill synchronise, sample, and store. - MIN_
PRUNING_ DELAY - Minimum pruning delay that can be used in
NodeBuilder. - MIN_
SAMPLING_ WINDOW - Minimum configurable sampling window that can be used in
NodeBuilder.