-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
calculate 51% attack cost #1022
Comments
The problem with this is it requires making a bunch of assumptions.
|
|
Electricity cost could be added in for the PoW. Electricity cost is a variable. Market depth, which there likely is not even enough of, will be a challenge. To start, Id be curious to iterate and just see the cost is to attack at the current market price. A variable to consider is asset value of the coins someone would have to hold at current market price vs the cost to attack if someone had to buy the coins on the open market today. Could then factor in all the coins available on the books and see where that gets us. Could do a best estimate from there (maybe) by looking at % of coins available on books, and % price increase. I can likely get the market depth information built. Percent of coins being staked will need to be included in the equation. |
Including these related linked here. They have not been verified accurate. https://www.reddit.com/r/decred/comments/8o0vuf/estimating_the_costs_to_51_attack_the_decred/ https://www.reddit.com/r/decred/comments/8mvj8j/decred_question_are_we_double_spend_proof/ |
We can assume that the ticket price stays constant, which will yield cost curve like this (PCA -> cost of attack). The temptation is to take the minimum of that curve, and call it the attack cost, but the minimum occurs in precisely the region where we have the least confidence because of the complicated economics mentioned above. Another approach would be to just quote the cost at zero stake, but that would be quoting a cost for an impossible attack because at low stake, it would take literally years to mine and validate a block on a private chain. The attacker must control an appreciable portion of the total stake, but exactly what portion do you pick. |
A few ideas to calculate cost of attack. Calculating cost of acquiring hashpower:
Calculating Cost of Acquiring stake
|
This issue was referenced in a recent discussion: https://matrix.to/#/!OfChXgczrIlpEZSFAv:decred.org/$15629762372052350sNIgB:matrix.org Reason for reference: There seems to be a concept tool available built by Raedah Group. Raedah mentioned: |
This can be put anywhere on dcrdata. Its a frequently discussed number, and dcrdata is the best place to be able to reference the equation as well as get the current calculated result.
The text was updated successfully, but these errors were encountered: