Skip to content

udb: use a credit iterator for detached credits.#1479

Open
dnldd wants to merge 2 commits intodecred:masterfrom
dnldd:resolve_todos
Open

udb: use a credit iterator for detached credits.#1479
dnldd wants to merge 2 commits intodecred:masterfrom
dnldd:resolve_todos

Conversation

@dnldd
Copy link
Member

@dnldd dnldd commented Jun 10, 2019

This deprecates udb.ExtractBlockHeaderParentHash and udb.ExtractBlockHeaderHeight in preference of using an unexported copy of the extract function at the call site.

store.rollback has also been updated to use a credit iterator for converting detached and unspent non-coinbase credits to unmined credit.

dnldd added 2 commits August 6, 2019 14:55
This deprecates  udb.ExtractBlockHeaderParentHash and
udb.ExtractBlockHeaderHeight in preference of using an
 unexported copy of the extract function at the call site.
This uses a credit iterator for converting detached
 and unspent non-coinbase credits to unmined credit.
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