Author Topic: POW vs. DPOS - the worst miners / delegates could do to the network  (Read 5046 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

back to topic:
https://bitcointalk.org/index.php?topic=664146.msg7736134#msg7736134
Quote
In fact, there is no poor user participation in NXT. Analysis of the blockchain reveals that the total number of accounts generating new blocks in NXT is between 300 and 350. Which is better than 100 delegates in BitShares.

Not if 300 of those accounts amount to 1% of the network.   Accounts are meaningless, only shares matter.
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
back to topic:
https://bitcointalk.org/index.php?topic=664146.msg7736134#msg7736134
Quote
In fact, there is no poor user participation in NXT. Analysis of the blockchain reveals that the total number of accounts generating new blocks in NXT is between 300 and 350. Which is better than 100 delegates in BitShares.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

bitbro

  • Guest

BM said double spending only is a problem when it can be done anonymously (https://soundcloud.com/beyond-bitcoin-hangouts/hangout-6-28-2014-dan-larimer - 12:34) --> delegates as well as for mining pool operators are not anonymous(as least not in the sense that is relevant here) -> my assumption (since the OP) is that the only way to double spend is to mine / forge blocks in secret (assumption: miner/forger has more than 50%) and publish the then longer alternative chain to everybody later. While mining/forging in disguise the mining pool as well as the delegate can not collect the block reward --> miners will run away from the pool and the delegate will loose his votes --> reason why reversing the tx ledger with respect to a tx that lies back a while is practically not possible with POW / POS in so far the attacker doesnt have more than 50% himself as opposed to the assumed delegated voting power (mining pool operators and delegates).

Does this reasoning have any flaws? I think it is not difficult to answer. Just need someone else to think through it...

I would like to add that double spending is still a problem if it is EASY because then the cost of attempting many times can be low and the potential of getting away with many small anonymous transactions may be higher.   However, once you raise the threshold of attack to something that only someone who is already wealthy with a public reputation can pull off, then it is no longer a real concern because those that could do it have more to lose and are certain of getting caught.

When attempting to enforce "laws" all that matters is certainty of getting caught, not the severity of the punishment.

Last sentence does not seem to make sense BM


Sent from my iPhone using Tapatalk

Offline santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
Currently group owning 51% of the stake controls all 101 delegates.
They can:
Ignore transactions. Including banning single address from sending/receiving.
Rise transaction fees at will.
Have free transactions.

This is correct if the party really owns 51% of the stake. But if 51% of the delegates are evil and just got those 51% because they campaigned successfully for it then those delegates will loose their 51% again.

Quote
I would like to add that
that means you agree with my reasoning? It is really very basic. There is just no one explicitly agreeing or disagreeing since the OP... Anyone that agrees or disagrees with this https://bitsharestalk.org/index.php?topic=5330.msg73668#msg73668 ?
« Last Edit: July 08, 2014, 03:27:12 pm by delulo »

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
Currently group owning 51% of the stake controls all 101 delegates.
They can:
Ignore transactions. Including banning single address from sending/receiving.
Rise transaction fees at will.
Have free transactions.

Offline bytemaster

BM said double spending only is a problem when it can be done anonymously (https://soundcloud.com/beyond-bitcoin-hangouts/hangout-6-28-2014-dan-larimer - 12:34) --> delegates as well as for mining pool operators are not anonymous(as least not in the sense that is relevant here) -> my assumption (since the OP) is that the only way to double spend is to mine / forge blocks in secret (assumption: miner/forger has more than 50%) and publish the then longer alternative chain to everybody later. While mining/forging in disguise the mining pool as well as the delegate can not collect the block reward --> miners will run away from the pool and the delegate will loose his votes --> reason why reversing the tx ledger with respect to a tx that lies back a while is practically not possible with POW / POS in so far the attacker doesnt have more than 50% himself as opposed to the assumed delegated voting power (mining pool operators and delegates).

Does this reasoning have any flaws? I think it is not difficult to answer. Just need someone else to think through it...

I would like to add that double spending is still a problem if it is EASY because then the cost of attempting many times can be low and the potential of getting away with many small anonymous transactions may be higher.   However, once you raise the threshold of attack to something that only someone who is already wealthy with a public reputation can pull off, then it is no longer a real concern because those that could do it have more to lose and are certain of getting caught.

When attempting to enforce "laws" all that matters is certainty of getting caught, not the severity of the punishment.   
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
BM said double spending only is a problem when it can be done anonymously (https://soundcloud.com/beyond-bitcoin-hangouts/hangout-6-28-2014-dan-larimer - 12:34) --> delegates as well as for mining pool operators are not anonymous(as least not in the sense that is relevant here) -> my assumption (since the OP) is that the only way to double spend is to mine / forge blocks in secret (assumption: miner/forger has more than 50%) and publish the then longer alternative chain to everybody later. While mining/forging in disguise the mining pool as well as the delegate can not collect the block reward --> miners will run away from the pool and the delegate will loose his votes --> reason why reversing the tx ledger with respect to a tx that lies back a while is practically not possible with POW / POS in so far the attacker doesnt have more than 50% himself as opposed to the assumed delegated voting power (mining pool operators and delegates).

Does this reasoning have any flaws? I think it is not difficult to answer. Just need someone else to think through it...
 

merockstar

  • Guest
End The Fed Organizer in Germany Gets Car Fire Bombed:
https://www.youtube.com/watch?v=DucAAAA9yUw

I have seen that and I'm not disagreeing with you that "dissidents" to the status quo wouldn't be targeted; however, it's my opinion that delegate power is less influential than outward political opposition.  Delegates do have power but their power can *easily* stripped...in 24hrs or less if I'm not mistaken.  This means that targeting a delegate holds little value because another delegate would immediately replace them.

Ultimately, delegates equate to trust.  That trust could even be placed in politically neutral environments if need be.. or in international waters.  I wouldn't mind delegating from the open seas like Pirate Radio (their demise being that they weren't in international waters):
8)

idk i think this could be a legitimate concern. Suppose even just half of the delegates have actions taken against them. It would make it so that people would be scared to run a node. Only the most balls-havinest would step up.

Offline yellowecho

End The Fed Organizer in Germany Gets Car Fire Bombed:
https://www.youtube.com/watch?v=DucAAAA9yUw

I have seen that and I'm not disagreeing with you that "dissidents" to the status quo wouldn't be targeted; however, it's my opinion that delegate power is less influential than outward political opposition.  Delegates do have power but their power can *easily* stripped...in 24hrs or less if I'm not mistaken.  This means that targeting a delegate holds little value because another delegate would immediately replace them.

Ultimately, delegates equate to trust.  That trust could even be placed in politically neutral environments if need be.. or in international waters.  I wouldn't mind delegating from the open seas like Pirate Radio (their demise being that they weren't in international waters):
8)
« Last Edit: June 28, 2014, 06:34:29 pm by yellowecho »
696c6f766562726f776e696573


Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
worst case scenario, couldn't an anonymous pseudonym gain people's trust?
It might be needed as in a lot of countries you might not be permitted to run a delegate (or profit from one).

