Sync Besu
Besu supports two node types, commonly referred to as full nodes and archive nodes.
A full node consists of an execution and consensus client, and stores a local copy of the blockchain. With a full node, you can check current balances, sign and send transactions, and look at current dapp data.
Full nodes can guarantee the latest state of the blockchain (and some older states). However, they can't serve the network with all data requests (for example, the balance of an account at an old block).
An archive node is a node that also stores the intermediary state of every account and contract for every block since the genesis block.
Archive nodes can do everything full nodes do, and they can also access historical state data. This means that archive nodes require more disk space than full nodes.
Besu must connect with other peers to sync with the network. If your node is having trouble peering, try troubleshooting peering.
Sync times
To sync with a public network, Besu runs two processes in parallel: the world state sync and the blockchain download.
While the world state syncs, Besu downloads and imports the blockchain in the background. The blockchain download time depends on CPU, the network, Besu's peers, and disk speed. The blockchain download generally takes longer than the world state sync. Besu must catch up to the current chain head and sync the world state to participate on Mainnet.
The following table shows the average world state sync time, and blockchain download time, for each sync mode on Mainnet.
All times are hardware dependent; this table is based on running AWS instances m6gd.2xlarge. Each sync mode also has its own world state database size.
Sync mode | Time to sync world state | Time to download blockchain | Disk usage |
---|---|---|---|
Snap | ~6 hours | ~1.5 days | Average disk |
Checkpoint | ~5 hours | ~13 hours | Smallest disk |
Fast | ~1.5 days | ~1.5 days | Average disk |
Full | ~weeks | ~weeks | Largest disk |
- As of late 2023, an average Mainnet snap sync consumes around 1000 GB using Bonsai Tries. Read more about storage requirements across data storage formats and sync modes.
- Testnets take significantly less time and space to sync.