Archival Node Mode in Ergo
The complete full node mode designed to store all blocks from genesis onwards, maintaining the entire UTXO set for maximum security and validation capabilities.
Overview
The Archival Node Mode is the complete full node in Ergo. It is designed to store all blocks from the genesis block onwards. This mode not only checks the proofs of work and the correctness of the linking structure but also maintains a copy of the entire UTXO set. This allows it to validate any transaction, regardless of its complexity or origin.
Key Features and Functionalities
Comprehensive Blockchain Storage
The archival node mode ensures the storage of every block since the genesis block. This guarantees the availability of the complete history of the blockchain.
Proof-of-Work Verification
This feature allows the node to check the proofs of work for each block. This is crucial for maintaining the integrity and validity of the blockchain's consensus mechanism.
Linking Structure Verification
The node is capable of verifying the correctness of the linking structure. This includes parent block IDs and interlink elements, which are essential for the blockchain's operation.
UTXO Set Storage
The archival node mode maintains a copy of the entire UTXO set. This feature enables it to validate any transaction, regardless of its complexity or origin.
Configuration
Required Settings
node.stateType = "utxo"node.blocksToKeep = -1These settings ensure the node operates in archival mode, storing all blocks and maintaining the complete UTXO set.
Optional Bootstrapping
node.utxoBootstrap = true - Use UTXO snapshot for faster syncnode.nipopowBootstrap = true - Use NiPoPoW for faster syncThese options can significantly speed up the initial synchronization process while maintaining full archival capabilities.
Use Cases
Blockchain Explorers
Provides complete historical data for blockchain explorers and analytics platforms.
Wallet Restoration
Essential for restoring wallets from seed phrases, regardless of when they were created.
Research & Development
Complete data access for blockchain research, analysis, and development purposes.
Network Security
Provides maximum security by validating all transactions and maintaining complete network state.
Resource Requirements
Storage
Requires significant disk space (100s GB+) as it stores all blocks and the complete UTXO set.
Memory
High RAM requirements for processing large UTXO sets and maintaining blockchain state.
Sync Time
Initial synchronization can take several days due to processing all historical blocks.
Security Notes
- Archival nodes provide the highest level of security by validating all transactions.
- They can detect and reject any invalid transactions or blocks.
- Essential for maintaining network integrity and preventing double-spending attacks.
- Recommended for critical infrastructure and high-value applications.