Author

Topic: How calculate best blockchain when fork ? (Read 656 times)

legendary
Activity: 1918
Merit: 1190
January 22, 2014, 03:07:39 PM
#1
When blockchain fork. Bitcoin network use and switch blockchain with more number block.


I have probleme with at.

I have read source code .
I have not find compare by weight blockchain. The client bitcoin use only number of block .

I have find only one security and warning :

Warning if fork is more 7 .
And drop fork if chain is more 72

What happens if for some reason or other the bitcoin to fork over 72 blocks
1.) Changing versions
2.) Cut fiber transatlantique
3.) BIG DDOS for facility point exposed after ?
3.) What ever other.


One day is possible difficulty very big decreasy for long periode.
Decrease is cap a factor 4 is perfectly

Block      0+0   ( decrease regular /4 )
Block 2016+0   ( decrease regular /4 ) ( hashrate begin stable last block )
Bad guy and pool ( 25% hashrate) stop mining
Block 4032+0   ( decrease fake regular /2 by sort bad guy or pools ) ( /32 for all )
Block 4032+2016-30 ( stability is stable)


T 0 minutes
Begin attack now with no 25% hashrate ( 35% )  is not use hashrate
Bad guys(pools) make block now with wrong timestamp(nonce) and not send now ( for continue décrease difficulty for make last block before new difficulty)  ( 1 KHS is suffisant for this step )
T 0.01 seconds

Continue attack now with no 25% hashrate ( 40%).  Attack have 30 block already make
Attack as just need make 40 block and network bitcoin need make 70 block
Bas guy as 40*70/40  70% of hashrate

Bad guys(pools) continue make block now with wrong timestamp(nonce) for catch are late legitime blockchain



Sucess or not Sucess ? just need beetween 20% and 30%

Bad guys send all block and win ( 70*25 BTC ) and have discarded many transaction


Why can'not compute number hash théorique for find each block .
One block difficulty 100 as not same block difficulty 100000.

For switch block other blockchain , I have need only compare is fork hash > current  hash

I have not fully satisfaction ordinality blocs in blockchain.

The limite 70 is good limit for prevent DDOS attack and skip download block need is not good for secure blockchain





















Le serait t'il pas mieux de prendre l'effort pour faire la chaîne dans tous les cas.
Au lieu de se contenter de la cardinalité du block ?
Jump to: