getbestblock
returns empty(or stale) blockhash after reorg or invalidateblock
#28
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
mining
question
rpc
ux
wallet
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbcwallet#28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Invalidate the current best block:
The returned
height
is correct, but not thehash
.Query from the chain (without proxied by wallet) gives the correct result:
Generating new blocks to grow the chain back to its previous height (or higher) seems correct this issue.
This creates a window for race conditions where the chain state is inconsistent after a reorg.