Skip to content
Snippets Groups Projects
  • Luca Keidel's avatar
    f45af81d
    Provisional fix of double spending/agreeing · f45af81d
    Luca Keidel authored
    Before it was possible that a wallet was able to spend more money than it has. The cause were two pending distributed commits in the system at the same time. Since the wallets only update their ledger when the supervisor sends the commit message, they also agreed to the second request because their ledger was not updated. However, the second request could exceed the rest amount of FUCs in the ledger
    f45af81d
    History
    Provisional fix of double spending/agreeing
    Luca Keidel authored
    Before it was possible that a wallet was able to spend more money than it has. The cause were two pending distributed commits in the system at the same time. Since the wallets only update their ledger when the supervisor sends the commit message, they also agreed to the second request because their ledger was not updated. However, the second request could exceed the rest amount of FUCs in the ledger
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
ActionPrepareDistributedCommittedTransfer.java 1.70 KiB