Bitcoin Nodes & Infrastructure

Bitcoin Node Sync: Solve Technical Challenges

Bitcoin Node Sync: Solve Technical Challenges

A Bitcoin node that is still adding validated blocks is making progress, even when its percentage barely changes. Compare two readings of getblockchaininfo, ten minutes apart, then read the latest log messages. Check peers, disk, memory and clock before rebuilding anything. A repeated restart needs a different response from a database error. Reindex only when the error and the available block files justify it.

This guide covers the first sync and what to do when it seems stuck. Already syncing? Jump to the diagnosis. By the end, can you tell whether your own node is progressing, waiting, restarting or failing to open its database?

Hardware specifications play a crucial role in determining synchronization performance, with three primary bottlenecks affecting the process: disk I/O speed, available RAM, and network bandwidth. The most significant of these is typically disk I/O, particularly when using traditional hard disk drives (HDDs) rather than solid-state drives (SSDs). The constant reading and writing of blockchain data can create substantial delays on slower storage devices, potentially extending the synchronization process from days to weeks.

Three panels in a row. 1 Network: about 800 GB of blocks to download, which takes about 18 hours at 100 Mbit/s and about 2 hours at 1 Gbit/s. 2 Memory: every coin a block spends is looked up in a memory cache first; the dbcache setting sets the size of that cache. 3 Disk, highlighted as usually the slowest of the three: whatever memory misses is read from disk, which an SSD answers quickly and a spinning hard disk answers very slowly.
Three things set the pace of a sync, and the disk is usually the slowest. Every block is downloaded, then each coin it spends is looked up, first in memory and then on disk. A spinning disk has to move its arm for every lookup the cache misses.

Step-by-Step Guide: Synchronizing a Bitcoin Full Node

This guide covers the practical process of setting up and synchronizing a Bitcoin Core node from scratch on a Linux system, including hardware selection, configuration, and monitoring.

Step 1: Choose appropriate hardware. For a full archival node, plan on a 2TB SSD, NVMe if your computer takes one (the archival blockchain is about 800GB as of November 2026 and growing roughly 6-7 GB per month, so a 1TB drive fills up within about a year), 8GB RAM, and a quad-core processor. These are comfortable targets, not hard minimums: Bitcoin Core also runs with less RAM, and a pruned node needs only about 15GB of disk (Step 6). A Raspberry Pi 5 with 8GB RAM and a USB 3 SSD works for budget setups and syncs in roughly two to four days; a Pi 4 takes longer. A modern desktop or small server (Intel NUC, used Dell OptiPlex) with an NVMe drive syncs in about a day or two. Avoid spinning hard drives entirely — the random read/write patterns of blockchain validation will cause sync times measured in weeks.

Step 2: Install Bitcoin Core. Download the binary, the SHA256SUMS checksum file, and the SHA256SUMS.asc signature file from bitcoincore.org, then verify before you trust the binary. Verification only means something if you first import the builder keys you have decided to trust — otherwise GPG will report a good signature from a key it does not recognize. Import the builder keys from the bitcoin-core/guix.sigs repository — these are the keys that actually sign each release. Clone it and import the whole set with git clone https://github.com/bitcoin-core/guix.sigs && gpg --import guix.sigs/builder-keys/*.gpg. Importing a key does not tell you who holds it: builders add their own keys to that repository by pull request. So pick a few builders you trust and compare each one’s full key fingerprint with one you got another way, for example from the builder’s own website. Then verify the signatures on the checksum file with gpg --verify SHA256SUMS.asc and look for Good signature from several of those builders, with a Primary key fingerprint that matches one you compared. Finally confirm your binary’s hash with sha256sum --ignore-missing --check SHA256SUMS, which must print OK next to the file you downloaded. The --ignore-missing flag is important: SHA256SUMS lists every platform’s binary, so without it you would see a wall of FAILED/No such file lines for the files you did not download and could either dismiss a real failure or wrongly conclude your binary is corrupt. Extract to /usr/local/bin/ and create a dedicated user: sudo adduser --disabled-login bitcoin. (Verified June 2026 against the official instructions at bitcoincore.org/en/download.)

Two checks before you run Bitcoin Core. 1: Did people you trust sign the list? The builder keys you imported from guix.sigs signed SHA256SUMS, the list of fingerprints; gpg --verify SHA256SUMS.asc must say Good signature, which means the list is genuine. 2: Is your file the one on the list? sha256sum --ignore-missing --check SHA256SUMS compares the fingerprint of your download with the one in SHA256SUMS; it must say OK. Run Bitcoin Core only when both checks pass.
Two checks, two questions. The signature shows that builders you trust published the list of fingerprints; the matching fingerprint shows that your file is the one on that list. Together they prove your copy is the release the builders signed.

Step 3: Configure bitcoin.conf. Create the configuration file at ~/.bitcoin/bitcoin.conf with these essential settings:

server=1
daemon=1
txindex=0
dbcache=4096
maxconnections=40
listen=1

The dbcache parameter is critical for sync performance — set it to roughly half your available RAM in megabytes. During initial sync, 4096 MB (4GB) dramatically reduces disk I/O by keeping more of the UTXO set (the list of unspent coins) in memory. After sync completes, delete the line to go back to the default: since Bitcoin Core 31.0, 1,024 MiB on a 64-bit computer with at least 4 GB of RAM, and 450 MiB on smaller ones. Set it lower only if other programs need the memory. If you plan to run a Lightning node on top of Bitcoin Core, add zmqpubrawblock=tcp://127.0.0.1:28332 and zmqpubrawtx=tcp://127.0.0.1:28333.

Two charts of the memory a syncing node uses for its cache of coins, over the same stretch of blocks. With dbcache=1024, the default on a computer with 4 GB of RAM or more, the cache fills up three times; each time it is written to disk and emptied. With dbcache=4096, the setting in the guide's bitcoin.conf, the same stretch fills it only once. After each emptying, the next blocks have to read their coins from disk again.
A bigger dbcache fills up less often. When the cache is full, Bitcoin Core writes it to disk and empties it, and the blocks that follow must read their coins from disk again. Fewer emptyings mean fewer slow disk reads.

Step 4: Start the initial block download. Launch Bitcoin Core with bitcoind and monitor progress with bitcoin-cli getblockchaininfo. The verificationprogress field estimates how far the sync has got, from 0 to 1 (1.0 = fully synced). During IBD, your node downloads every block since January 2009 and checks each block and transaction against Bitcoin’s rules — this is the most computationally intensive phase. To save time, Bitcoin Core by default skips only the signature checks in older blocks, up to one that each release marks as valid (assumevalid); adding assumevalid=0 to bitcoin.conf before the first sync checks them all, but the sync takes longer. Monitor disk I/O with iostat -xy 5 to identify bottlenecks.

Step 5: Monitor sync progress. Use bitcoin-cli getblockchaininfo | jq '.blocks, .headers, .verificationprogress' to track progress. The blocks value shows validated blocks, headers shows known block headers (downloaded first), and verificationprogress estimates the share of all transactions checked so far, which lags behind the block count because older blocks held fewer transactions. You can also tail the debug log: check ~/.bitcoin/debug.log for messages like UpdateTip: new best= showing which block height your node has reached.

A new node syncs in two passes. First the headers: 80 bytes per block, about 78 MB in all, and getblockchaininfo shows headers 974,796 once they are in. Then the blocks, every transaction downloaded and checked, about 800 GB. The bars show how many transactions each twentieth of the chain holds: almost none in 2009 to 2012, far more in recent years. Halfway through, blocks shows 487,398, but the orange half of the bars holds under a fifth of all transactions, so verificationprogress shows only about 0.17. 1 means synced. A dashed mark locates Core 32.1 assumevalid at block 966,143; older script checks may be skipped only with the required ancestor chain, work and depth, and later scripts are checked.
Headers first, then blocks. The headers of every block add up to about 78 MB and arrive first; the blocks add up to about 800 GB. verificationprogress counts transactions, not blocks, and the early blocks held few of them, so it lags behind the block count for most of the sync.

Step 6: Configure pruning (optional). If you have limited disk space, enable pruning by adding prune=550 to bitcoin.conf (minimum 550 MB). A pruned node validates the entire blockchain history during sync but only keeps the most recent blocks on disk. This reduces storage to about 15GB (550 MB of recent blocks plus the database of unspent coins, which Bitcoin Core 32.1 estimates at about 14GB) while maintaining full validation. The tradeoff: pruned nodes cannot serve historical blocks to other peers or support txindex.

Two storage bars on the same scale. An archival node keeps every block since 2009 plus the coin database: about 900 GB with Bitcoin Core 32.1. A pruned node with prune=550 checks the same blocks, then deletes the old ones, and keeps about 15 GB. Zoomed in to scale, those 15 GB are almost all the coin database, about 14 GB listing every unspent coin; the last 550 MB of blocks are a thin slice. Both nodes check every block and transaction themselves. Only the archival node can send old blocks to other nodes and keep a transaction index (txindex).
A pruned node checks everything an archival node checks. It deletes old blocks once they are checked, so it needs about 15 GB instead of about 900 GB, and most of those 15 GB are the list of unspent coins. In exchange it can no longer send old blocks to other nodes or keep a transaction index.

Step 7: Verify sync completion and harden. Once blocks equals headers and verificationprogress shows 1 or a value just below it, your node is synced. Delete the dbcache=4096 line from bitcoin.conf so Bitcoin Core goes back to its default cache (1,024 MiB on a 64-bit computer with at least 4 GB of RAM), restart it with bitcoin-cli stop and then bitcoind, and check with bitcoin-cli getnetworkinfo that connections_out reaches 10, its default number of outgoing peers. Enable automatic startup with a systemd service file so your node restarts after reboots. Configure your firewall to allow incoming connections on port 8333 if you want to support the network as a listening node.

Warning: Stop with bitcoin-cli stop and wait for the process to exit before restarting or disconnecting its disk. After a power cut, Bitcoin Core can recover on its next start; an unclean shutdown does not automatically require a new download or a reindex. If recovery fails, record the error and follow the diagnosis below.

If your sync stalls or a reindex never finishes

As of 17 November 2026. Commands and error strings below refer to Bitcoin Core 32.1; platform wrappers can use different paths.

At 11 p.m., your node reports blocks: 912400. At 7 a.m., it reports blocks: 912950. That is 550 more validated blocks in 8 hours: slow progress, not a stationary block count. These are illustrative readings, not a typical speed. What would you check if the next reading did not move?

Slow, stalled, looping or broken: which evidence do you have?

Slow: blocks rises between readings. Stalled: it stays flat while you investigate; thirty minutes without movement is a reason to inspect, not proof of corruption. Header pre-sync, a long block check or a disk flush can all leave that counter unchanged. Looping: startup messages recur because the process restarts. Read the error before each restart, then check memory, power and saved flags. Database error: startup explicitly fails to open or verify its database. An unavailable RPC connection alone does not identify that last case.

Four illustrative patterns: rising block count means slow progress; a flat count calls for peer, clock and resource checks; repeated rises and vertical drops to the last flushed height call for reading the error before every restart, then checking memory, power and saved flags; a startup database error has no reading, so preserve the full error before recovery. A flat count alone does not prove corruption.
A slow sync is still progressing. Classify the evidence before choosing a recovery action; these sketches are not speed benchmarks.

Measure for ten minutes before you change anything

Use the same node and data directory as your running service. These commands assume bitcoin-cli already reaches it; on an appliance, use its supported terminal or RPC interface. Save one reading, wait ten minutes and run the same command again:

bitcoin-cli getblockchaininfo |
  jq '{blocks, headers,
       verificationprogress,
       initialblockdownload, pruned}'

In a separate illustrative interval on another node, 912400 followed by 912438 means 38 blocks in 10 minutes, or 228 blocks per hour over that interval. The offline script accompanying this guide calculates both examples. It does not predict the finish time: the remaining blocks contain different amounts of work, and your peers and hardware load can change.