Offline santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
Can anybody answer the questions below?
Now is that
Quote
...the reason that this [a double spend] practically isn't possible with DPOS is that "When 51% of the delegates mine a hidden chain they can't mine the currently longest chain. This would [go public and] lead to them being 'unvoted'"?
true? And is there any difference in this respect compared to POW? I guess that all miner would leave a pool with 51% or more if the pool operator would begin to mine a hidden chain because then the pool couldnt mine the currenly longest chain anymore and make a profit. Correct?

merockstar

  • Guest
worst case scenario, couldn't an anonymous pseudonym gain people's trust?


Offline onceuponatime

Delegates have to have support from shareholders, are likely very public and trusted.
This is interesting- does that mean you foresee the best, most trusted delegates being public rather than anonymous entities?


Yes

I have been thinking about this since bitsapphire posted in the most recent test net thread.  What is the balance we as a community want to strike between public entities like bitsapphire and private individuals.  Is anyone else concerned about the p2b bringing pressure to bear against legitimate businesses?  I realize that bitsapphire is not US based, and that helps.  I am just concerned that most corporations would not have the willpower to do what lavabit did.

I share your concern that public delegates in some jurisdictions will be very vulnerable to hostile regulatory forces. "Cease and desist" orders anyone?

Cease and desist for what exactly?  And if that occurred, wouldn't the system almost automatically vote against that delegate thus removing any issues with the network?

The current world monetary system, as becomes increasingly apparent, controls political systems and not the other way around. Bitshares is a threat to the status quo monetary systems - and politicians will be pressured by banking lobbyists to put a stop to Bitshares in any way possible. Public delegates, in some or many jurisdictions, will be vulnerable to regulatory control. (or assasination  :) )

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Except where silly little laws like the patriot act explicitly prevent the organization from warning users.   There could possibly be hope in a dead man's switch whereby every day you log in and post a message such as "I have not been contacted by any government agency seeking information today"  assuming you trust the poster not to give up their login info for at least 24 hours.

Sent from my SCH-I535 using Tapatalk

Warrant canaries will still get you in trouble... however:

http://en.wikipedia.org/wiki/Ring_signature

Actually IDK how that would solve the problem since it doesn't reveal who... but you'd bet all the rest of the delegates would immediately publish a notice like "it wasn't me!" and give the remaining delegate a chance to not do anything in a more convincing way
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 toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Except where silly little laws like the patriot act explicitly prevent the organization from warning users.   There could possibly be hope in a dead man's switch whereby every day you log in and post a message such as "I have not been contacted by any government agency seeking information today"  assuming you trust the poster not to give up their login info for at least 24 hours.

Sent from my SCH-I535 using Tapatalk

Warrant canaries will still get you in trouble... however:

http://en.wikipedia.org/wiki/Ring_signature
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 puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
Except where silly little laws like the patriot act explicitly prevent the organization from warning users.   There could possibly be hope in a dead man's switch whereby every day you log in and post a message such as "I have not been contacted by any government agency seeking information today"  assuming you trust the poster not to give up their login info for at least 24 hours.

