Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ReOrg Changes Inbound MinedHeight #48

Closed
pacu opened this issue Oct 3, 2023 · 2 comments
Closed

Implement ReOrg Changes Inbound MinedHeight #48

pacu opened this issue Oct 3, 2023 · 2 comments
Assignees
Labels
development This is a development task
Milestone

Comments

@pacu
Copy link
Owner

pacu commented Oct 3, 2023

ReOrg Changes Inbound MinedHeight

A Re Org occurs at 203, and sweeps an Inbound Tx that appears later on the chain.
Steps:

  1. reset dlwd
  2. load blocks from before_reorg
  3. applyStaged(203)
  4. sync to latest height
  5. get balances
  6. load blocks from dataset after_reorg
  7. apply stage 206
  8. sync to latest height
  9. verify that the balance is equal to the one before the reorg
@pacu pacu converted this from a draft issue Oct 3, 2023
@pacu pacu added this to the Milestone 3 milestone Oct 4, 2023
@pacu pacu self-assigned this Oct 4, 2023
@pacu
Copy link
Owner Author

pacu commented Oct 21, 2023

zingolabs/zingolib#593

@pacu pacu added the development This is a development task label Oct 21, 2023
@pacu pacu moved this from Todo to In Progress in Zcash Wallet Community Developer 2023 Oct 21, 2023
@pacu pacu moved this from In Progress to Done in Zcash Wallet Community Developer 2023 Oct 25, 2023
@pacu pacu closed this as completed Oct 25, 2023
@pacu
Copy link
Owner Author

pacu commented Oct 27, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development This is a development task
Projects
No open projects
Development

No branches or pull requests

1 participant