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

blockchain: Fix ticket db disconnect revocations. #2768

Merged
merged 1 commit into from
Oct 28, 2021

Commits on Oct 22, 2021

  1. blockchain: Fix ticket db disconnect revocations.

    This addresses an issue in the ticket database when disconnecting a
    block that contains an automatic revocation.
    
    When the automatic ticket revocations agenda is enabled, a ticket can
    become missed and revoked in the same block.  When connecting that block
    to the ticket database, this is recorded as two separate entries in the
    undo data (the first moving it to missed, and the second moving it to
    revoked).  Therefore, when disconnecting the block, the undo data needs
    to be applied in reverse order.
    rstaudt2 committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    bcbd6f9 View commit details
    Browse the repository at this point in the history