Sent from my SCH-I535 using Tapatalk

https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline yellowecho

Delegates have to have support from shareholders, are likely very public and trusted.
This is interesting- does that mean you foresee the best, most trusted delegates being public rather than anonymous entities?


Yes

I have been thinking about this since bitsapphire posted in the most recent test net thread.  What is the balance we as a community want to strike between public entities like bitsapphire and private individuals.  Is anyone else concerned about the p2b bringing pressure to bear against legitimate businesses?  I realize that bitsapphire is not US based, and that helps.  I am just concerned that most corporations would not have the willpower to do what lavabit did.

I share your concern that public delegates in some jurisdictions will be very vulnerable to hostile regulatory forces. "Cease and desist" orders anyone?

Cease and desist for what exactly?  And if that occurred, wouldn't the system almost automatically vote against that delegate thus removing any issues with the network?
696c6f766562726f776e696573

Offline onceuponatime

Delegates have to have support from shareholders, are likely very public and trusted.
This is interesting- does that mean you foresee the best, most trusted delegates being public rather than anonymous entities?

Yes

I have been thinking about this since bitsapphire posted in the most recent test net thread.  What is the balance we as a community want to strike between public entities like bitsapphire and private individuals.  Is anyone else concerned about the p2b bringing pressure to bear against legitimate businesses?  I realize that bitsapphire is not US based, and that helps.  I am just concerned that most corporations would not have the willpower to do what lavabit did.

I share your concern that public delegates in some jurisdictions will be very vulnerable to hostile regulatory forces. "Cease and desist" orders anyone?

Offline yellowecho

Delegates have to have support from shareholders, are likely very public and trusted.
This is interesting- does that mean you foresee the best, most trusted delegates being public rather than anonymous entities?

Yes

I'm excited to hear this as it'll be a very refreshing shift from the current crypto-paradigm!  How much of its design concept was inspired by a representative democracy-style voting system similar to the USHOR and how do we translate that type of system to our Chinese friends?  :)
696c6f766562726f776e696573

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
Delegates have to have support from shareholders, are likely very public and trusted.
This is interesting- does that mean you foresee the best, most trusted delegates being public rather than anonymous entities?

Yes

I have been thinking about this since bitsapphire posted in the most recent test net thread.  What is the balance we as a community want to strike between public entities like bitsapphire and private individuals.  Is anyone else concerned about the p2b bringing pressure to bear against legitimate businesses?  I realize that bitsapphire is not US based, and that helps.  I am just concerned that most corporations would not have the willpower to do what lavabit did.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline bytemaster

Delegates have to have support from shareholders, are likely very public and trusted.
This is interesting- does that mean you foresee the best, most trusted delegates being public rather than anonymous entities?

Yes
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 yellowecho

Delegates have to have support from shareholders, are likely very public and trusted.
This is interesting- does that mean you foresee the best, most trusted delegates being public rather than anonymous entities?
696c6f766562726f776e696573

Offline santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
The primary difference is that mining power cannot be taken away from those with the actual hardware and that you can purchase the hardware in secret.

Delegates have to have support from shareholders, are likely very public and trusted. 

You only have to worry about a double spend when doing business with a delegate or someone in partnership with the delegate.

If it is only one delegate it wouldn't matter much though i guess.

Now is that
Quote
So the reason that this [a double spend] practically isn't possible with DPOS is that "When 51% of the delegates mine a hidden chain they can't mine the currently longest chain. This would [go public and] lead to them being 'unvoted'"?
true? And is there any difference in this respect compared to POW? I guess that this public exposure is the reason that double spending is hardly possible for delegates/mining pool operators...

Offline bytemaster

The primary difference is that mining power cannot be taken away from those with the actual hardware and that you can purchase the hardware in secret.

Delegates have to have support from shareholders, are likely very public and trusted. 

You only have to worry about a double spend when doing business with a delegate or someone in partnership with the delegate.
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
So the reason that this practically isn't possible with DPOS is that "When 51% of the delegates mine a hidden chain they can't mine the currently longest chain. This would lead to them being 'unvoted'"?

I guess the same applies to POW. Could the Ghash operator double spend without all his miners running away from his pool because of the same reason quoted above? I guess no.

Any difference therefore in what miners/mining pool operators and delegates can do harmful to the network?

Offline bytemaster

Double spend requires anonymity and if 50% of shares are owned by one person you can bet your bottom bitshare they are not anonymous because the users if the network would simply hard fork them out long  before a double spend.

Double spending is not a problem if you wait for 30 minutes which most will do for large trx.   


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 santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
DOPS: Couldn't an attacker that controls 51% of a DPOS network mine blocks in disguise and this way double spend coins when his hidden chain has caught up?
Contra argument: When 51% of the delegates mine a hidden chain they can't mine the currently longest chain. This would lead to them being "unvoted" (based choice of words for approval voting i can think of).

POW: If the Ghash mining pool operator begins to mine a hidden chain he couldn't mine for profit in the mean time and all miners with Ghash would jump off the Ghash pool.
Correct?

Is mining a hidden chain the only way to double spend?