Bitcoin Forum
August 31, 2024, 02:06:24 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: genesis Block Steal my Brain.  (Read 755 times)
eysho (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
September 05, 2014, 03:22:10 PM
Last edit: September 05, 2014, 03:32:20 PM by eysho
 #1

Code:
2014-09-05 14:51:06 Nichts version v0.8.7.2-unk-beta (2014-09-05 05:40:45 +0200)
2014-09-05 14:51:06 Using OpenSSL version OpenSSL 1.0.1f 6 Jan 2014
2014-09-05 14:51:06 Default data directory /var/www/vhosts/.info/.nichts
2014-09-05 14:51:06 Using data directory /var/www/vhosts/.info/.nichts/testnet3
2014-09-05 14:51:06 Using at most 125 connections (1024 file descriptors available)
2014-09-05 14:51:06 Using 12 threads for script verification
2014-09-05 14:51:06 init message: Verifying wallet...
2014-09-05 14:51:06 dbenv.open LogDir=/var/www/vhosts/.info/.nichts/testnet3/database ErrorFile=/var/www/vhosts/.info/.nichts/testnet3/db.log
2014-09-05 14:51:06 Bound to [::]:50333
2014-09-05 14:51:06 Bound to 0.0.0.0:50333
2014-09-05 14:51:06 init message: Loading block index...
2014-09-05 14:51:06 Opening LevelDB in /var/www/vhosts/.info/.nichts/testnet3/blocks/index
2014-09-05 14:51:06 Opened LevelDB successfully
2014-09-05 14:51:06 Opening LevelDB in /var/www/vhosts/.info/.nichts/testnet3/chainstate
2014-09-05 14:51:06 Opened LevelDB successfully
2014-09-05 14:51:06 LoadBlockIndexDB(): last block file = 0
2014-09-05 14:51:06 LoadBlockIndexDB(): transaction index disabled
2014-09-05 14:51:06 Initializing databases...
2014-09-05 14:51:06 987b2656dcfc4de62e2eef94e8675904a50bc619c6e614489ac5cbfcf2391e0d
2014-09-05 14:51:06 f5ae71e26c74beacc88382716aced69cddf3dffff24f384e1808905e0188f68f
2014-09-05 14:51:06 36a9e41063f3e71466299d0ed9e8193c1c802a88b286016fa4a4d0c3bc384a5c
2014-09-05 14:51:06 Searching for genesis block...
2014-09-05 14:51:06 nonce 00000000: hash = ca4801411b4654dc88c54c1a902794b3066029ac8d6c17edac8366c4150a33e1 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:09 nonce 00001000: hash = a5c168a7a0663dc0597f28f1bce83053bbe30c4b7063ecfca1bbc7c231f7fe81 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:13 nonce 00002000: hash = 293851eee17d774cc8d36d4b12b9f0758b96e23e53787ed4a5b12ff8082b0b29 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:16 nonce 00003000: hash = 14150d50780c663528eaf66d769d2d112c5a8debec27ef9a93cf3d34ea85bfc0 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:20 nonce 00004000: hash = a6b87df74587cea077763d4090e6a5d42a3765d3fa8abbc0acc4cd1e1c04b6f5 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:23 nonce 00005000: hash = 46f0f918dd946adf6a3cc1014b93ca198f0811398cec02b247165b1789226786 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:27 nonce 00006000: hash = b2250c0a1c7c2d34cf8a3130c327a9bb41cc1f823fea5f14e6d3bad3bbbb93d6 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:30 nonce 00007000: hash = 596aaeaaa05cebbf60e09b018d5c380a682db11c2d3f29cc3fc266833e228489 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:34 nonce 00008000: hash = b4a338fa0c9253c19657d7c307e662405510b54bdb6f220fd13c5b4fc5d9e1ae (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:37 nonce 00009000: hash = bd0d94671b847d30fb3ee1e0520bc556dc188be3fb01bf62dbbc986518e73032 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:41 nonce 0000A000: hash = 772f4eac66559512898d110ef6d321b8fcb83fb2e0e28ce04eabc848aae259af (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:44 nonce 0000B000: hash = 101227490eb0460dd7aad5042518e2d3f6e182660028c180a486760116cda7b4 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:48 nonce 0000C000: hash = c20523fae05e9961ff479d36bac889cda42112607774500703d348d90b2d02c4 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:51 nonce 0000D000: hash = fcee465b5f569eae90d33964fb7d3b8dd7f3a4a7942084f2846ab592fbe2dc57 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:55 nonce 0000E000: hash = 205877322c2a2fd8620f3023c9948a04c87c2e5a076d3aa1139a435bfd2eb7f6 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:51:58 nonce 0000F000: hash = 41b3183af21fdf3dbf8ac511f4e6038d1ea460c60865f318a45733a2ccdbe82d (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:02 nonce 00010000: hash = 0fb2ed5ce07bca9d0ff120f1287487a106fece0d4aa35ac28921056da1377a1c (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:05 nonce 00011000: hash = 5a167241309ab6ad7684be4d2af5b784566cccdd782517794280830f859748a8 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:09 nonce 00012000: hash = b3e3b74ea8b1042e628272df5c50486548d12a14733bb14351da5f402ea30fd7 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:13 nonce 00013000: hash = 6cf6b4888c9083eda484de60fcae9f8e84f3a549b8e3895dcb7f8cfaa235090c (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:16 nonce 00014000: hash = 8ac045c89b0448e5593b337548d09dbcf8add1d6bcbb1d00685eb1f3d1f29e6d (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:20 nonce 00015000: hash = bec7a4111b8e161f70d6f231db9e808a2dfbc07c21363176d2ca6c9b29bbb7b1 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:23 nonce 00016000: hash = 25f213562d0f3c4fb20ec09de56de042fa0567fce26825e6a64c7fcddab6258b (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:27 nonce 00017000: hash = 879e00b93494a5f965a8348def6bd786b112ab42498768c442b0c171314a096d (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:30 nonce 00018000: hash = b6f0a095bf8c4db77338ef8905372c831b4a8e7d5c1a8f4606de2dde431a1de6 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:34 nonce 00019000: hash = 2bfa83d431236aef3d5409c03d1d6cb147ba98d75fb9f899fca12c33227cff44 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:37 nonce 0001A000: hash = 48d82fd69daabaf9243873e312e8c47e3c6e49554b2fded8c7799bd13008f54d (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:41 nonce 0001B000: hash = 3d1bddc3540e792209d14b2e33822a426de1eee647ef6a2fc167169747557239 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:44 nonce 0001C000: hash = 6a639d76bc4316738070dc45e5b8210e475565fa295bb50d93bc6ca45b76e49d (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:48 nonce 0001D000: hash = fd1a3b4c6665dcf9db72e26971ec29a803900d308ba2509a7dc4878691073cee (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:51 nonce 0001E000: hash = 9071045636b4f285f7785a1be35739bb14e2113dc61deea4b096b72dba60cbcd (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:55 nonce 0001F000: hash = 1377d910673e1cb5cd9bd352cc655ce5fe8c780e9b911bbe41f48930241ecc11 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:52:58 nonce 00020000: hash = 16618bb79256f7b059e1fb1ebc30a7128c9ef6845763e4eeca22025d61ec7a79 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:02 nonce 00021000: hash = f84173eddeda235400f3b62967993a4d2e5a65b2ada2d622109d58ea67556f0d (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:05 nonce 00022000: hash = cfe1da578b6888916493b036e54fa6d6d86d0925a9377946aaf6bd5e703139b3 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:09 nonce 00023000: hash = ef19dcdf99a2b70c351f55f5debb8549fda24f8fc472cd8466ba93b79a50f032 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:12 nonce 00024000: hash = 1a280f0307bc03beadb3e06cb3ee7de30dcfad92e2895c8c7f52611158dc5cd0 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:16 nonce 00025000: hash = 4e6fa552cc4824eb60f8ef72358f72a3ac0ac8dea307b4e57044b91f42dfaecf (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:19 nonce 00026000: hash = 931cf03e5151a1e8e6301b904988b7c04b92aa06eee4aff92dd2ffaab743a1d9 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:23 nonce 00027000: hash = fa82f2fb66318659dd64f14fe0c1ad68858a64d8bde4e4c7f3e01f5f8f0b9ffa (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:26 nonce 00028000: hash = dddb7138af112cd4edc5102552366fd2c950db07ff7069080f8930c9791749e4 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:30 nonce 00029000: hash = ece1e5f43fb45ef09e6608cf1deeed3b0a7b4e0ead165f0be6d638e50f447720 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:33 nonce 0002A000: hash = 52d238649138276cd2b4ee3c2df23c628af404196c04c8cb396d757106713498 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:37 nonce 0002B000: hash = bda17f163165d4e257af35ba81976d85ae2b21470096d7498c71be8f519b7371 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:40 nonce 0002C000: hash = 3b1c2c4b1c29cac395850df1370f61c5f19eff83dd3cb77fe0fc6615dd3341f3 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:44 nonce 0002D000: hash = ff23f8a0c0f57ab10e268cc98ce25b129a0f93ce11ffb37a0a0a723695eab643 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:47 nonce 0002E000: hash = 76c6ffe6d8ad4e7ad7aaf55b08ae65f5e9e7249655e99883886cdc4e414d0684 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:51 nonce 0002F000: hash = 8f29de789e3406e7d16b9dcf7a732f0d6350fb94b114d3f8483a0b9b610625cf (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:54 nonce 00030000: hash = 9c553954007e3920d93ee95cc2f1cd779e21411a5b2f8efd83b4d4d762762471 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:53:58 nonce 00031000: hash = 4f2bbb28b1998cee0ffe1f0d2fc55499a62e7badb326cd8851eff572fbf80bd7 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:54:01 nonce 00032000: hash = 17ac33765772ffcf0bedffb927de4d8a60b86b69f74df377015663e634948cf6 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:54:05 nonce 00033000: hash = b70a448306c421261bb4488a9d4e67955efd0704174e527ebee5cf63cfcbdfe6 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:54:08 nonce 00034000: hash = 3316e265cfdfd809f4ff63cfebf088042ed0a8e975da6868df4d5827ca814e97 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:54:12 nonce 00035000: hash = 65f3ed7c4aac966e99f8abca9a6cb5c7365f784c38bf156adc0b00a10a597cdb (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:54:15 nonce 00036000: hash = 784bee2573d1e8ad452a1d04e7866f2e2f11f1fcf0b4244077b3992bebc98a5f (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:54:19 nonce 00037000: hash = 80881e12890d100fe513ab9e7d37a2bf64015e5e298dc44fef6be265584c5211 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:54:22 nonce 00038000: hash = b24e268eb9b8e3f8dd7acc98b3b9c060d40327be203595991849071269285c46 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:54:26 nonce 00039000: hash = 3edb1414f7a38cd1e9ad6e26bed5d15fd08605cfbbace818378d4bb267d21ef6 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:54:29 nonce 0003A000: hash = aa1525cc0b1bfee0c3b4121262a872a32552556fac1e6fa92f48ba9ffeb29842 (target = 00000ffff0000000000000000000000000000000000000000000000000000000)
2014-09-05 14:54:33 block.nTime = 1389011066
2014-09-05 14:54:33 block.nNonce = 241097
2014-09-05 14:54:33 block.GetHash = 1587d2f3070de8013dff348fd6f9deacaed5c952823323441e1a38d0964a31d9
2014-09-05 14:54:33 CBlock(hash=1587d2f3070de8013dff348fd6f9deacaed5c952823323441e1a38d0964a31d9, input=0100000000000000000000000000000000000000000000000000000000000000000000005c4a38bcc3d0a4a46f0186b2882a801c3c19e8d90e9d296614e7f36310e4a9367aa0ca52f0ff0f1ec9ad0300, PoW=00000230addaf02e754b5e33459d675797457086a46230565525211378fb277a, ver=1, hashPrevBlock=0000000000000000000000000000000000000000000000000000000000000000, hashMerkleRoot=36a9e41063f3e71466299d0ed9e8193c1c802a88b286016fa4a4d0c3bc384a5c, nTime=1389011066, nBits=1e0ffff0, nNonce=241097, vtx=1)
2014-09-05 14:54:33   CTransaction(hash=36a9e41063f3e71466299d0ed9e8193c1c802a88b286016fa4a4d0c3bc384a5c, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 04ffff001d01044c4d4465722054616765737370696567656c2030362f4a616e2f323031342048656e7279204d61736b652c2066616d6f757320666967687465722c206973206e6f77203530207965617273206f6c64)
    CTxOut(nValue=50.00000000, scriptPubKey=040184710fa689ad5023690c80f3a4)
  vMerkleTree: 36a9e41063f3e71466299d0ed9e8193c1c802a88b286016fa4a4d0c3bc384a5c

Problem is i get all time :

./nichtsd -testnet
nichtsd: main.cpp:2856: bool InitBlockIndex(): Assertion `hash == hashGenesisBlock' failed.
Aborted


uint256 hashGenesisBlock("987b2656dcfc4de62e2eef94e8675904a50bc619c6e614489ac5cbfcf2391e0d");

and

assert(block.hashMerkleRoot == uint256("36a9e41063f3e71466299d0ed9e8193c1c802a88b286016fa4a4d0c3bc384a5c"));

My

        block.nTime    = 1389011066;
        block.nBits    = 0x1e0ffff0;
        block.nNonce   = 0;

        if (fTestNet)
        {
        block.nTime    = 1389011066;
        block.nNonce   = 0;
        }

Is set to this.

Mybe some one a idea why it not work?


I all ready read over and over again :/ https://bitcointalk.org/index.php?topic=391983.new#new

Edit : 17:31 thats my new debug.log from testnet

014-09-05 15:27:23 Nichts version v0.8.7.2-unk-beta (2014-09-05 05:40:45 +0200)
2014-09-05 15:27:23 Using OpenSSL version OpenSSL 1.0.1f 6 Jan 2014
2014-09-05 15:27:23 Default data directory /var/www/vhosts/.info/.nichts
2014-09-05 15:27:23 Using data directory /var/www/vhosts/.info/.nichts/testnet3
2014-09-05 15:27:23 Using at most 125 connections (1024 file descriptors available)
2014-09-05 15:27:23 Using 12 threads for script verification
2014-09-05 15:27:23 init message: Verifying wallet...
2014-09-05 15:27:23 dbenv.open LogDir=/var/www/vhosts/cyberlove.info/.nichts/testnet3/database ErrorFile=/var/www/vhosts/.info/.nichts/testnet3/db.log
2014-09-05 15:27:23 Bound to [::]:50333
2014-09-05 15:27:23 Bound to 0.0.0.0:50333
2014-09-05 15:27:23 init message: Loading block index...
2014-09-05 15:27:23 Opening LevelDB in /var/www/vhosts/.info/.nichts/testnet3/blocks/index
2014-09-05 15:27:23 Opened LevelDB successfully
2014-09-05 15:27:23 Opening LevelDB in /var/www/vhosts/.info/.nichts/testnet3/chainstate
2014-09-05 15:27:23 Opened LevelDB successfully
2014-09-05 15:27:23 LoadBlockIndexDB(): last block file = 0
2014-09-05 15:27:23 LoadBlockIndexDB(): transaction index disabled
2014-09-05 15:27:23 Initializing databases...
2014-09-05 15:27:23 987b2656dcfc4de62e2eef94e8675904a50bc619c6e614489ac5cbfcf2391e0d
2014-09-05 15:27:23 f5ae71e26c74beacc88382716aced69cddf3dffff24f384e1808905e0188f68f
2014-09-05 15:27:23 36a9e41063f3e71466299d0ed9e8193c1c802a88b286016fa4a4d0c3bc384a5c
2014-09-05 15:27:23 CBlock(hash=987b2656dcfc4de62e2eef94e8675904a50bc619c6e614489ac5cbfcf2391e0d, input=0100000000000000000000000000000000000000000000000000000000000000000000005c4a38bcc3d0a4a46f0186b2882a801c3c19e8d90e9d296614e7f36310e4a9367aa0ca52f0ff0f1e00000000, PoW=ca4801411b4654dc88c54c1a902794b3066029ac8d6c17edac8366c4150a33e1, ver=1, hashPrevBlock=0000000000000000000000000000000000000000000000000000000000000000, hashMerkleRoot=36a9e41063f3e71466299d0ed9e8193c1c802a88b286016fa4a4d0c3bc384a5c, nTime=1389011066, nBits=1e0ffff0, nNonce=0, vtx=1)
2014-09-05 15:27:23   CTransaction(hash=36a9e41063f3e71466299d0ed9e8193c1c802a88b286016fa4a4d0c3bc384a5c, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000000000000000000000000000000000000000000000000000000000, 4294967295), coinbase 04ffff001d01044c4d4465722054616765737370696567656c2030362f4a616e2f3230313420486 56e7279204d61736b652c2066616d6f757320666967687465722c206973206e6f77203530207965 617273206f6c64)
    CTxOut(nValue=50.00000000, scriptPubKey=040184710fa689ad5023690c80f3a4)
  vMerkleTree: 36a9e41063f3e71466299d0ed9e8193c1c802a88b286016fa4a4d0c3bc384a5c

But when i try to start it with dont work.
elbandi
Hero Member
*****
Offline Offline

Activity: 525
Merit: 531


View Profile
September 05, 2014, 05:23:51 PM
 #2

Change the code to this:
Code:
block.nNonce = 241097;
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!