[BTC-dev] (EXPERIMENTAL) Full Orphanage Thermonuke.

Stanislav Datskovskiy stas at loper-os.org
Mon May 4 21:28:54 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

********************************
*        EXTREME DANGER:       *
*     ALTERS SYNC MECHANISM    *
********************************

          ************
         **************
        ****************
       ****   ****   ****
       ***     ***    ***
       ***     ***    ***
        ***    * *    **
        ******** ********
        *******   ******
            ***   **
          *  ******* **
          ** * * * * *
    **     *         *     ***
   ****    * *     * *    ****
   ****    *** * * **     ***
    ****    *********   ******
   *******    *****    *******
   *********        ****** **
    **   ******   ******
           **  *******       **
   **       *******         ***
  ****   ********  ************
  ************    ************
   ********             *******
  ******                   ****
   ***                      ***

********************************

The patch below shoots the entire 'orphan' (bastard) block storage
mechanism in the head. To force sync, we simply recurse every time
such a block is encountered, asking for a parcel of blocks preceding
it, down to the current best-known.

Bastard blocks themselves are discarded.

At the time of writing, the machine running this test - patched from

(0.5.3.1-RELEASE SHA256,
 5c41fe6cf286770a25bf61ab0c35747d0c760f8656754296d2e1d3c4274b5686)

has crossed blockheight 100,000 and continues to sync.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBCgAGBQJVR+IvAAoJELmCKKABq//HnKsH/2y7sFBTqkUrv3JnhBtNlJ+i
vGZsQI1jJwAJXTEfO3pG9+ej9APXbHDvBClctA70baS3Ocp+l7p6eluGuMYQTXX7
96hfn3uAY8Y82lf9pxtJ3Gzs+QSi8fKT6CfrdHvP1nhPLOCNHwCWkqhLAq6kshzc
bhPZawa+vO5upCSb/OKP1AXdKa95fA3+IayXMk+041GrEyTWCfzZraUhX7Fzs7Rw
L6bMVVwQQS11O3JvH3/K2kNvZudWT4M7WWnaBRTOOeH7YmIRPTUjxGbjAv15APdz
2HfV9+unj3DB8xVpYtOdGcPCYZZ8V3045fFpw6CQWb8+oi7noIKa05X4r9WSJM8=
=8RAy
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asciilifeform_orphanage_thermonuke.patch
Type: text/x-patch
Size: 4007 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150504/asciilifeform_orphanage_thermonuke_2d219fdd1a0da960be38797566e9c0820df11ce6.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asciilifeform_orphanage_thermonuke.patch.sig
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150504/asciilifeform_orphanage_thermonuke_6f320afb2423a2892d89e855829e3915c8b7a170.patch.sig>


More information about the BTC-dev mailing list