How to Increase the speed of blocks synchronization

+4 votes

I am joining an existing chain that has over 150,000 blocks already and blocks syncronisation to my local node takes lot of time.. it's already 4 hours and blocks synched 40,000 only.

Is there anyway that we could improve the speed of sync?.


    "chain" : "main",
    "chainname" : "chain1",
    "description" : "MultiChain chain1",
    "protocol" : "multichain",
    "setupblocks" : 60,
    "reindex" : false,
    "blocks" : 40273,
    "headers" : 154576,
    "bestblockhash" : "00007953b668e13658f2a0242e4fc061a506fb51d4ad466cb71d3a48e
    "difficulty" : 0.00001526,
    "verificationprogress" : 1.00000000,
    "chainwork" : "000000000000000000000000000000000000000000000000000000009d529


asked Mar 8, 2017 by saravana

1 Answer

+1 vote

There is no immediate shortcut to this - blockchains are designed so that every node verifies everything for itself.

However we are continuing to optimize the MultiChain code base and expect the initial synchronization time to drop as we continue this progress.

Also note that the latest alpha of MultiChain has a mine-empty-rounds parameters which pauses block generation on a chain if there are no new transactions. This can drastically reduce the number of blocks in a chain which is not constantly active, and that will in turn drastically reduce the initial sync time.

answered Mar 8, 2017 by MultiChain
Thanks for the super fast response...
@Multichain Another question related to this question: Is it possible to reduce the transaction confirmation time below 1 seconds? And the maximum transaction in a single block to 50? Are these low values feasible to achieve?
We don't currently allow confirmation times below 2 seconds – remember there's an issue of network latency here, so unless all the blocks are being generated by a single node, or the nodes are in very close proximity to each other, there's a natural lower limit on confirmation times, dictated by the laws of physics.
New node init time
If we copy the /blocks folder to a new node, can we increase the speed of blocks synchronization?