From 36f287dda6da9791fb255d9b166cded6f2a13d12 Mon Sep 17 00:00:00 2001 From: deadmanoz <62584182+deadmanoz@users.noreply.github.com> Date: Wed, 30 Sep 2026 09:09:14 +0800 Subject: [PATCH] feat(dataset): record the Chaincode node behind 389043's full block PR #26 replaced the coinbase proof for 389043 with the complete block, found on the long-running Chaincode Labs nodes whose stale blocks entered stale-blocks in bitcoin-data/stale-blocks#156. Add the p2p observation naming that source, count the 37 remaining Namecoin AuxPoW coinbase proofs in the notes, and say there where the body came from. --- data/invalid-blocks.jsonl | 2 +- docs/notes.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/invalid-blocks.jsonl b/data/invalid-blocks.jsonl index dd9c64d..920e245 100644 --- a/data/invalid-blocks.jsonl +++ b/data/invalid-blocks.jsonl @@ -119,7 +119,7 @@ {"height":367047,"hash":"00000000000000000f93ba8faf8bb018c7db642e30391748860cbfa5803a32a4","header":"0200000052621b40bc489705b02f2f02df486696ba5302610906100a000000000000000019dbb981ac5d96e8700dbf87a0dda31be5ad61dccca3dae1196915b4dbcd3d220fdab455150815188250fe62","prev_hash":"00000000000000000a100609610253ba966648df022f2fb0059748bc401b6252","nTime":1437915663,"core_reject_reason":"bad-version","rule":"bip66_block_version_below_3","context":{"expected_nbits":"18150815","coinbase_height":367047,"coinbase_scriptsig_hex":"03c79905534f434b25449607578bd762522cfabe6d6d8f433c640092b20a74c858f622235f3ef0a432b34b8d7f9a23ed781ec2c0b40120000000000000002f6d6d706f6f6c","pool":"mmpool","pool_basis":"tag","parent_kind":"canonical"},"observations":[{"channel":"merge_mining","source":"merge-mining-research","child_chain":"devcoin","child_height":194759,"provenance":"https://github.com/deadmanoz/merge-mining-research/blob/f543b1f23c57be6840c7a2a44a59306b5d0180f7/data/error-blocks/error_block_observations.csv#L19","child_block_hash":"0a81670fb1c2c92e3e69bc6c43a28b38feb48e20034612a26bbdb7d2a3650d0b","child_block_time":1437915532,"child_header":"010104006b8bfb7f1d7cbd5b34eee74e70d26abf48ee5a86b230aa0e2c2b0c02fb9387dd7dd3e422e31702fefaa26b4e70ab9c578286d1edcfaee8a590366e527545da2a8cd9b45512d1021900000000"},{"channel":"merge_mining","source":"merge-mining-research","child_chain":"groupcoin","child_height":180938,"provenance":"https://github.com/deadmanoz/merge-mining-research/blob/f543b1f23c57be6840c7a2a44a59306b5d0180f7/data/error-blocks/error_block_observations.csv#L24","child_block_hash":"a907e7dee1ada61662e332f887f8bfc8a0464f3f7fdb94c0856fd5b5e1584302","child_block_time":1437915602,"child_header":"010105001597e1749664b5f9d2cbc722676ba7544f00335f8ce35c3e5e4b74fc0ba8bf02901687ed35e52eb5b99e2afb7edb59cdd9ef27116ce2953a4f7c5d9d3094ebbdd2d9b455f44a021a00000000"},{"channel":"merge_mining","source":"merge-mining-research","child_chain":"i0coin","child_height":1546541,"provenance":"https://drive.google.com/file/d/11-D1r5s8267YmOT1VaObrcmVoV8d_JAn/view?usp=sharing","child_block_hash":"5bf13bc80a9b265fe895a1347190ce38ee0688ff8f02849fbbf7138bb776f1f2","child_block_time":1437915587,"child_header":"010102002d9a0b4ae23de80a62b3f44015b50d63bd1d8e041a16fba7cd969b4c5dbe2ca211c69033dda8d64a25191f6194d5df44d280e7ac6a937c302ec1f7e7ba14ce48c3d9b4557ffb011a00000000"},{"channel":"merge_mining","source":"merge-mining-research","child_chain":"namecoin","child_height":241087,"provenance":"https://github.com/deadmanoz/merge-mining-research/blob/f543b1f23c57be6840c7a2a44a59306b5d0180f7/data/error-blocks/error_block_observations.csv#L66","child_block_hash":"53382d7cd5ce62d3220c550f7ccd36650bc2fcc20ef5404f38b69ae5ae856398","child_block_time":1437915611},{"channel":"merge_mining","source":"merge-mining-research","child_chain":"unobtanium","child_height":637957,"provenance":"https://github.com/deadmanoz/merge-mining-research/blob/f543b1f23c57be6840c7a2a44a59306b5d0180f7/data/error-blocks/error_block_observations.csv#L87","child_block_hash":"fe3a8719509cfee3450bb36102405e6f2c706de19590f500db4cfc32562c614f","child_block_time":1437915647,"child_header":"03017500a6ad998bf971bca3ae3823fa9d39d286764e5baaad1dfca460ce72d666ed5889b1c993be66cf4eb570f2e02a7fcb3a2e2e28a81df315bc56e00ad249a975432bffd9b455d952621900000000"},{"channel":"merge_mining","source":"mergedmonitor","child_chain":"devcoin","provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/mergedmonitor/mergedmonitor.json"},{"channel":"merge_mining","source":"mergedmonitor","child_chain":"groupcoin","provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/mergedmonitor/mergedmonitor.json"},{"channel":"merge_mining","source":"mergedmonitor","child_chain":"i0coin","provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/mergedmonitor/mergedmonitor.json"},{"channel":"merge_mining","source":"mergedmonitor","child_chain":"namecoin","provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/mergedmonitor/mergedmonitor.json"},{"channel":"merge_mining","source":"mergedmonitor","child_chain":"unobtanium","provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/mergedmonitor/mergedmonitor.json"}]} {"height":380992,"hash":"0000000000000000084ee972bfe620224e6893448a9001d2b1f236ede0423779","header":"0300000092d98cb6018e9baa8dfe136fa81266dfa588c0ee23b26e030000000000000000af324cb995102e1d1c5e7d59459d5f651090881815f2a63f0eba667ce3db7538cf003156140f12182744ec68","prev_hash":"0000000000000000036eb223eec088a5df6612a86f13fe8daa9b8e01b68cd992","nTime":1446052047,"core_reject_reason":"time-too-old","rule":"time_below_mtp","context":{"expected_nbits":"18120f14","parent_mtp":1446068449,"coinbase_height":380992,"coinbase_scriptsig_hex":"0340d005e4b883e5bda9e7a59ee4bb99e9b1bcd50ac9b4c902bcd5e2bad45a05683fe7f021962425668f3d52fb85b887a7641d02000000f09f909f2f4249503130302f4d696e656420627920796e646c0000000000000000000000000000000000000000","pool":"yndl","pool_basis":"tag","parent_kind":"canonical"},"observations":[{"channel":"merge_mining","source":"merge-mining-research","child_chain":"namecoin","child_height":255293,"provenance":"https://github.com/deadmanoz/merge-mining-research/blob/f543b1f23c57be6840c7a2a44a59306b5d0180f7/data/error-blocks/error_block_observations.csv#L67","child_block_hash":"c4d8eda3b78a364d1376aa9ed5392b1f4eeb673f6d9fef3b9ede7f558bc50447","child_block_time":1446069661},{"channel":"merge_mining","source":"mergedmonitor","child_chain":"namecoin","provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/mergedmonitor/mergedmonitor.json"}]} {"height":383540,"hash":"000000000000000009c55c7e380b7600a2966de1b79230c74212d9c45a91a50b","header":"0300000067632629ccfb115468a3bf5de123daa6195d08fa07bc21070000000000000000596b9301095713baf9cacd3454ca28f6dce7549e7c475ed3779e197aa7d0e09efa3e475689b210188de55dcc","prev_hash":"00000000000000000721bc07fa085d19a6da23e15dbfa3685411fbcc29266367","nTime":1447509754,"core_reject_reason":"bad-cb-height","rule":"bip34_coinbase_height_mismatch","context":{"expected_nbits":"1810b289","coinbase_height":383539,"coinbase_scriptsig_hex":"0333da050e00456c69676975730056473ebf05fabe6d6dea750998570cd15be3f4d81146f617c7f8cfbb02e53cf5953aef025e55b48ae20100000000000000002f737332322f008102000090990500","pool":"Eligius","pool_basis":"tag","parent_kind":"canonical"},"observations":[{"channel":"merge_mining","source":"merge-mining-research","child_chain":"namecoin","child_height":257852,"provenance":"https://github.com/deadmanoz/merge-mining-research/blob/f543b1f23c57be6840c7a2a44a59306b5d0180f7/data/error-blocks/error_block_observations.csv#L68","child_block_hash":"ea750998570cd15be3f4d81146f617c7f8cfbb02e53cf5953aef025e55b48ae2","child_block_time":1447509676},{"channel":"merge_mining","source":"mergedmonitor","child_chain":"namecoin","provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/mergedmonitor/mergedmonitor.json"}]} -{"height":389043,"hash":"00000000000000000306ea979ad487157d2950081413eb9d2dca82060f1b89b2","header":"030000009b8df38b440b4e93de66f1bc04aafd774d9b0f5eada3430900000000000000006e552de3422d394c0ef86c00bfd46e1b90ecc55f2a8c163ff9760d1850d6b782fc1374564fe60d18581bca4e","prev_hash":"00000000000000000943a3ad5e0f9b4d77fdaa04bcf166de934e0b448bf38d9b","nTime":1450447868,"core_reject_reason":"bad-version","rule":"bip65_block_version_below_4","context":{"expected_nbits":"180de64f","coinbase_height":389043,"coinbase_scriptsig_hex":"03b3ef05040314745608fabe6d6d20d6656f5ca5ac4408cbee6ff6d3235c6039015372788a3c0b0c39721502efd001000000000000004000000f873d00860d2f6e6f64655374726174756d2f","pool":"nodeStratum","pool_basis":"tag","parent_kind":"canonical"},"observations":[{"channel":"merge_mining","source":"merge-mining-research","child_chain":"namecoin","child_height":263217,"provenance":"https://github.com/deadmanoz/merge-mining-research/blob/f543b1f23c57be6840c7a2a44a59306b5d0180f7/data/error-blocks/error_block_observations.csv#L69","child_block_hash":"20d6656f5ca5ac4408cbee6ff6d3235c6039015372788a3c0b0c39721502efd0","child_block_time":1450447692},{"channel":"merge_mining","source":"mergedmonitor","child_chain":"namecoin","provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/mergedmonitor/mergedmonitor.json"},{"channel":"p2p","source":"kit-mon1","first_seen":1450447890,"provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/kit/mon1.json.tar.gz"},{"channel":"p2p","source":"kit-mon2","first_seen":1450447889,"provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/kit/mon2.json.tar.gz"}]} +{"height":389043,"hash":"00000000000000000306ea979ad487157d2950081413eb9d2dca82060f1b89b2","header":"030000009b8df38b440b4e93de66f1bc04aafd774d9b0f5eada3430900000000000000006e552de3422d394c0ef86c00bfd46e1b90ecc55f2a8c163ff9760d1850d6b782fc1374564fe60d18581bca4e","prev_hash":"00000000000000000943a3ad5e0f9b4d77fdaa04bcf166de934e0b448bf38d9b","nTime":1450447868,"core_reject_reason":"bad-version","rule":"bip65_block_version_below_4","context":{"expected_nbits":"180de64f","coinbase_height":389043,"coinbase_scriptsig_hex":"03b3ef05040314745608fabe6d6d20d6656f5ca5ac4408cbee6ff6d3235c6039015372788a3c0b0c39721502efd001000000000000004000000f873d00860d2f6e6f64655374726174756d2f","pool":"nodeStratum","pool_basis":"tag","parent_kind":"canonical"},"observations":[{"channel":"merge_mining","source":"merge-mining-research","child_chain":"namecoin","child_height":263217,"provenance":"https://github.com/deadmanoz/merge-mining-research/blob/f543b1f23c57be6840c7a2a44a59306b5d0180f7/data/error-blocks/error_block_observations.csv#L69","child_block_hash":"20d6656f5ca5ac4408cbee6ff6d3235c6039015372788a3c0b0c39721502efd0","child_block_time":1450447692},{"channel":"merge_mining","source":"mergedmonitor","child_chain":"namecoin","provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/mergedmonitor/mergedmonitor.json"},{"channel":"p2p","source":"kit-mon1","first_seen":1450447890,"provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/kit/mon1.json.tar.gz"},{"channel":"p2p","source":"kit-mon2","first_seen":1450447889,"provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/kit/mon2.json.tar.gz"},{"channel":"p2p","source":"chaincode","provenance":"https://github.com/bitcoin-data/invalid-blocks/pull/26"}]} {"height":402610,"hash":"000000000000000003a1ce220ae97419cc4bdb5d70b90189b8f8a06b0b37e3a2","header":"04000000d29de83f75a5660bdb41268113ef1641ef823386119b6e0200000000000000008d1db810ec599011afd5752e00d557a6875094e9436cf1fd9412e463f37cdf59a9a4e656a8f00618c2eac184","prev_hash":"0000000000000000026e9b11863382ef4116ef13812641db0b66a5753fe89dd2","nTime":1457956009,"core_reject_reason":"bad-cb-height","rule":"bip34_coinbase_height_mismatch","context":{"expected_nbits":"1806f0a8","coinbase_height":402611,"coinbase_scriptsig_hex":"03b3240637e4b883e5bda9e7a59ee4bb99e9b1bcdb8c127393c82df3adac41a9a3a6d30491ade6cab548308a174cc92165515c1f02000000f09f909f124d696e656420627920633633333436313039000000000000000000000000000000000000000000","pool":"c63346109","pool_basis":"tag","parent_kind":"stale"},"observations":[{"channel":"merge_mining","source":"merge-mining-research","child_chain":"namecoin","child_height":276713,"provenance":"https://github.com/deadmanoz/merge-mining-research/blob/f543b1f23c57be6840c7a2a44a59306b5d0180f7/data/error-blocks/error_block_observations.csv#L70","child_block_hash":"229b2fa5af33af86559c830b86d4cc90830834e06612e43f0b0f8e8636d6f39a","child_block_time":1457955815,"child_header":"040101009eae642e432113e560f4bb4c8bda6e59fb9f79d1cd2486ba53909535bffff325e6c52c32ce27a17151ee2c7a64bdd3a441f6237ba4e39c7b62089d7db8885abce7a3e656e24b171800000000"},{"channel":"merge_mining","source":"mergedmonitor","child_chain":"namecoin","provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/mergedmonitor/mergedmonitor.json"}]} {"height":422059,"hash":"00000000000000000254ed1e8143f0bcd3c3564db07e7c35631e999d53e81fa7","header":"0000002015b9a5a957588d43fdcbc9c8c8fb5b2d378b74bc54fc1e040000000000000000bb4bf58844f6bec746791e35d4f99e476ec7a2ab9a70b6172087ab8e4b1c0681d27c945769260518385ece24","prev_hash":"0000000000000000041efc54bc748b372d5bfbc8c8c9cbfd438d5857a9a5b915","nTime":1469349074,"core_reject_reason":"bad-cb-height","rule":"bip34_coinbase_height_mismatch","context":{"expected_nbits":"18052669","coinbase_height":422060,"coinbase_scriptsig_hex":"03ac7006162f5669614254432f48656c6c6f2c20576f726c64212f2cfabe6d6d66a8e99ddd64fdd53d2fcba9e0da13d660eb4f3af15c1cc9f4afd712b09729fb01000000000000000cd114e24c6b5af1af8c290400","pool":"ViaBTC","pool_basis":"tag","parent_kind":"stale"},"observations":[{"channel":"merge_mining","source":"merge-mining-research","child_chain":"namecoin","child_height":296773,"provenance":"https://github.com/deadmanoz/merge-mining-research/blob/f543b1f23c57be6840c7a2a44a59306b5d0180f7/data/error-blocks/error_block_observations.csv#L71","child_block_hash":"66a8e99ddd64fdd53d2fcba9e0da13d660eb4f3af15c1cc9f4afd712b09729fb","child_block_time":1469348069,"child_header":"04010100498a5a053ae0b56d2397b69808899b1676cb8cbccca1242ee61249b42242bec388fe0e2260ff96162a9e53c8565ee4d286bd7bb4a045b194cf9a0f7f06bd9f3ae57894572fe20d1800000000"},{"channel":"merge_mining","source":"mergedmonitor","child_chain":"namecoin","provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/mergedmonitor/mergedmonitor.json"},{"channel":"p2p","source":"kit-mon1","first_seen":1469348631,"provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/kit/mon1.json.tar.gz"},{"channel":"p2p","source":"kit-mon2","first_seen":1469348631,"provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/kit/mon2.json.tar.gz"}]} {"height":474294,"hash":"00000000000000000182acdf5657c93a0769dc6f9004047496b2e15efc6a4232","header":"020000203a4b08e0a87bb99712b929dcc7ea45f14c07230c98b4800000000000000000001cd58a6def6a066eb763bff9ff237a098a7a3c19445d12f9d0f392774efae01ead595c59308d0118453bb5d9","prev_hash":"00000000000000000080b4980c23074cf145eac7dc29b91297b97ba8e0084b3a","nTime":1499224493,"core_reject_reason":"bad-txns-inputs-missingorspent","rule":"missing_unconfirmed_parent","context":{"coinbase_height":474294,"coinbase_scriptsig_hex":"03b63c072cfabe6d6dd2ebb1599afbefb038c64430a42ed0057716d5a6f1aa2cd842756f3e1743548d01000000000000002f4e59412f","pool":"1Hash","pool_basis":"reported","pool_provenance":"https://bitcointalk.org/index.php?topic=2041607.0","parent_kind":"canonical","missing_prevout":"b11a78c6c61af1cb37586f639050d74b95c2b0fd525623b6cb6a4bb4fba46a0e:1"},"observations":[{"channel":"merge_mining","source":"merge-mining-research","child_chain":"namecoin","child_height":349887,"child_block_hash":"d2ebb1599afbefb038c64430a42ed0057716d5a6f1aa2cd842756f3e1743548d","child_block_time":1499224108,"provenance":"https://github.com/deadmanoz/merge-mining-research/blob/629039bc8023bdaaafd9470e29051f9acc43973c/data/child-identity/namecoin_child_identity.csv#L1388"},{"channel":"scrape","source":"chainquery.com","provenance":"https://github.com/NStifter/mergedmonitor/blob/54344d4e355f73eb94bef8d391e8fb6e4a9323a6/fork-analysis/chainquery.com/orphans_chainquery.com.json"}]} diff --git a/docs/notes.md b/docs/notes.md index fd2f868..0a1ba8c 100644 --- a/docs/notes.md +++ b/docs/notes.md @@ -25,8 +25,9 @@ The two F2Pool coinbases pay 3.20191623 and 3.14128765 BTC in total, the 3.125 B ## Coinbase proofs Merge-mined recoveries supply a header and a coinbase extract, and until the coinbase is placed in the block that extract is only a claim. -Every record with `coinbase_scriptsig_hex` and no body now has a proof file except 649674: 38 coinbases with their merkle branches from the AuxPoW records in Namecoin blocks, read from a Namecoin Core node by the child block hash in each record's `merge_mining` observation, and 363731's coinbase reserialised from the pinned blockchain.info dump and placed by that dump's 99 txids. +Every record with `coinbase_scriptsig_hex` and no body now has a proof file except 649674: 37 coinbases with their merkle branches from the AuxPoW records in Namecoin blocks, read from a Namecoin Core node by the child block hash in each record's `merge_mining` observation, and 363731's coinbase reserialised from the pinned blockchain.info dump and placed by that dump's 99 txids. CI reproduces each header's merkle root from the proof and requires the context scriptSig to equal the proved one, so every `tag` and `address` attribution in the dataset is read from bytes the header commits to. +389043 carried the 38th Namecoin proof until [PR #26](https://github.com/bitcoin-data/invalid-blocks/pull/26) supplied its complete block, kept by one of the long-running Chaincode Labs nodes whose stale blocks entered stale-blocks in [PR #156](https://github.com/bitcoin-data/stale-blocks/pull/156); the body replaces the proof. 649674 has no Bitcoin merkle path. Its Hathor block carries the coinbase and a twelve-hash path, and that path reproduces the header's merkle root only when the leaf is the double-SHA256 of the coinbase's full witness serialisation rather than its txid: the pool's merged-mining code built the tree from the wrong hash.