|
| 1 | +# Block Node Overview |
| 2 | + |
| 3 | +Block Nodes represent a new class of nodes in the Hedera network designed to enhance block production and network scalability. They enable operators to participate directly in block creation while maintaining the security and performance characteristics of Hedera's hashgraph consensus. This overview document provides operators with the essential concepts needed to understand Block Node roles and responsibilities before diving into deployment. |
| 4 | + |
| 5 | +## What is a Block Node? |
| 6 | + |
| 7 | +A Block Node is a special kind of server that keeps a complete, trustworthy copy of what is happening on the Hedera network. It receives a stream of already-agreed blocks from Consensus Nodes, checks that each block is valid, and then stores those blocks and the current network state so they are easy to query later. |
| 8 | + |
| 9 | +Instead of pushing this data into centralized cloud storage, Block Nodes act as a decentralized data layer for the network. They stream blocks to Mirror Nodes and other Block Nodes, answer questions from apps and services about past transactions or current state, and provide cryptographic proofs so users can independently verify that the data is correct. |
| 10 | + |
| 11 | +## How Block Nodes differ from other nodes |
| 12 | + |
| 13 | +| **Aspect** | **Consensus Node** | **Block Node** | **Mirror Node** | |
| 14 | +| --- | --- | --- | --- | |
| 15 | +| Primary role | Reach consensus and update canonical state. | Ingest, verify, store, and serve blocks, sidecars, and state. | Provide value‑added access to historical data and analytics. | |
| 16 | +| Produces blocks? | Yes – produces finalized block streams per **([HIP-1056](https://hips.hedera.com/hip/hip-1056))** | No – consumes and verifies blocks from Consensus Nodes or upstream Block Nodes. | No – typically consumes data from Block Nodes or record streams. | |
| 17 | +| Maintains full consensus state? | Yes – authoritative state, optimized for consensus. | Yes – replicated state plus saved states and snapshots for queries and reconnect. | Optional/derived – maintains state as needed for queries and analytics. | |
| 18 | +| Data APIs | gRPC for transactions/queries; limited history. | Rich gRPC/REST APIs for streaming, random access, state, and proofs. | Public REST and custom APIs for queries and observability. | |
| 19 | +| Who runs it? | Governing Council and approved operators. | Tier 1: Council / trusted; Tier 2: permissionless community and infra providers. | Permissionless operators, service providers, and app teams. | |
| 20 | + |
| 21 | +## Key Terms |
| 22 | + |
| 23 | +Before diving deeper, familiarize yourself with these core concepts: |
| 24 | + |
| 25 | +- **Block Stream ([HIP-1056](https://hips.hedera.com/hip/hip-1056))** - A continuous, ordered feed of finalized blocks produced by Consensus Nodes. Each block contains transactions, state changes, event records, and cryptographic signatures. Block streams are delivered via gRPC in Protocol Buffer format at a rate of approximately [X blocks per second / Y seconds per block]. |
| 26 | +- **Sidecar Files** - Supplementary data files associated with each block that contain additional information such as transaction records, smart contract bytecode, state proofs, and other metadata that don't fit in the core block structure. Sidecars enable efficient verification and querying without bloating block size. |
| 27 | +- **State Snapshot** - A point-in-time capture of the complete network state (accounts, balances, smart contract storage, etc.) at a specific block height. State snapshots enable fast synchronization and recovery without replaying every transaction from genesis. |
| 28 | +- **Aggregated Signatures** - Cryptographic signatures from multiple Consensus Nodes combined into a single compact signature that proves a block was finalized by network consensus. Defined in [HIP-1200](https://hips.hedera.com/hip/hip-1200). |
| 29 | +- **Reconnect Services** - APIs and data streams that help Consensus Nodes catch up to the current network state after downtime or network partitions by providing recent blocks and state snapshots. |
| 30 | +- **Saved States** - Periodic checkpoints of network state stored to disk that allow Block Nodes to restart quickly without reprocessing all historical blocks. |
| 31 | +- Tier 1 Block Node – A Block Node that receives block streams directly from Consensus Nodes and typically provides reconnect/state snapshot services back to the network. |
| 32 | +- Tier 2+ Block Node – A Block Node that receives block streams from one or more upstream Block Nodes (Tier 1 or Tier 2) and is permissionless to operate. |
| 33 | + |
| 34 | +## Role in the Hedera Network |
| 35 | + |
| 36 | +Block Nodes act as the trusted historians and data providers for the Hedera network. They receive block streams from Consensus Nodes, verify that each block and its data are correct, and store these blocks along with the current state of the network. By doing so, Block Nodes replace old methods of storing network data in centralized cloud buckets and instead make this data reliably available in a decentralized way. |
| 37 | + |
| 38 | +Block Nodes distribute blocks to downstream clients—including Mirror Nodes, other Block Nodes, and applications—so anyone can access real-time or historical data. They also generate cryptographic proofs for transactions and state, making it possible for users and applications to independently verify the accuracy of the blockchain’s history without relying on a single provider. |
| 39 | + |
| 40 | +Finally, Block Nodes help the network scale and run smoothly. When a Consensus Node needs to catch up with its peers or recover from downtime, it can rely on Block Nodes to provide the latest data and state snapshots—relieving Consensus Nodes from heavy data storage duties and improving overall efficiency. |
| 41 | + |
| 42 | +## Core Block Node Services |
| 43 | + |
| 44 | +Block Nodes provide several core services that turn block streams into reliable, consumable data for the network: |
| 45 | + |
| 46 | +- Block stream ingestion, verification, and distribution. |
| 47 | +- Cryptographic proofs for transactions and network state. |
| 48 | +- Durable storage of blocks, sidecars, and consensus state. |
| 49 | +- Real-time and historical data streaming to downstream clients. |
| 50 | +- Random-access retrieval of blocks and state at specific block heights. |
| 51 | +- State snapshots and reconnect services to help Consensus Nodes catch up or recover. |
| 52 | + |
| 53 | +## Example Use Cases |
| 54 | + |
| 55 | +- Running an API server for wallets, explorers, or dApps to access verified blockchain data. |
| 56 | +- Operating analytics or aggregation pipelines using live and historical block streams. |
| 57 | +- Providing specialized compliance, archival, or network recovery support for Hedera services. |
| 58 | + |
| 59 | +## Block Node Types |
| 60 | + |
| 61 | +| **Type** | **Description** | **Typical Operators** | **Key Focus** | |
| 62 | +| --- | --- | --- | --- | |
| 63 | +| Tier 1 | Receive streams directly from Consensus Nodes; high reliability. | Governing Council, trusted entities | Verification, reconnect, state snapshots . | |
| 64 | +| Tier 2 | Receive from Tier 1/Tier 2; permissionless. | Community, enterprises | Streaming, proofs, geographic redundancy. | |
| 65 | +| Full-History | Retain genesis-to-present history in hot/online storage. | Any | Random-access queries, full historical streams. | |
| 66 | +| Partial-History | Store only recent blocks (e.g., 30-90 days). | Cost-optimized | Recent-data streaming, light storage footprint. | |
| 67 | +| Archive | Move verified blocks/state to cold or long-term storage. | Compliance / archival providers | Disaster recovery, regulatory retention, bootstrapping very old states. | |
| 68 | + |
| 69 | +## High-Level Architecture |
| 70 | + |
| 71 | +Block Nodes follow a modular design, receiving **block streams**, verifying integrity using **aggregated signatures** and cryptographic mechanisms defined in related HIPs ([HIP-1200](https://hips.hedera.com/hip/hip-1200) and [HIP-1056](https://hips.hedera.com/hip/hip-1056)), and persisting blocks and state to local disk and remote archives. They provide four core functional layers: |
| 72 | + |
| 73 | +- **Block stream ingestion and verification** - Receives block streams from Consensus Nodes and verifies their integrity using aggregated signatures and Merkle proofs. |
| 74 | +- **State maintenance and snapshot generation** - Applies block state changes to maintain an up-to-date view of network state and periodically produces verifiable state snapshots for reconnect and recovery flows. |
| 75 | +- **Durable storage** - Persists blocks, sidecars, and saved states to local disk and optionally to remote archival storage for long-term, tamper-evident history. |
| 76 | +- **Data services** - Exposes gRPC/REST APIs providing real-time block streaming, random-access block retrieval, state queries at specific block heights, and cryptographic proofs to Mirror Nodes, other Block Nodes, and applications. |
| 77 | + |
| 78 | +Block Nodes fan out verified block streams to Mirror Nodes and Tier 2+ Block Nodes while also serving reconnect and state snapshot services back to Consensus Nodes, creating a scalable data availability layer between consensus and downstream consumers. |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | +### How Data Flows Through the Network |
| 83 | + |
| 84 | +The diagram above illustrates the complete data flow: |
| 85 | + |
| 86 | +1. **Consensus Nodes produce blocks** - Users submit transactions via gRPC to Consensus Nodes, which reach consensus through hashgraph and produce finalized blocks. |
| 87 | +2. **Block Nodes receive and verify** - Tier 1 Block Nodes receive block streams directly from Consensus Nodes, verify block integrity using aggregated signatures (as defined in [HIP-1200](https://hips.hedera.com/hip/hip-1200)), and store verified blocks and state to local disk and remote archives. |
| 88 | +3. **Block Nodes distribute downstream** - Verified block streams fan out to: |
| 89 | + - **Mirror Nodes** - for public REST APIs and explorer services |
| 90 | + - **Tier 2+ Block Nodes** - for geographic redundancy and permissionless participation |
| 91 | + - **Applications** - via gRPC/REST APIs for custom integrations |
| 92 | +4. **Block Nodes support Consensus Node recovery** - When a Consensus Node experiences downtime or falls behind, it requests reconnect data (recent blocks and state snapshots) from Block Nodes to quickly resynchronize without burdening other Consensus Nodes. |
| 93 | + |
| 94 | +## Key Responsibilities |
| 95 | + |
| 96 | +Block Node operators are responsible for: |
| 97 | + |
| 98 | +- Keeping their Block Node online, monitored, and synchronized with the latest network state. |
| 99 | +- Managing storage and retention for blocks, sidecars, and state snapshots. |
| 100 | +- Securing access to APIs and infrastructure, including authentication, authorization, and network boundaries. |
| 101 | +- Applying software upgrades in line with Hedera/Hiero releases and block node compatibility guidance. |
| 102 | +- Choosing and configuring which services to expose (streaming, random access, proofs, reconnect/state snapshots) for their consumers. |
| 103 | + |
| 104 | +## Benefits for Operators |
| 105 | + |
| 106 | +- Replaces legacy record stream polling with efficient streaming |
| 107 | +- Lower costs via aggregated signatures and no S3 operations |
| 108 | +- Enhanced Mirror Node integration with random-access and proofs |
| 109 | +- Plugin extensibility without forking |
| 110 | + |
| 111 | +## Choosing Your Block Node Configuration |
| 112 | + |
| 113 | +Use this decision guide to determine which Block Node configuration suits your needs: |
| 114 | + |
| 115 | +### Tier 1 vs Tier 2 |
| 116 | + |
| 117 | +**Choose Tier 1 if:** |
| 118 | + |
| 119 | +- You are a Hedera Governing Council member or trusted network partner. |
| 120 | +- You have authorization to peer directly with Consensus Nodes. |
| 121 | +- You can commit to high-availability SLAs (99.9%+ uptime). |
| 122 | +- You want to provide reconnect services to Consensus Nodes. |
| 123 | + |
| 124 | +**Choose Tier 2 if:** |
| 125 | + |
| 126 | +- You are a community operator, enterprise, or infrastructure provider. |
| 127 | +- You want to participate without special permissions (permissionless). |
| 128 | +- You can receive block streams from existing Tier 1 or Tier 2 Block Nodes. |
| 129 | +- Your focus is on streaming verified data to applications or Mirror Nodes. |
| 130 | + |
| 131 | +**Note:** Tier 2 nodes are truly permissionless—anyone can deploy one without approval or registration. You simply configure your node to connect to one or more existing Block Nodes (Tier 1 or Tier 2) for upstream block streams. |
| 132 | + |
| 133 | +## Getting Started |
| 134 | + |
| 135 | +***To start running a Block Node, read:*** |
| 136 | + |
| 137 | +- **Solo Weaver Single Node Kubernetes Deployment Guide** – step‑by‑step instructions for deploying a single Block Node instance with the Solo Weaver on a Kubernetes, including environment preparation, deployment, and basic verification. |
| 138 | +- **Single Node Kubernetes Deployment** – instructions for deploying the Block Node Server Helm chart in a single‑node Kubernetes environment, suitable for production setups on bare metal or cloud VMs. |
0 commit comments