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

[Consensus][RingCT] Correctly track and test RingCT spends. #972

Merged
merged 1 commit into from
Mar 13, 2022

Commits on Mar 11, 2022

  1. Correctly track and test RingCT spends.

    1.  When creating a transaction, the record has dummy inputs, but we
        want to mark the actual txo's as pending spend so later transactions
        don't attempt to spend them.
    2.  When verifying that we aren't double-spending, if we're only testing
        that a transaction can be accepted, don't track the inputs as though
        we're trying to commit the transaction. This way we can test
        accepting a transaction and later commit it (e.g. as part of a batch).
    Zannick committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    ec15117 View commit details
    Browse the repository at this point in the history