[Feature]: Revisit fetch_unknown_ancestors
in stacks api.rs
#637
Labels
sbtc signer binary
The sBTC Bootstrap Signer.
Milestone
Feature - Revisit
fetch_unknown_ancestors
in stacksapi.rs
1. Description
The assumptions in this method are wrong, it uses the Stacks block height but the Nakamoto start height is defined as a bitcoin block height.
1.1 Context & Purpose
More context in issue #633 (comment) from #643.
2. Technical Details:
We should find a way to get the burnchain block height for the stacks block, or we could potentially keep looping until we get a
404
(not found) from the Stacks RPC endpoint, which is what it returns for/v3
endpoints when requesting data for non-nakamoto blocks.2.1 Acceptance Criteria:
3. Related Issues and Pull Requests (optional):
The text was updated successfully, but these errors were encountered: