Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bogus searchrawtransactions index entries #12

Open
johnjacksonbtc opened this issue Aug 23, 2016 · 1 comment
Open

Bogus searchrawtransactions index entries #12

johnjacksonbtc opened this issue Aug 23, 2016 · 1 comment

Comments

@johnjacksonbtc
Copy link

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.

@unsystemizer
Copy link

unsystemizer commented Nov 10, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants