Google Translated to EnglishJuly 4 bitcoin block chain bifurcation Comments
I think Bitcoin 2015-07-04 16:09 Posted in Bitcoin 1 139
Today Bitcoin block start diverging from 363,731 Beijing time, to 363,737 returned to normal, the bifurcation five blocks, which lasted one hour or so, most people do not know, and thus did not cause a big impact. Bifurcation 1 block is a normal thing, on a daily basis. But bifurcation five blocks on is not normal, it is necessary to analyze them, in order to avoid this from happening again.
1, mainly due to: block version upgrade from 2 to 3
Today happens to be the block version upgrade from 2 to 3 times, but this time is not scheduled in advance, but is automatically controlled by the program. Upgrade Rules: recent 1000 version blocks 950 blocks of 3, then refused to release the blocks 2 to 3 whole blocks chain upgrading.
Version 2 and version 3 of the difference between: BIP66, namely defining signature DER encoded, no longer accept derive DER encoded, DER accept only standard coding; BIP66 into force method: a recent version 750 block of 3 1 000 blocks, the rules are in effect;
Thus, the upgrade is upgraded in three stages:
(1) When the [0-75%) of the blocks with a version 3, the beginning is compatible with all DER encoding formats, as well as version 2 and 3;
(2) When the> = 75% of the blocks with a version 3, then began to enable BIP66, but is also compatible with version 2;
(3) When the> = 95% of the blocks with a version 3, version 2 is no longer compatible, allowing only 3 version exists.
BTC Nuggets have not been upgraded bitcoind, July 1 and 2, it dug two blocks, then it should not reach the 95% ratio.
9:56 GMT today BTC Nuggets out of the block a version 2 363 726, causing bifurcation, but is bifurcated handling mechanism program resolved.
10:09 BTC Nuggets then a block of 363 731 version 2, which is a fish pond and failed to properly handle ant pool, causing split ends.
2, after the mining bifurcation
After bifurcation within one hour, followed by a fish pond and ants pool of V2 block BTC Nuggets continue dug five blocks, Slush, BitFury and another unknown mineral pool in the main chain dug up four blocks, No other mineral pools dug blocks. Seeing a growing bifurcation, pond and pool ant to BitFury this chain dig, dig the branched five blocks aside, ants dig two pools and BitFury, currency dig a network so that the network is restored normal.
Ponds and pools where ants at BTC Nuggets version 2 block mining, this is confusing. I consulted the fish god, God said that the ants fish tank to the distribution network central node (Note: 5 large ore mine pool after pool conference jointly established a block distribution network designed to block rapid access to the latest, in order to accelerate the mining machine Task Update, improve mining efficiency) Error submitted BTC Nuggets of 363,731 blocks, pond and pool without ant blocks verification in the 363,731 block dug five blocks in a row.
Then I contacted pool 潘志彪 ant, ant pool Panzhi Biao confirmed errors are caused, ants have a node to report the BTC Nuggets version 2 blocks, so that the pond and pool ants are in the wrong block mining.
In short ponds and pools ant task generation process is not to verify the legitimacy of the blocks, resulting in this big fork. Bitcoin bifurcation mechanism can not handle, can only be resolved through a fallback, pond and pool ant rapid rollback, go to the main chain of mining, solved a big problem bifurcation.
3. Summary
Suggestions: (1) bifurcation is not terrible, the most important fast processing (2) Block distribution network is a good thing, but the code to scrutiny (3) the mine pool to make money at the same time, we want more for bitcoin block chain security reasons, do long-term business.