headers is the best known header height; blocks is the height of the validated active chain. Compare with a public explorer for the chain you intend to follow, such as mempool.space for the SHA256d chain. If headers lag too, inspect peers and clock. If headers are current but blocks lag, inspect validation and resources. Equal heights can also occur on an isolated node: they do not prove that it agrees with the current network tip.

Read the latest log, not just the percentage

For a default Linux installation, inspect ~/.bitcoin/debug.log. A custom data directory or appliance can put it elsewhere. The format below is an annotated template from validation.cpp:UpdateTipLog; angle brackets stand for the values in your own log:

UpdateTip: new best=<hash>
height=<height> version=<version>
log2_work=<work> tx=<transactions>
date='<block timestamp>'
progress=<estimate>
cache=<MiB>MiB(<outputs>txo)

In your log this is a single line.

new best names the block, height its position, and date its header timestamp, not the current time on your computer. progress is the verification estimate. cache describes the UTXO cache and its output count, not all the RAM used by Bitcoin Core. Increasing heights and newer block dates show forward progress; first check whether repeated lines come from the same running process.

  • Pre-synchronizing blockheaders and Synchronizing blockheaders: normal header-sync stages, not database errors. Let them work while checking that peers remain available.
  • Shutting down due to lack of disk space!, Error: Disk space is low for <dir> or Disk space is too low!: free space on the actual data volume before restarting. With a large dbcache, the cache write can need gigabytes free, so this error can appear with several GB still free; lower dbcache or free more space. A reading from another mounted disk is irrelevant.
  • Error opening block database, Corrupted block database detected or Fatal LevelDB error: retain the full message, including the operating-system or database details. Check permissions and storage before selecting a recovery mode.
  • Potential stale tip detected: inspect peers and chain agreement. Core tries an extra outbound peer; the message alone does not diagnose corruption.
  • Your computer's date and time appear to be more than 10 minutes out of sync with the network…: this default warning calls for checking the clock and the timeoffset field in getpeerinfo/getnetworkinfo. The time-too-new validation message appears only with -debug=validation: a block timestamp is too far ahead of the node’s local time, which can happen when the local clock is behind.

The literal strings and branches are in validation.cpp (UpdateTipLog, header processing and ContextualCheckBlockHeader), init.cpp (startup), node/chainstate.cpp (loading and verification), dbwrapper.cpp and net_processing.cpp. Which resource could explain the message you found?

The five usual suspects

Peers: run bitcoin-cli getnetworkinfo and inspect connections_out. Zero outbound peers explains why no new data arrives, but having peers does not prove they are supplying the blocks you need. Tor-only connectivity can limit throughput. Continue with peer connectivity checks rather than rebuilding the database.

Disk: on Linux, df -h shows mounted volumes and available space; identify the volume containing the data directory. iostat -xy 5 shows repeated I/O samples where sysstat is installed. Read latency, queueing and activity together. A busy mechanical disk or slow USB link can hold back validation; a modern parallel SSD’s %util alone does not measure its full capacity.

Memory: a cache setting must leave RAM for the rest of the node and operating system. On Linux, inspect the kernel log with dmesg, using the system’s authorized administrator access if required. A line naming a killed bitcoind process, often containing Out of memory or Memory cgroup out of memory, points to a memory kill. This is a kernel message, not necessarily a line in debug.log. Reduce the excessive allocation or competing load, then restart cleanly.

Power and cooling: on Raspberry Pi OS, vcgencmd get_throttled reports current and past undervoltage and throttling as separate bits. A nonzero historical bit can remain after the immediate problem has passed. Decode it with the Raspberry Pi documentation, then check the power supply, cable and cooling. It does not replace reading the node’s own errors.

Clock: timedatectl on a Linux system using systemd reports time and synchronization status. Correct the time service through the platform’s supported settings; see node time synchronization. Linux and Pi utilities here were checked against their documentation; the isolated Core command tests are not tests on Pi hardware.

If the software is Knots, do not assume a height difference is a sync fault. getchaintips lists known tips but does not by itself identify which chain a balance belongs to. Compare the fixed-height block hash using the Knots chain-check guide before following a recovery path. Which part of the work remains when your node is merely slow?

Why the last few percent can take longer

