bitcoin icon indicating copy to clipboard operation
bitcoin copied to clipboard

Bogus searchrawtransactions index entries

Open johnjacksonbtc opened this issue 9 years ago • 1 comments

My node started returning error Cannot read transaction from disk (code -22) for command {"jsonrpc": "1.0", "method": "searchrawtransactions", "params": ["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", 1, 0, 2147483647]}. Debug log contains an entry ERROR: bool ReadTransaction(CTransaction&, const CDiskTxPos&, uint256&)() : deserialize or I/O error without additional info. It appears my block index database have a bogus 846th, 848th, 850th, 851th entry for 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa. I've checked out timestamps and txids for 845th, 847th, 849th, 852th, 853th entry (2013-08-31 21:31:59 - 88e6b5a34a0635ea8761f48c1117a177bd3f24948e7cd4f458b586cac70a3abe, 2013-09-02 15:15:32 - 3f0633b96d3b9a017aff6f960d4373e1f2cb4f8d5814f12edb3eaf46703dfc02, 2013-09-11 07:32:18 - 1cb85ab6d1faad6a7bb7b7f6b78247aec9400d4aa22d5609444946fc731775f5, 2013-09-11 22:05:17 - d658ab87cc053b8dbcfd4aa2717fd23cc3edfe90ec75351fadd6a0f7993b461d, 2013-09-15 00:04:37 - 61185ff116f260e56c93d87b8f93a062440a4f6907df6f9f35c1166ca93018b3) and nothing looks lost according to https://blockchain.info/address/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa?offset=200&filter=0.

johnjacksonbtc avatar Aug 23 '16 09:08 johnjacksonbtc

The times look the same on my 0.12.1 addrindex. I just looked at the first two.

  • TxId: 88e6b5a34a0635ea8761f48c1117a177bd3f24948e7cd4f458b586cac70a3abe; addrindex time 1377984719 or Sat Aug 31 21:31:59 UTC 2013; blockchain.info time 2013-08-31 21:31:59;
  • TxId: 3f0633b96d3b9a017aff6f960d4373e1f2cb4f8d5814f12edb3eaf46703dfc02; addrindex time 1378134932 or Mon Sep 2 15:15:32 UTC 2013; blockchain.info time 2013-09-02 15:15:32

unsystemizer avatar Nov 10 '16 10:11 unsystemizer