You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some time researching, I don't know if I am missing some step using the skip_block_download_wait = true configuration. If not, and is just not possible to use electrs during initial block download, then I'll be curious about the main use cases for such configuration.
Edit: Maybe is for the non-initial block downloads? Also found out that the "proxy" calls, like blockchain.transaction.get, do work.
Expected behavior
I expected calls like blockchain.headers.subscribe and blockchain.block.header to return results for blocks that have already been synced by bitcoind.
Actual behavior blockchain.headers.subscribe returns height 0 and blockchain.block.header with height 2 returns error 'no header at 2'.
The same setup without the skip_block_download_wait = true worked, electrs synced after bitcoin and I was able to make successful calls. So, I am now focused on learning about this specific configuration.
Tried to find an answer in this repo, the docs and searching the web. Finally tried reading the code, but I can't figure it out with my limited rust knowledge.
Thank you for your work and time.
The text was updated successfully, but these errors were encountered:
Hello, newbie user here.
After some time researching, I don't know if I am missing some step using the
skip_block_download_wait = true
configuration. If not, and is just not possible to use electrs during initial block download, then I'll be curious about the main use cases for such configuration.Edit: Maybe is for the non-initial block downloads? Also found out that the "proxy" calls, like
blockchain.transaction.get
, do work.Have you read the documentation?
Yes.
How did you configure electrs?
Running it with docker compose for local tests:
config.toml
Environment variables:
ENV RUST_BACKTRACE=1, ENV RUST_LOG=info
Arguments:
target/release/electrs --conf config.toml
Debug output of configuration
Expected behavior
I expected calls like
blockchain.headers.subscribe
andblockchain.block.header
to return results for blocks that have already been synced bybitcoind
.Actual behavior
blockchain.headers.subscribe
returns height 0 andblockchain.block.header
with height 2 returns error 'no header at 2'.The same setup without the
skip_block_download_wait = true
worked,electrs
synced after bitcoin and I was able to make successful calls. So, I am now focused on learning about this specific configuration.Tried to find an answer in this repo, the docs and searching the web. Finally tried reading the code, but I can't figure it out with my limited rust knowledge.
Thank you for your work and time.
The text was updated successfully, but these errors were encountered: