-
Notifications
You must be signed in to change notification settings - Fork 12
Iterator stops at certain block height #24
Comments
Hi. I assume that this is caused because |
Rusty-Bitcoin-Explorer/src/iter/iter_block.rs Lines 11 to 28 in 2d3d38b
In iter_block, errors are ignored and regarded as iterator terminator. |
Thanks, that helps. I got a |
I'm not sure how to further debug this. I reindexed my whole blockchain with Do you know how I could further debug this library to see where it is failing? |
I can even successfully run commands like this (on the relevant block hash):
One thing that I noticed in this block is that there's a transaction ( Funnily this tx was created in order to show a consensus diff between bitcoin core and btcd: btcsuite/btcd#1906 |
Hi. This project depends on rust-bitcoin for decoding binary data. So, I'd suggest that you upgrade the rust-bitcoin dependency and have try. Let me do the upgrade. |
Ah, I think we need to bump the bitcoin dependency to fix this: https://twitter.com/lightningdevkit/status/1587939344530145280 |
I can already confirm that bumping bitcoin to |
Bumping further seems to break code. |
#25 Bumped to v0.28.2 |
I have a local fully synced blockchain that was written by Bitcoin-qt, and the Bitcoin software runs without complaining.
When I loop through
bitcoin.iter_block::<FBlock>(761200, 784540)
, the iterator always stops at block761248
. I'm not doing anything in the loop.Do you have any idea of how I could debug this? I already have a logging crate enabled and am looking at TRACE output. These are all the log messages I can see from your lib:
The text was updated successfully, but these errors were encountered: