Skip to content

Record offset in hintfile instead of literal index#46

Merged
rustaceanrob merged 3 commits into2140-dev:masterfrom
rustaceanrob:9-4-hints
Sep 4, 2025
Merged

Record offset in hintfile instead of literal index#46
rustaceanrob merged 3 commits into2140-dev:masterfrom
rustaceanrob:9-4-hints

Conversation

@rustaceanrob
Copy link
Collaborator

No description provided.

Instead of encoding the literal indexes in a block, the hintfile can
record the delta between the last found coin and the next coin. When
querying a height, these can be unpacked by taking a running index and
aggregating the offsets.
@rustaceanrob rustaceanrob merged commit 3e24144 into 2140-dev:master Sep 4, 2025
4 checks passed
@rustaceanrob rustaceanrob deleted the 9-4-hints branch September 4, 2025 09:43
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

Successfully merging this pull request may close these issues.

1 participant