Post
Topic
Board Development & Technical Discussion
Re: How to make transaction speed faster?
by
Random Seller
on 15/02/2018, 07:36:13 UTC
So bitcoin block generation speed is 10 minutes, is this minimum transaction speed?

Then how can faster it?

I find at 'chainparams.cpp', consensus.nPowTargetSpacing = 10 * 60;

So this is 10 minutes, so if I change it to 0.1 * 60, then transaction speed also become 6 seconds?

What else parameters should I change to speed up?

That will speed up transactions but you may not have enough time for all the nodes to record the transaction. If you do change it that way you should take a look at the reward amount for each block as decreasing blocktime will increase the supply of bitcoin introduced to the system.

To increase transaction speed you may also want to take a look at blocksize.
Thanks.
Then how ethereum block generation time is so fast? (15 seconds maybe?) Is there enough time for nodes to record the transaction?

And what is proper fastest time to wait all nodes record?

Pre Segwit full nodes have a max blocksize of 1MB for bitcoin. In Ethereum the blocksize is variable but currently it’s around 22KB. If the blocksize is small you can afford faster block times.

The fastest time, in my opinion is fairly arbitrary. Just put in what works for you. But test the hell out of it before you go live.