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.

448 questions
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
9
votes
2 answers

Why is my Bitcoin wallet always out of sync?

Why is my Bitcoin wallet always out of sync? What can cause this?
arieltomey
  • 91
  • 1
  • 1
  • 3
7
votes
1 answer

My system is syncing headers, what does that mean?

My system got shut down while I was syncronising. Please help me, it's showing "Unknown. Syncing Headers" and estimated time is unknown. What is happening here?
Olamilekan
  • 81
  • 1
  • 5
7
votes
2 answers

Can you shutdown part way through synchronization process and start up again from the same point?

Can you shutdown part way through synchronization process and start up again from the same point? When opening bitcoin software again will the process start from where it left off or does it need to begin all over again?
Ben
  • 71
  • 1
3
votes
2 answers

Trying to sync a new node and keep getting hashMerkleRoot mismatch

I've tried syncing this same MacBook Pro multiple times and it keeps stalling. The debug.log file keeps repeating the same two lines at block 275162: 2017-07-07 03:09:59 ERROR: ConnectBlock: Consensus::CheckBlock: bad-txnmrklroot, hashMerkleRoot…
Andrew Toth
  • 132
  • 5
3
votes
1 answer

When I'm downloading the blockchain for the first time, from whom am I downloading it from?

Is it p2p through BitTorrent protocol? Is it through a central server?
davidhwang
  • 241
  • 1
  • 8
3
votes
1 answer

Can synchronization time be reduced?

I'm trying Bitcoin for the first time, so I'm about 7 years behind. As far as I understand every bitcoin user has a copy of the entire transaction record that has happened for all time for all accounts. So, when I initially install Bitcoin Core…
sashang
  • 133
  • 4
3
votes
3 answers

How to set syncnode of a peer to true?

I have a testnet connection with 3 clients. When I am doing getpeerinfo on 1 I am getting [ { "addr" : "172.20.61.111:63379", "services" : "00000001", "lastsend" : 1403246741, "lastrecv" : 1403246743, …
Pinaki
  • 131
  • 2
3
votes
1 answer

Wallet takes way too much time to keep up to date?

I would like to start using bitcoin more for day-to-day transactions. However, it takes way too long to keep my wallet up to date to be practical. I am using Bitcoin Armory, though I have had this problem with every bitcoin wallet software I have…
nullUser
  • 131
  • 2
2
votes
1 answer

What is the name of the procedure of downloading and checking the ledger for a new node?

When a new node connects for the first time to the Bitcoin network, it first needs to determine what is in the ledger, and what is not. As far as I understood, it does so by connecting to the Bitcoin overlay network, downloading the blockchain and…
Matteo Monti
  • 151
  • 1
  • 3
2
votes
0 answers

Connecting to peers but not loading any blocks

I start Bitcoin Core as admin and last week everything worked as it should, but now it is stuck at 93% and tells me it is connecting to peers. In the end I waited 5 hours and it happend nothing. Where is the problem. Thanks
1
vote
2 answers

From where does a node download a copy of the ledger

From where does a node download the latest copy of ledger initially? Is this information stored in a 'central server'? Let's say a node is offline for a while, after coming back how will the node get to know the ledger is up-to-date or not?
Faiz Ali
  • 11
  • 2
1
vote
2 answers

Trouble syncing my QT bitcoin wallet 12 days already and 144 weeks to go

I have been syncing my QT 8.5 beta bitcoin wallet for 12days and it has 142 weeks to go there must be something wrong it started at 160 weeks. What can I do about it at this rate it my take 3 months I sent a bitcoin when it was syncing small amount…
Mark
  • 21
  • 3
1
vote
1 answer

Synchronizing with network

I transferred some bitcoin to my bitcoin core wallet, at the bottom it is still showing "Synchronizing with network" and my funds have not yet appeared. Did transferring funds to my wallet before this process was complete cause my funds to not go…
1
vote
1 answer

Block Stuck With Bitcoin Core Need Help

I have bitcoin core version 25 and the blockchain is fully synchronized. Every 2-3 days I open up core to sync with the newest blocks. When i am syncing the newest blocks from the past few days the block just gets stuck randomly almost like core…
John
  • 41
  • 2
1
2 3