Author Topic: Can the TPS of DPOS be as high as NXT Transparent Forging?  (Read 5368 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

What about this: Wouldn't shuffling after every block with the probability based on votes received make it harder to collude because a double spender would have to know the order of the next delegates?

That had a security issue where an attacker that could produce 2 blocks in a row would gain control of the random number sequence and thus produce all blocks forever.
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 santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
What about this: Wouldn't shuffling after every block with the probability based on votes received make it harder to collude because a double spender would have to know the order of the next delegates?

Offline bytemaster

Actually the network calculates the average fee per block and pays all delegates the moving average. 

This is done to prevent perverse incentives where delegates attempt to steel trx from each other or ignore each others blocks.   


Sent from my iPhone using Tapatalk
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 xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
So every delegate finds the same amount of blocks and gets the same reward as long as he is in the top 100, right?
No .. reward is fees-only .. so depends on the amount of transactions in the block .. but on 'average' all can get the same

Offline santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
Can the TPS of DPOS be as high as NXT Transparent Forging?

TPS = Transactions Per Second

Neither do I know whether NXT already implemented TF.

TF is not implemented completely yet. If DPOS gives a way to predict next miner with high probability then the answer is YES, I believe.

The exact order for delegates is known between every shuffle. So except for between shuffles you always know the next delegate with certainty at least 30s in advance.

So the order of delegates is not known in advance for the next 100 blocks and instead only for the next block? After every block the next delegates is selected randomly?
Say there is only one delegate left from the 100 that has not yet been selected to find a block then he will be the one to find the next block?

Every 100 blocks there is 1 shuffle that decides the next 100 blocks.  So you always know on average 50 blocks in advance.   Sometimes there is only 30 seconds and sometimes there is 3000 seconds depending upon where your delegate ended up in the shuffle.
Thanks.
So every delegate finds the same amount of blocks and gets the same reward as long as he is in the top 100, right?
Wouldn't shuffling after every block with the probability based on votes received make it harder to collude because a double spender would have to know the order of the next delegates?
 

Offline luckybit

  • Hero Member
  • *****
  • Posts: 2921
    • View Profile
  • BitShares: Luckybit
This is an issue of trust once you get to 10K/sec because the bandwidth required is no longer able to be supported by a decentralized network.   However, DPOS allows for centralization of delegates without losing the property of decentralized control.
+5%
This should be a major marking talking point.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline bytemaster

Can the TPS of DPOS be as high as NXT Transparent Forging?

TPS = Transactions Per Second

Neither do I know whether NXT already implemented TF.

TF is not implemented completely yet. If DPOS gives a way to predict next miner with high probability then the answer is YES, I believe.

The exact order for delegates is known between every shuffle. So except for between shuffles you always know the next delegate with certainty at least 30s in advance.

So the order of delegates is not known in advance for the next 100 blocks and instead only for the next block? After every block the next delegates is selected randomly?
Say there is only one delegate left from the 100 that has not yet been selected to find a block then he will be the one to find the next block?

Every 100 blocks there is 1 shuffle that decides the next 100 blocks.  So you always know on average 50 blocks in advance.   Sometimes there is only 30 seconds and sometimes there is 3000 seconds depending upon where your delegate ended up in the shuffle.
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 santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
Can the TPS of DPOS be as high as NXT Transparent Forging?

TPS = Transactions Per Second

Neither do I know whether NXT already implemented TF.

TF is not implemented completely yet. If DPOS gives a way to predict next miner with high probability then the answer is YES, I believe.

The exact order for delegates is known between every shuffle. So except for between shuffles you always know the next delegate with certainty at least 30s in advance.

So the order of delegates is not known in advance for the next 100 blocks and instead only for the next block? After every block the next delegates is selected randomly?
Say there is only one delegate left from the 100 that has not yet been selected to find a block then he will be the one to find the next block?

Offline bytemaster

This is an issue of trust once you get to 10K/sec because the bandwidth required is no longer able to be supported by a decentralized network.   However, DPOS allows for centralization of delegates without losing the property of decentralized control.
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 toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Can the TPS of DPOS be as high as NXT Transparent Forging?

TPS = Transactions Per Second

Neither do I know whether NXT already implemented TF.

TF is not implemented completely yet. If DPOS gives a way to predict next miner with high probability then the answer is YES, I believe.

The exact order for delegates is known between every shuffle. So except for between shuffles you always know the next delegate with certainty at least 30s in advance.
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Obviously. But when you think about the fact that bitcoin network constitutes largest super computer in the world, the  transition from using that level of computational resources for pointless work to using it for increased network capacity I'd say that dpos can scale well beyond visa in the future.
+5% (obviously ;D )

clout

  • Guest
Obviously. But when you think about the fact that bitcoin network constitutes largest super computer in the world, the  transition from using that level of computational resources for pointless work to using it for increased network capacity I'd say that dpos can scale well beyond visa in the future.


Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Dan has said that dpos can scale to the size of visas 10,000 tps. I think nxt can handle 1,000 tps with tf, so yes dpos is better.
Still unproven though

clout

  • Guest
Dan has said that dpos can scale to the size of visas 10,000 tps. I think nxt can handle 1,000 tps with tf, so yes dpos is better.


Come-from-Beyond

  • Guest
I'd say, depending on the connection/network of the delegates DPOS can be really fast .. in the testnet block are faster than 30 secs

TPS is more about throughput than latency.