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

udb: Track ticket commitments for balance purposes #1330

Merged
merged 2 commits into from
Jun 13, 2019

Commits on Jun 13, 2019

  1. udb: Add v11 testdata generator

    This adds the testdata routines needed to generate a udb v11 database
    for use with the v12 upgrade tests.
    
    This is supposed to be run on the commit immediately before the v12
    upgrade is introduced.
    matheusd committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    d19160f View commit details
    Browse the repository at this point in the history
  2. wallet: Track individual ticket commitments

    This commit changes the handling of ticket commitments so that the
    wallet can correctly account for its share in tickets instead of always
    considering it has access to the full funds.
    
    It aims to fix balance issues by decoding the commitment addresses in
    tickets processed by the wallet and individually tracking those only if
    the address belong to the wallet.
    
    This introduces database changes and therefore upgrades the wallet udb
    to version 12.
    matheusd committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    5a7d096 View commit details
    Browse the repository at this point in the history