Knowledge Base updated: 2026-11-22
Celestia Node knowledge base
Celestia Node is the Go implementation of Celestia data-availability nodes. It assembles role-specific services for bridge, full, light, and auxiliary nodes; follows Core-chain headers; acquires and verifies block data; and exposes blob, state, and operational APIs.
The nodebuilder packages compose long-lived services and their dependencies. Core-chain RPC, header synchronization, data-availability logic, peer-to-peer protocols, and local stores form the main data path.
Critical durable state includes header and block-data stores, pruning checkpoints, DAS sampling state, node configuration, identities, and account keys. Blob commitments and proofs bind retrieved application data to the data root represented by headers.
flowchart LR
Core[Celestia Core] --> CoreClient[Core client]
CoreClient --> Headers[Header sync]
CoreClient --> EDS[EDS and share acquisition]
Headers --> DA[Data availability]
EDS --> DA
P2P[P2P networking] --> Shares[Share retrieval]
Shares --> DA
DA --> Blockstore[Blockstore]
Headers --> HeaderStore[Header store]
Blockstore --> Blob[Blob services]
Headers --> Blob
Blob --> RPC[RPC services]
State[State and transaction client] --> Blob
NodeBuilder[Nodebuilder] --> P2P
NodeBuilder --> RPC
NodeBuilder --> Pruning[Retention and pruning]
Pruning --> Blockstore
Glossary
- EDS — Extended Data Square: the erasure-coded data structure from which shares and blobs are recovered.
- DAS — Data Availability Sampling: light-node sampling used to establish availability confidence.
- SHWAP — Share With A Proof: the protocol and proof format for authenticated share retrieval.
- Blob commitment — Namespace- and share-derived commitment identifying a submitted blob within a block.
- PayForBlobs — Core-chain transaction that pays for publishing blobs.
Codebase-wide invariants
- Block data used for application reads must be tied to validated headers and data-root commitments; see
header/**,share/**, and blob/commitment_proof.go. - Node role determines which services and dependencies are constructed, rather than enabling every service unconditionally; see
nodebuilder/**. - Peer-retrieved shares require protocol-level verification before serving availability or blob results; see
share/**and blob/commitment_proof.go. - Retention must persist and honor checkpoints so pruning can resume without violating configured retention boundaries; see
pruner/**. - Public RPC exposure is assembled through nodebuilder service registration rather than direct package-global endpoints; see
nodebuilder/**andrpc/**.
Routing table
nodebuilder/**-> Node assembly and service lifecyclenodebuilder/node/**-> Node configuration and operating modesnodebuilder/p2p/**,p2p/**-> Peer-to-peer networkingnodebuilder/rpc/**,rpc/**-> Node RPC service wiringnodebuilder/blobstream/**,blobstream/**-> Blobstream node integrationheader/**,das/**,share/**-> Block data acquisition and availabilitycore/**,exchange/**-> Core chain client and data exchangeheader/**-> Header synchronizationshare/**,shwap/**-> Share retrieval and reconstructiondas/**-> Data availability samplingblob/**-> Blob lifecycle services- blob/commitment_proof.go, blob/commitment_proof_layout_test.go, blob/*.go -> Blob submission and retrieval
state/**,nodebuilder/state/**-> Transaction submission and account statestore/**,pruner/**-> Local storage and retentionstore/**,nodebuilder/store/**-> Block data store and cachepruner/**,nodebuilder/pruner/**-> Data pruning and checkpointscmd/**,rpc/**,api/**-> Public APIs and node operationsapi/**,rpc/**,nodebuilder/rpc/**-> RPC API contracts and clientscmd/celestia/**,cmd/cel-key/**,cmd/cel-shed/**-> Command-line node operationsfibre/**,nodebuilder/fibre/**-> Fibre account servicesfibre/**,state/**-> Fibre account operations and state access