verificationprogress estimates transaction-validation progress, not elapsed or remaining time. Figure 04’s dated example puts roughly half the blocks at only about 0.17 of the estimated transactions. Its bars remain that historical example, not a new performance measurement.

The dashed mark added to figure 04 is Core 32.1’s default assumevalid block, 966,143. Older script checks may be skipped only when the assumed-valid block is on the relevant ancestor chain and the work and depth conditions hold. Blocks after it still require script verification. This can add work near the end; it is not a reason to turn verification off. The conditions are in validation.cpp:ConnectBlock, and the marker comes from chainparams.cpp.

When a clean restart, chainstate rebuild or full reindex fits

  1. Measure and stop cleanly. Check peers, clock, free disk space, memory and repeated restarts first. Fix the underlying cause, back up wallets and configuration, stop Bitcoin Core cleanly and wait for the process to exit.
  2. Rebuild only chainstate when it fits the error. With pruning disabled, a usable block index and all needed block files available, start once with -reindex-chainstate. It rebuilds the UTXO state from those blocks while retaining the block index. It is incompatible with prune mode.
  3. Rebuild the block index when necessary. Start once with -reindex if the block index needs rebuilding. It rebuilds the block index, chainstate and enabled optional indexes. On a node that has already pruned old blocks, -reindex deletes the block files it still has and downloads the whole blockchain again.
  4. If recovery still fails, preserve the old data directory. Check the storage and the complete error before trying again. Keep the old directory as a backup, use a fresh data directory through your platform’s supported recovery path, and restore wallet data only from your verified backups.

-reindex-chainstate fits Error opening coins database, Unable to replay blocks, or a verification error about coin database inconsistencies. Error opening block database, Error loading block database or a failure to read a block or its undo data needs -reindex. Core suggests Please restart with -reindex or -reindex-chainstate to recover. The guide checks storage and permissions first because a rebuild cannot repair a failing disk, inaccessible directory or missing permission.

Supply a recovery flag for one start. Remove any saved reindex=1 or reindex-chainstate=1 setting afterward: leaving it in the configuration or service command requests another rebuild at each start. An interrupted reindex can resume without adding that flag again. Both modes discard a loaded snapshot chainstate. Never erase wallets or the old data directory to clear a sync error.

Recovery ladder: first measure, fix resource or restart causes, back up wallets and configuration and stop cleanly. With pruning disabled and usable complete blocks and block index, chainstate-only reindex rebuilds the UTXO state. Full reindex rebuilds the block index, chainstate and enabled optional indexes. On a pruned node it deletes the remaining block files and downloads the whole chain again. If recovery still fails, keep the old data directory and use a fresh one through the supported recovery path. Remove any saved recovery flag after one start.
Measure before you rebuild. Use the least extensive recovery supported by the error and available block files. Preserve wallet backups and the old data directory.

These meanings follow Bitcoin Core 32.1’s option help and startup checks and block-file recovery code. The same ladder appears in our node maintenance guide. Use the error to select a step; a slow percentage by itself justifies none of the rebuild flags.

A reindex that seems never to finish

During a full -reindex, Reindexing block file blk%05u.dat (%d%% complete)... reports the block-file scan, and Reindexing finished marks the end of that scan; UpdateTip lines follow while chainstate is rebuilt. During the scan, getblockchaininfo keeps blocks at 0 while headers climbs; that is normal. With -reindex-chainstate, there are no Reindexing block file lines, only UpdateTip progress. A reindex performs full validation and takes roughly as long as a first sync minus the download; follow those messages across two readings before declaring it stuck.

The scan messages are in Core 32.1’s block-file loader. A restart loop can repeatedly interrupt the work: Core’s own systemd service uses Restart=on-failure, so even a startup database error can appear as repeated starts under systemd or an appliance. Read the last log lines before every restart, including the startup error, before choosing a recovery mode.

Can you classify these three cases?

Each extract is illustrative. The first has increasing heights. The second combines node startups with a kernel message. The third stops at a database error.

A: UpdateTip: ... height=912400 ...
   UpdateTip: ... height=912438 ...
B: Bitcoin Core version ...
   kernel: Out of memory:
     Killed process ... (bitcoind) ...
   Bitcoin Core version ...
C: Error opening block database
   Please restart with -reindex or
   -reindex-chainstate to recover.
   Shutdown in progress...
Which case needs a reindex immediately?

None can be assigned a reindex from this extract alone. A is progressing. B needs the memory kill and restart loop fixed first. C names the block index (blocks/index). -reindex-chainstate keeps that index, so it cannot repair it: once permissions and storage check out, the next step is -reindex.

Does a current header count mean the blocks are fully checked?

No. Headers can arrive before the blocks are downloaded and validated. Compare both counts and read the latest validation messages. A loaded snapshot can also have background validation still running.

What explains our overnight example?

550 more blocks in 8 hours is 68.75 blocks per hour for that interval. The node is progressing. Measure its next interval and inspect resources if that pace is unsuitable; do not extrapolate a finish date from the count.

Decision tree. First ask whether bitcoind starts and answers RPC. If not, read the startup error and follow the recovery ladder. If it does, ask whether blocks rises: yes means keep measuring and inspect resources if slow. Otherwise ask whether the process restarts: read the last error before every restart, then check startup errors, memory, power and saved flags. If it does not restart, compare headers with the network: behind means peers and clock; current means disk, CPU and memory.
Let the evidence choose your next step. Startup and RPC come first, then rising blocks, repeated restarts and headers compared with the network.

You have finished the first diagnosis when you can answer three questions: is blocks moving, are the headers current for the intended chain, and what does the latest error actually say? Our overnight node answered the first question with 550 new blocks. Your next action should follow the evidence from your own node.

Common Mistakes to Avoid

Using an HDD instead of an SSD. This is the single most common cause of agonizingly slow syncs. The Bitcoin Core UTXO database requires heavy random I/O that spinning drives cannot handle efficiently. An NVMe SSD is ideal, but even a SATA SSD handles this workload far better than an HDD. If you are syncing on an HDD and experiencing estimated times of 2-3 weeks, stop, buy an SSD, and start over — it will be faster than waiting.

Setting dbcache too low during initial sync. The default dbcache (since Bitcoin Core 31.0, 1,024 MiB on a 64-bit computer with at least 4 GB of RAM, and 450 MiB otherwise) fills up and is written to disk many times during the first sync, and every coin that is no longer in memory has to be read back from the disk. Raising it to 2048-4096 MB during IBD, on a machine with the RAM to spare, can shorten the sync considerably. After the sync, delete the line to go back to the default (Step 7).

Running Bitcoin Core on a system without adequate cooling. Blockchain validation is CPU-intensive, and many Raspberry Pi setups throttle under sustained load due to overheating. A passive heatsink case or active fan prevents thermal throttling and keeps sync times predictable. Monitor CPU temperature with vcgencmd measure_temp on Raspberry Pi or sensors on desktop Linux.

Syncing over WiFi or a metered connection. Initial block download transfers about 800GB of data (as of November 2026). WiFi can introduce latency and packet loss that slow peer connections. Use ethernet whenever possible. If you are on a metered connection (cellular hotspot, capped ISP plan), be aware that IBD will consume your entire data allowance and more.

Not reserving enough disk space. The blockchain grows by approximately 70-85 GB per year (roughly 6-7 GB per month at mid-2026 rates). A 1TB drive is already about 90% full when the sync finishes (Bitcoin Core 32.1 plans for about 900GB), so you would need to expand storage within a year. Buy a 2 TB drive. Pruning is the alternative when space is short, but it is a setting, not a cleanup you run now and then: it stops Electrs and Fulcrum from working, and turning it off later means downloading the whole blockchain again.

Two drives drawn to scale. Bitcoin Core 32.1 plans for about 900 GB. On a 1 TB drive that leaves room for one more year of blocks at most, about 80 GB, and the second year does not fit. On a 2 TB drive the same 900 GB leaves room for more than ten years at today's growth of about 80 GB a year. A 1 TB drive is about 90% full the day the sync finishes.
Plan for a 2 TB drive. Bitcoin Core 32.1 plans for about 900 GB and the blocks grow by about 80 GB a year, so a 1 TB drive fills up within a year. A 2 TB drive has room for more than ten years at today’s rate.

