Author Topic: What is the block time of bitshares 2.0 on release?  (Read 3252 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

As monster said in another thread, to be absolutely certain that a witness cannot double spend against you you must wait for 2 blocks which means that 3 seconds becomes 6 and 1 becomes 2. 

There is a fixed cost per block that the network must pay that is independent of transaction volume.   At 1 second blocks it becomes 8 MB per day of empty blocks.   Having 2 second blocks would save 1.5 GB per year.

That overhead is insignificant for full nodes and doesn't impact 99% of users of light nodes.

One dumb question :

So regarding decentralized exchange , does this mean a deal can be reversed or a UIA can be sold to multiple people  at the same time by a witness ?

It means that if you do something irreversible off-chain in response to something you see happen in the head block that the witness could "double sign" and create another block that includes different transactions.

Any witness that would double-sign would get voted out immediately (and their peer witnesses should be configured to ignore that witnesses blocks).   

In practice it is a purely theoretical attack and will not happen because the witnesses will be public (non-anonymous) and they would not make much money.   

To pull of the attack also requires that the attacker identify YOUR node and intentionally send you a block.   If you are not directly connected to the attacker and the attacker does not know where your computer is on the network then the attack becomes technically impractical.   

In other words, only the truly paranoid would worry about it.  You are far more likely to get struck by lightning.

For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline btswildpig

  • Hero Member
  • *****
  • Posts: 1424
    • View Profile
As monster said in another thread, to be absolutely certain that a witness cannot double spend against you you must wait for 2 blocks which means that 3 seconds becomes 6 and 1 becomes 2. 

There is a fixed cost per block that the network must pay that is independent of transaction volume.   At 1 second blocks it becomes 8 MB per day of empty blocks.   Having 2 second blocks would save 1.5 GB per year.

That overhead is insignificant for full nodes and doesn't impact 99% of users of light nodes.

One dumb question :

So regarding decentralized exchange , does this mean a deal can be reversed or a UIA can be sold to multiple people  at the same time by a witness ?
这个是私人账号,表达的一切言论均不代表任何团队和任何人。This is my personal account , anything I said with this account will be my opinion alone and has nothing to do with any group.

Offline bytemaster

As monster said in another thread, to be absolutely certain that a witness cannot double spend against you you must wait for 2 blocks which means that 3 seconds becomes 6 and 1 becomes 2. 

There is a fixed cost per block that the network must pay that is independent of transaction volume.   At 1 second blocks it becomes 8 MB per day of empty blocks.   Having 2 second blocks would save 1.5 GB per year.

That overhead is insignificant for full nodes and doesn't impact 99% of users of light nodes. 
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 960
    • View Profile
3 seconds initially, 1 second later on.

If people even want 1 second blocks, really.  It will be voted on, but personally I don't see much benefit of 1 second over 3 second.  Seems like it's just for bragging rights and makes chain bloat.

For real. 10 second blocks seem a bit clunky when trading at times, but 3-5 second blocks are close enough to real time where you start experiencing diminishing returns even for those like myself who are queing up several trades back to back.  Make this parameter a voting parameter and let the masses decide what they want but you can still brag that the capability is there if enough traders want to buy stake and vote 1second block times into office.

It's definitely going to be subject to vote.  That's already decided, but it's still worth debating the costs and benefits here in order to educate the voters.  There's definitely a point of diminishing returns. 

1 second blocks just have very low tolerance for network slowdowns and increase the overhead costs in terms of both bandwidth and storage space.

Quote
With Delegated Proof of Stake, the BitShares network can confirm transactions in an average of just 1 second, limited only by the speed of light.
https://bitshares.org/technology/industrial-performance-and-scalability/


...Which implies a block time of 2 seconds.

Offline mint chocolate chip

Quote
With Delegated Proof of Stake, the BitShares network can confirm transactions in an average of just 1 second, limited only by the speed of light.
https://bitshares.org/technology/industrial-performance-and-scalability/

Offline Erlich Bachman

  • Sr. Member
  • ****
  • Posts: 287
  • I'm a pro
    • View Profile
3 seconds initially, 1 second later on.

If people even want 1 second blocks, really.  It will be voted on, but personally I don't see much benefit of 1 second over 3 second.  Seems like it's just for bragging rights and makes chain bloat.

For real. 10 second blocks seem a bit clunky when trading at times, but 3-5 second blocks are close enough to real time where you start experiencing diminishing returns even for those like myself who are queing up several trades back to back.  Make this parameter a voting parameter and let the masses decide what they want but you can still brag that the capability is there if enough traders want to buy stake and vote 1second block times into office.
You own the network, but who pays for development?

38PTSWarrior

  • Guest
They are all paying with their no-touch cards now and this goes faster than 3 seconds. Plus 5 % for 1 sec!

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 960
    • View Profile
3 seconds initially, 1 second later on.

If people even want 1 second blocks, really.  It will be voted on, but personally I don't see much benefit of 1 second over 3 second.  Seems like it's just for bragging rights and makes chain bloat.

Offline Ander

  • Hero Member
  • *****
  • Posts: 3506
    • View Profile
  • BitShares: Ander
3 seconds initially, 1 second later on.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline hamiltino

  • Jr. Member
  • **
  • Posts: 31
    • View Profile
Is it 1 second? Or will that be down the track?