Daily Anarchist
|
|
March 07, 2012, 08:28:22 PM |
|
All of this technical stuff is way over my head, but I'd like to share my ignorant thoughts anyways.
It seems to me that 8 days is not enough time for people to really do their research on the matter. If I were a miner, or the operator of a mining pool, I would want to know EXACTLY what I'm doing before I made any serious changes.
Secondly, even if 8 days is enough time there is something unsettling about this. What you essentially have is a few highly skilled coders in the know. If they can dupe the mining community into something, anything, nefarious it could destroy Bitcoin. Obviously, I'm not saying that they will, but posit this:
Imagine highly skilled feds, or any other criminal organization, infiltrated the upper echelon of Bitcoin coders. They spent long hours making it better and building a reputation for themselves, slowly but surely dominating the entire field of coders. Then, one day, it's time to destroy Bitcoin and they issue some sort of scenario similar to the one we're dealing with now, for the mining community to go to a new blockchain or something, and the mining community takes their word for it, and BAM, Bitcoin is hashed forever.
I understand this is conspiracy theory stuff, but can anyone unsettle my fears about this scenario?
Simple. As long as the process is completely transparent and open there's really nothing anyone could "sneak" past everyone else in order to cause damage. And if you checked the OP, it pretty much doesn't get any more transparent then how they're going about with this fix. I mean you can even read the mailing list how the devs formulated the fix.. Two more questions then: Is 8 days really enough time to vet a potentially nefarious plan? What if a few people DO see something nefarious in it, will they be listened to, or ignored? Also (all?) of the coders are known by real name. If they f*ckup bitcoin, they will be known by everyone as the person who screwed things up. That would be the same as destroying many peoples money, and time invested and many companies and that is not like something you would like to do, ofcourse there is allways the possibility that they are threatened by jail or whatever unless they do this. But in this case its far from very likely. I don't see very much as unlikely when you're talking about challenging the global banking cartel.
|
|
|
|
casascius
Mike Caldwell
VIP
Legendary
Offline
Activity: 1386
Merit: 1140
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
|
|
March 07, 2012, 11:55:12 PM |
|
A technical question - why the patch does not simply discard the block with the duplicate hash, regardless of its contents?
My guess is because of duplicate transactions already on the block chain. Discarding the old blocks would discard half the block chain and half of the bitcoins in existence with it.
|
Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable. I never believe them. If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins. I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion. Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice. Don't keep coins online. Use paper or hardware wallets instead.
|
|
|
|
Pieter Wuille (OP)
Legendary
Offline
Activity: 1072
Merit: 1181
|
|
March 08, 2012, 02:03:03 AM Last edit: March 08, 2012, 02:46:25 AM by Pieter Wuille |
|
A technical question - why the patch does not simply discard the block with the duplicate hash, regardless of its contents?
That is basically what happens: a block with a duplicate transaction will become invalid, and thus will be ignored. EDIT: obviously, this does not happen to blocks with existing duplicate transactions, as that would require invalidating the entire chain since then. @casascius: you are right that technically a specification is needed for what to do with duplicate transactions in blocks before the switchover point. However, there is no formal specification of bitcoin's network rules currently either (only the code...), and the BIP only specifies the changes to the current rules. The current rules are: the transaction index is overwritten for a duplicate transaction, and a reorganisation removes the relevant transaction index entries.
|
I do Bitcoin stuff.
|
|
|
Hawkix
|
|
March 08, 2012, 06:03:09 AM |
|
A technical question - why the patch does not simply discard the block with the duplicate hash, regardless of its contents?
That is basically what happens: a block with a duplicate transaction will become invalid, and thus will be ignored. EDIT: obviously, this does not happen to blocks with existing duplicate transactions, as that would require invalidating the entire chain since then. I understand the "IF NEWER THAN SOMEDATE" in code, this is to prevent invalidating the entire chain since when first duplicate transaction appeared. But, with this date switch implemented, why to check for spent/unspent transactions, instead of simply comparing the hash against all previous (just for blocks after the switch)?
|
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1026
|
|
March 08, 2012, 06:29:02 AM |
|
A technical question - why the patch does not simply discard the block with the duplicate hash, regardless of its contents?
That is basically what happens: a block with a duplicate transaction will become invalid, and thus will be ignored. EDIT: obviously, this does not happen to blocks with existing duplicate transactions, as that would require invalidating the entire chain since then. I understand the "IF NEWER THAN SOMEDATE" in code, this is to prevent invalidating the entire chain since when first duplicate transaction appeared. But, with this date switch implemented, why to check for spent/unspent transactions, instead of simply comparing the hash against all previous (just for blocks after the switch)? It has been known for quite a while that a new coinbase with the same hash as an old coinbase was possible and not handled at all. But since they are referenced by their (identical) hashes, there was no way to specify which one you meant to redeem, so redeeming one would redeem all of them. This is not in any way a security problem, and can only be used to lose money. There are faster and easier ways to lose money. What was only recently discovered was that if you spend a coinbase, and then generate another identical one, you can then spend the second one too. Spending a transaction doesn't mark that hash invalid for all time, it just removes it from the list of unspent transactions. Another one can show up and be accepted. This is, again, not a security problem, and doesn't, by itself, make it possible for people to lose coins unintentionally. The list of all used transactions isn't readily available, and once pruning shows up, it might not even exist at all. So, it only makes sense to compare the new coinbase to the list of transaction hashes that are unspent at the time, which aren't subject to pruning. This also preserves the old behavior of being able to generate and spend multiple identical coinbases, so long as they are spent before the next one shows up. And finally, it gives us a really short and simple patch, that anyone can read and understand without having to worry that a new side effect has snuck in.
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
Hawkix
|
|
March 08, 2012, 06:43:56 AM |
|
Nice explained. Thanks!
|
|
|
|
eleuthria
Legendary
Offline
Activity: 1750
Merit: 1007
|
|
March 08, 2012, 02:52:13 PM |
|
This thread really needs to be more visible: Perhaps a giant bold red link at the top of the forum?
BTC Guild will be pushing the patch tomorrow, and my understanding is both Slush & Deepbit will be shortly as well, which means the chain will have majority support. That doesn't solve the problem of the other 30-40% of bitcoin miners that may not even know about the issue due to lack of visibility.
|
RIP BTC Guild, April 2011 - June 2015
|
|
|
Pieter Wuille (OP)
Legendary
Offline
Activity: 1072
Merit: 1181
|
|
March 08, 2012, 03:19:18 PM |
|
BTC Guild will be pushing the patch tomorrow, and my understanding is both Slush & Deepbit will be shortly as well, which means the chain will have majority support. That doesn't solve the problem of the other 30-40% of bitcoin miners that may not even know about the issue due to lack of visibility.
I have updated the second post with a list of pools from whom I have received confirmation they will update. I will keep that list up-to-date as I receive more confirmations.
|
I do Bitcoin stuff.
|
|
|
hazek
Legendary
Offline
Activity: 1078
Merit: 1003
|
|
March 08, 2012, 03:35:47 PM |
|
Maybe the person who owns http://bitcoinwatch.com/ could post this thread in the "Latest news" section of their website?
|
My personality type: INTJ - please forgive my weaknesses (Not naturally in tune with others feelings; may be insensitive at times, tend to respond to conflict with logic and reason, tend to believe I'm always right)
If however you enjoyed my post: 15j781DjuJeVsZgYbDVt2NZsGrWKRWFHpp
|
|
|
cypherdoc
Legendary
Offline
Activity: 1764
Merit: 1002
|
|
March 08, 2012, 03:37:10 PM |
|
IMO, you haven't made clear whether or not ALL users, or just miners, NEED to upgrade to 0.6 to facilitate/support this transition!
edit: by "support" you mean upgrade to 0.6?
|
|
|
|
Pieter Wuille (OP)
Legendary
Offline
Activity: 1072
Merit: 1181
|
|
March 08, 2012, 03:52:42 PM |
|
IMO, you haven't made clear whether or not all users NEED to upgrade to 0.6 to facilitate/support this transition!
edit: by "support" you mean upgrade to 0.6?
Support was meant in a general sense: such a network rule change can only happen when the community agrees to it. If you are a miner or pool operator: yes, please upgrade quickly, as the higher the percentage enforcing the new rules, the less chance for (temporary and short) block chain splits one could try to create. Apart from that, if all goes well, eventually everyone will upgrade, but as a normal user, there is relatively little risk in keeping an old version. The more people running a version that enforces the new rule, the smaller the effects of an attacker can be. 0.6.0 will still take some time to be released, but there will be a bugfix-only 0.5.3 soon.
|
I do Bitcoin stuff.
|
|
|
cypherdoc
Legendary
Offline
Activity: 1764
Merit: 1002
|
|
March 08, 2012, 03:59:28 PM |
|
IMO, you haven't made clear whether or not all users NEED to upgrade to 0.6 to facilitate/support this transition!
edit: by "support" you mean upgrade to 0.6?
Support was meant in a general sense: such a network rule change can only happen when the community agrees to it. If you are a miner or pool operator: yes, please upgrade quickly, as the higher the percentage enforcing the new rules, the less chance for (temporary and short) block chain splits one could try to create. Apart from that, if all goes well, eventually everyone will upgrade, but as a normal user, there is relatively little risk in keeping an old version. The more people running a version that enforces the new rule, the smaller the effects of an attacker can be. 0.6.0 will still take some time to be released, but there will be a bugfix-only 0.5.3 soon. thats a little better. let me repeat and if i'm wrong please correct: Anyone who mines needs to upgrade to 0.5.3 as soon as it comes out to minimize the chances of a blockchain fork.i'm not trolling; seriously it needs to be spelled out.
|
|
|
|
Hawkix
|
|
March 08, 2012, 04:21:22 PM |
|
Is there an official Bitcoin.org Twitter account? This would be great place to post notifications, warning, new version release, and so on.
|
|
|
|
finway
|
|
March 08, 2012, 04:47:07 PM |
|
Glad to see you guys killing this annoying bug.
|
|
|
|
Wandering Albatross
Member
Offline
Activity: 70
Merit: 10
|
|
March 08, 2012, 05:29:42 PM |
|
All of this technical stuff is way over my head, but I'd like to share my ignorant thoughts anyways.
It seems to me that 8 days is not enough time for people to really do their research on the matter. If I were a miner, or the operator of a mining pool, I would want to know EXACTLY what I'm doing before I made any serious changes.
Secondly, even if 8 days is enough time there is something unsettling about this. What you essentially have is a few highly skilled coders in the know. If they can dupe the mining community into something, anything, nefarious it could destroy Bitcoin. Obviously, I'm not saying that they will, but posit this:
Imagine highly skilled feds, or any other criminal organization, infiltrated the upper echelon of Bitcoin coders. They spent long hours making it better and building a reputation for themselves, slowly but surely dominating the entire field of coders. Then, one day, it's time to destroy Bitcoin and they issue some sort of scenario similar to the one we're dealing with now, for the mining community to go to a new blockchain or something, and the mining community takes their word for it, and BAM, Bitcoin is hashed forever.
I understand this is conspiracy theory stuff, but can anyone unsettle my fears about this scenario?
You might as well throw out the label "conspiracy theory". History, long past, and recent, has shown that discerning minds often reveal the truths behind events. So don't let lesser minds diminish accurate perception. What inspired BTC? Bored geeks? Current world events? Recall the debian ssl "issue". It can happen here too. What did the spooks talk about with Andresen when he went to visit them? Oh and have a look at github notification about recent security breach. Isn't bitcoin code stored there? The question is not if but when. The spooks always have a control point. They don't rest until they do and even then they hedge because that's the game.
|
BTC: 1JgPAC8RVeh7RXqzmeL8xt3fvYahRXL3fP
|
|
|
Wandering Albatross
Member
Offline
Activity: 70
Merit: 10
|
|
March 08, 2012, 05:40:10 PM |
|
Did you all choose sf.net for mailing list because no one likes it? I'm not clear on the technical details of this but from a higher-level view it seems that the devs should, if not already, think about how to push updates out. i.e. decentralize the software
I'm not sure how to do what I'm getting at but having everyone update, in the way that's needed to implement this change, isn't going to scale into the future. Has this been discussed already? Some kind of enforcement that would prevent unsupported software access to the network? Am I making any sense at all?
I realize pushing updates out automatically would be unpopular so another model would be needed. Not sure what model would work.
|
BTC: 1JgPAC8RVeh7RXqzmeL8xt3fvYahRXL3fP
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1026
|
|
March 08, 2012, 06:06:51 PM |
|
Did you all choose sf.net for mailing list because no one likes it? I'm not clear on the technical details of this but from a higher-level view it seems that the devs should, if not already, think about how to push updates out. i.e. decentralize the software
I'm not sure how to do what I'm getting at but having everyone update, in the way that's needed to implement this change, isn't going to scale into the future. Has this been discussed already? Some kind of enforcement that would prevent unsupported software access to the network? Am I making any sense at all?
I realize pushing updates out automatically would be unpopular so another model would be needed. Not sure what model would work.
The people that need to update to make the change stick network-wide are already aware of this, and have committed to updating their nodes. See the second post. The way this has been handled is appropriate for the problem at hand and the network of today. When either of those are different, different methods will be (have been) used to update things. Getting more than half of the hashing power onboard is all that is needed for this fix, and that is already done. The fix does open a tiny sliver of a window of vulnerability where people who are doing things that they know they should not be doing might be at a slight risk if an attacker expends great effort for no gain. The people that want to eliminate that tiny risk and keep being irresponsible have the option to upgrade. Also, from your other (crazier) post, github has a copy of the bitcoin source, but the developers collectively have the bitcoin source.
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
cypherdoc
Legendary
Offline
Activity: 1764
Merit: 1002
|
|
March 08, 2012, 06:12:09 PM |
|
+1 LOL!
|
|
|
|
ribuck
Donator
Hero Member
Offline
Activity: 826
Merit: 1060
|
|
March 08, 2012, 06:30:45 PM |
|
It seems to me that 8 days is not enough time ...
Anyone who can't satisfy themselves about this change in an hour or two isn't trying.
|
|
|
|
|