Frequently Asked Questions

How long does it take to sync a Bitcoin full node?

On a mini-PC with an NVMe SSD, 16GB RAM and a broadband connection, initial sync takes about a day or two. On a Raspberry Pi 5 with an SSD, roughly two to four days; a Pi 4 takes longer. On older hardware with an HDD, sync can take 2-4 weeks or longer. The biggest factor is disk speed, followed by available RAM for the dbcache setting.

Do I need to keep my node running 24/7?

No, but it is strongly recommended. A node that restarts after being offline catches up by downloading and validating blocks it missed — a few hours offline means a few minutes of catch-up. However, if your node is offline for extended periods, catch-up takes longer. For Lightning node operation, 24/7 uptime is effectively required. For a simple validating node, occasional downtime is acceptable.

What is the difference between an archival node and a pruned node?

Both are full nodes: archival and pruned nodes validate every transaction in the blockchain’s history during initial sync. The difference is storage: an archival node keeps the entire blockchain (about 800 GB of blocks as of November 2026), while a pruned node discards old blocks after validation and keeps only the most recent ones (as little as 550 MB of blocks with prune=550, about 15 GB in all with the database of unspent coins). Archival nodes can serve historical blocks to peers and support transaction indexing; pruned nodes cannot, but they provide the same level of personal verification security.

Can I sync a node using someone else’s blockchain data?

A compatible, clean copy of blocks/ and chainstate/ from another node can start without an automatic reindex. That also accepts the copied state: starting successfully is not independent verification of the donor. Compatibility depends on the software and the copied files. A normal initial block download avoids trusting another person’s chainstate; do not import an unknown data directory or wallet.

Does running a Bitcoin node use a lot of electricity?

A Raspberry Pi with its SSD draws about 5-10 watts, an Intel NUC or similar mini PC 10-25 watts, and a repurposed desktop 30-80 watts. Multiply the watts by 8.76 to get kilowatt-hours a year: at $0.20 per kWh, that is about $9-18 a year for the Pi, $18-44 for the mini PC and $53-140 for the desktop. Put in your own price per kWh. After initial sync, CPU usage drops dramatically — a synced node primarily listens for new blocks and transactions, which requires minimal processing power.

Why is my Bitcoin node stuck syncing?

Rising blocks means your node is progressing slowly. If blocks stays flat for a long stretch, compare headers with the network tip, then check peers and clock. Current headers with lagging blocks call for resource and validation checks. Follow the sync-stall checks before rebuilding.

Why does my Bitcoin node keep reindexing after every restart?

Check bitcoin.conf and the service startup command for reindex=1 or reindex-chainstate=1. A saved flag requests a rebuild at each start; remove it after the intended recovery start. Read the error before every restart: a database startup failure, memory kill, power problem or storage error can stop the work again. An interrupted reindex can resume without a fresh flag. Fix the cause first, then monitor the scan and UpdateTip messages for progress.

Should I use -reindex or -reindex-chainstate?

First fix the cause, back up wallets and stop cleanly. With pruning disabled, usable complete blocks and a usable block index, -reindex-chainstate rebuilds only UTXOs. A block-index error needs -reindex, which rebuilds the block index, chainstate and enabled optional indexes. On a node that has already pruned old blocks, -reindex deletes the block files it still has and downloads the whole blockchain again. A slow sync alone calls for measurement, not either flag.

My reindex never finishes: is it stuck?

A full reindex takes roughly as long as a first sync minus the download. Look for “Reindexing block file … (N% complete)…” during the scan and “Reindexing finished” when it ends; UpdateTip lines follow while chainstate is rebuilt. Compare readings and check restart errors before calling it stuck. On a pruned node it is a full first sync, download included, and the scan lines are skipped.

Related Resources

Part of our free Bitcoin course: This topic is covered in Setting Up Your Bitcoin Node Step by Step, from the Lightning Network & Bitcoin Nodes course.
Filed under: Bitcoin Nodes & Infrastructure
← Back to All Articles