Archive Nodes on Core
Archive nodes in the Core network play a crucial role in maintaining the complete historical state of the network. These nodes are specialized versions of full nodes with enhanced capabilities tailored to storing and providing access to the entire history of all transactions and states since the inception of the Core.
System Requirements
There are several system requirements, both software and hardware, for setting up an Archive node on the Core network.
Software
- Operating System: Currently, a Core Archive node is compatible only with macOS or Linux operating systems (Ubuntu 20.04 or later).
- Network Connectivity: Stable internet connection with low latency and high availability.
- Firewall Configuration: Open necessary ports to allow communication with the network and other nodes.
Hardware
An Archive node on Core stores the entire blockchain history, ensuring data availability and integrity for network participants. It supports querying past transactions, verifying historical data, and enhancing blockchain analytics. While not required for consensus, archive nodes play a crucial role in maintaining transparency and supporting decentralized applications. The following are the hardware requirements for running the Archive node on Core.
- Testnet2
- Mainnet
For Archive Nodes on Core Testnet2, following minimum hardware specifications are recommended:
Requirements | Details |
---|---|
Storage | Solid State Drive (SSD) with a minimum capacity of 1 TB. SSDs are recommended due to their faster read and write speeds, which are crucial for managing large blockchain data and providing quick access to historical transactions. |
CPU | 8 Core CPU |
RAM | 32 Gigabytes |
Internet Speed | A broadband Internet connection with upload/download speeds of 5Mbps |
For Archive Nodes on Core Mainnet, the following minimum hardware specifications are recommended:
Requirements | Details |
---|---|
Storage | Solid State Drive (SSD) with a minimum capacity of 4 TB. SSDs are recommended due to their faster read and write speeds, which are crucial for managing large blockchain data and providing quick access to historical transactions. |
CPU | 8 Core CPU |
RAM | 32 Gigabytes |
Internet Speed | A broadband Internet connection with upload/download speeds of 5Mbps |
Running Core Archive Node
-
We recommend using the core-chain GitHub repository to build and run your full node directly from our blockchain codebase. Instructions for building the source code can be found in the repository's README.
-
Download the latest node binary from Core's Releases Repository and the latest snapshot for archive node from Core's Snapshot Repository. The node binary includes the relevant mainnet and testnet configuration files.
-
Write the genesis state locally by executing the following command from your project directory:
geth --datadir node init genesis.json
- Now that the setup for the archive node is completed, let's start running it! Execute the following
geth
command to run the archive node:
## start an archive node
geth --config ./config.toml --datadir ./node --cache 8000 --gcmode=archive --syncmode=full
- While the archive node is running, you can monitor its logs to ensure that everything is operating correctly. The log file is located at
./node/logs/core.log
by default, but can be changed to another location if desired.