Author

Topic: How to make transaction speed faster? (Read 294 times)

sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
February 22, 2018, 02:46:50 AM
#15
The real answer is you you shouldn't speed it up.

10 minutes is an AVERAGE block time, but in theory it can be much faster for 2 weeks if you put in lots and lots of additional hash power into network. However this time is there to make sure network is stable and robust, you shouldn't aim to speed it up. There are plenty of solutions offering instant bitcoin transactions and LN will be instant settlement.

How about change 2 weeks to just 1 day? or even 1 hour? Then lots and lots of hash power can't ruin?
The 2 weeks he's talking about is bitcoin's difficulty retarget/adjustment in which the rate of blocks being found increases or decreases based on the average hashrate for the last 2016 blocks (2 weeks)

You can change the difficulty period to less than 2016 blocks but depending on how you implement it it can lead to disaster
jr. member
Activity: 413
Merit: 5
February 22, 2018, 02:23:03 AM
#14
The real answer is you you shouldn't speed it up.

10 minutes is an AVERAGE block time, but in theory it can be much faster for 2 weeks if you put in lots and lots of additional hash power into network. However this time is there to make sure network is stable and robust, you shouldn't aim to speed it up. There are plenty of solutions offering instant bitcoin transactions and LN will be instant settlement.

How about change 2 weeks to just 1 day? or even 1 hour? Then lots and lots of hash power can't ruin?
member
Activity: 392
Merit: 41
This text is irrelevant
February 22, 2018, 01:49:23 AM
#13
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?

The real answer is you you shouldn't speed it up.

10 minutes is an AVERAGE block time, but in theory it can be much faster for 2 weeks if you put in lots and lots of additional hash power into network. However this time is there to make sure network is stable and robust, you shouldn't aim to speed it up. There are plenty of solutions offering instant bitcoin transactions and LN will be instant settlement.

jr. member
Activity: 413
Merit: 5
February 20, 2018, 05:20:20 AM
#12
Thx.
How is blocksize after Segwit?
With Segwit there is no longer a concept of "block size" instead "block weight" is used instead.
https://medium.com/@jimmysong/understanding-segwit-block-size-fd901b87c9d4

Quote
Isn't it good to enlarge the size for store more transaction data?
Simply enlarging the block size doesn't work; it's just kicking the can down the road.
And increasing it to absurd levels Isn't even practical

Quote
Or it is dynamically adjusted as that time's transaction amount?
A dynamic block size -- a la Monero -- has its own drawbacks.

Scaling blockchains while keeping it decentralised is really hard.


Thanks, so eventually for make alt-coin based on newest litecoin source, what parameters should I change about blocksize(weight), transaction amount per second? Or leave it as-is?

I just changed block generation speed parameter only.
sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
February 20, 2018, 04:40:00 AM
#11
Thx.
How is blocksize after Segwit?
With Segwit there is no longer a concept of "block size" instead "block weight" is used instead.
https://medium.com/@jimmysong/understanding-segwit-block-size-fd901b87c9d4

Quote
Isn't it good to enlarge the size for store more transaction data?
Simply enlarging the block size doesn't work; it's just kicking the can down the road.
And increasing it to absurd levels Isn't even practical

Quote
Or it is dynamically adjusted as that time's transaction amount?
A dynamic block size -- a la Monero -- has its own drawbacks.

Scaling blockchains while keeping it decentralised is really hard.
jr. member
Activity: 168
Merit: 1
February 20, 2018, 04:04:48 AM
#10
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?

Transactions for bitcoin are still uncertain, will be nice and beautiful ,, but if the bitcoin transaction will be faster again ,, really cool.
jr. member
Activity: 413
Merit: 5
February 20, 2018, 02:11:58 AM
#9

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.
Thx.
How is blocksize after Segwit? Isn't it good to enlarge the size for store more transaction data? Or it is dynamically adjusted as that time's transaction amount?

newbie
Activity: 79
Merit: 0
February 19, 2018, 11:28:05 PM
#8
JUST BE PATIENT  Grin
Spending more money on a transaction is not always the answer for most people. The best option is often to wait until the transaction is confirmed through normal means. Granted, this may take up a lot of valuable time, but it is also a reliable solution. You can still use the other three options if the transaction is still stuck after 24 hours or longer.
newbie
Activity: 42
Merit: 0
February 15, 2018, 03:36:13 AM
#7
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.
jr. member
Activity: 413
Merit: 5
February 15, 2018, 03:14:33 AM
#6
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?
jr. member
Activity: 413
Merit: 5
February 15, 2018, 03:12:55 AM
#5
So bitcoin block generation speed is 10 minutes, is this minimum transaction speed?
No, that is the average block time that we want.

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?
If by transaction speed you mean confirmation time, then changing that will effect confirmation time because it effects the block time. Note that changing that does not guarantee that blocks will be found every 6 seconds, it only says that the average time in between blocks is 6 seconds.

What else parameters should I change to speed up?
You will need to change the maximum proof of work target (which thus decreases the minimum difficulty). The proof of work target is what actually regulates block times.
Thanks.
How to change the maximum proof of work target? for faster transaction time?
jr. member
Activity: 420
Merit: 3
February 15, 2018, 02:03:57 AM
#4
A directed acylic graph (DAG) could be the answer as the confirmation of the transaction is done within the transaction itself with no blockchain. Plus it is friendlier for the environment.  Of course, if the question is confined strictly to bitcoin then a change to DAG would likely never happen.
staff
Activity: 3458
Merit: 6793
Just writing some code
February 15, 2018, 12:27:06 AM
#3
So bitcoin block generation speed is 10 minutes, is this minimum transaction speed?
No, that is the average block time that we want.

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?
If by transaction speed you mean confirmation time, then changing that will effect confirmation time because it effects the block time. Note that changing that does not guarantee that blocks will be found every 6 seconds, it only says that the average time in between blocks is 6 seconds.

What else parameters should I change to speed up?
You will need to change the maximum proof of work target (which thus decreases the minimum difficulty). The proof of work target is what actually regulates block times.
newbie
Activity: 42
Merit: 0
February 14, 2018, 10:56:18 PM
#2
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.
jr. member
Activity: 413
Merit: 5
February 14, 2018, 09:51:33 PM
#1
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?
Jump to: