Questions tagged [synchronization]

This is the process of bringing a Bitcoin client up to date with the list of all Bitcoin transactions known as the blockchain.

Synchronizing a full node requires downloading blocks from the node's peers. Currently this process requires many resources, including CPU to validate the blocks, Disk I/O to write the received blocks to disk, and RAM to hold blocks in memory while being processed and to hold the UTXO database cache. During synchronization, blocks are downloaded in parallel and primarily validated in parallel. The only parts that are not done in parallel are those which rely on other blocks, such as checking that all transactions are valid and that the previous block was valid. Synchronization is also sped up with the use of assumevalid since Bitcoin Core 0.14. With assumevalid, signatures in transactions are not verified up to a certain point, the assumevalid block. This saves on resources as signature validation is one of the more expensive parts of validating a block.

Lightweight client such as Electrum must also perform some synchronization. For this, all they do is receive the block headers for all blocks in the blockchain and ensure that they connect and that the Proof of Work is valid. This is done to ensure that the nodes they are connected to are serving them blocks from the valid chain with the most work.

This tag should be used for any question which pertains to synchronizing the full blockchain with a full node or synchronizing a lightweight wallet's headers chain.

424 questions
80
votes
7 answers

Can I download the whole block chain from somewhere?

Every time I turn on the Bitcoin client it takes days to catch up with the block chain. Are there alternatives to getting it trickling through the peer-to-peer network? Can I just download it somewhere? Wouldn't this be ideal for distribution via…
Thilo
  • 4,751
  • 5
  • 25
  • 37
47
votes
6 answers

Why is downloading blocks taking longer and longer?

First off, this really needs to get fixed. I'm downloading blocks for at least 8 hours now, and it's still not done. I know the problem of having to download the entire block chain is being worked on, but I feel it's already out of hand. Setting up…
Luc
  • 688
  • 1
  • 5
  • 14
21
votes
7 answers

How to know if bitcoind synced?

I installed the bitcoind and started it as daemon. After 10hours I've tried "du -h" ubuntu@ip-172-31-37-93:~/.bitcoin$ du -h 16K ./database 59M ./blocks/index 29G ./blocks 646M ./chainstate 30G . How to know if it synced or…
Igor Barinov
  • 546
  • 1
  • 4
  • 17
20
votes
5 answers

Sync with bitcoin-qt very slow (0,01%)

I have the issue that my node's synchronisation is very slow. I am 14 weeks behind and it estimates to take 12 weeks to get synced. The synchronisation rate per hour is only 0,01%. I have a fast broadband connection and no other issues with this PC.…
michL
  • 301
  • 1
  • 2
  • 4
17
votes
4 answers

Check status of daemon?

I have started bitcoind on my linux box. How can I ask it what its status is? I assume it is downloading the blockchain and will continue to do so for hours or days. How can I find out where it is in this process?
Harry Pillsbury
  • 988
  • 1
  • 6
  • 20
16
votes
4 answers

Cannot access my bitcoins because my wallet is still synchronising. What can I do to spend them immediately?

I have purchased bitcoins and have downloaded Bitcoin-QT, but my wallet is taking forever to synchronize to the network. I can't access my wallet because it is still in the sync process. I have the record of me paying for the Bitcoins, the…
15
votes
2 answers

What is the fastest possible way to download the blockchain?

How to download the blockchain with full bandwidth? How to download the blockchain fast?
Aurigae
  • 664
  • 1
  • 4
  • 14
15
votes
6 answers

Creating my own bootstrap.dat?

Since I have been tearing down and setting up bitcoin clients a lot for some experiments lately, I was wondering whether there is a simple way to speed up the synchronization with the network. One method that comes to mind is the bootstrap.dat file…
cdecker
  • 9,319
  • 1
  • 38
  • 61
14
votes
2 answers

I didn't receive a Bitcoin Payment. What does it mean when the Client is synchronizing?

Bitcoin newbie here. I recently installed the Bitcoin client, and purchased some bitcoins from Mt.Gox. My problem is that my client is constantly synchronizing. I've checked charts and seen that my Bitcoins were successfully purchased, but my client…
Russ
  • 143
  • 1
  • 4
14
votes
2 answers

Why is witness data downloaded during IBD in prune mode?

Why do pruned nodes download (segregated) witness data during IBD if much of that data is marked as Assumevalid? These nodes seem to be downloading witness data just to prune it. Since we already know that such witnesses are valid, and we plan to…
13
votes
4 answers

Help! I sent coins to my bitcoin wallet before it was properly synced!

I sent coins to my Bitcoin wallet not after installing it, but before it had fully synced! Then I closed and reopened it after sending the coins. It had generated a bitcoin address to send to, but is that address "officially mine" prior to the…
Mark
  • 133
  • 1
  • 1
  • 4
12
votes
1 answer

Synchronizing with network – What does it mean?

The messages: synchronizing with network xxx blocks remaining what does that mean?
dlm
  • 121
  • 1
  • 1
  • 3
12
votes
6 answers

How long should synchronizing your wallet for the first time take?

What is the normal synchronzing time for your wallet when you first start? I am using 4G on a wireless and it seems to be taking forever to count down the number of blocks left until it is properly synchronized.
john
  • 121
  • 1
  • 1
  • 3
12
votes
1 answer

How to transfer only the blockchain to a friend's computer?

After installing the bitcoin client (Qt) a friend got interested as well. He doesn't have as fast an internet connection, though, so I thought of burning some DVDs with the blockchains for him to have. I saw this question on how to transfer…
Joe Pineda
  • 2,118
  • 2
  • 18
  • 28
11
votes
1 answer

How to recover corrupted Bitcoin-Core blockchain?

I recently experienced a I/O error resulting in data block corruption or index corruption cause bitcoin-qt wasn't quitting so I forced bitcoin core to shutdown without killin it properly. I checked the harddisk.. when I restarted Bitcoin-qt it asked…
Denja
  • 250
  • 2
  • 13
1
2 3
28 29