-
- Downloads
Provisional fix of double spending/agreeing
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
parent
89c2be1f
No related branches found
No related tags found
Showing
- src/main/java/fucoin/Main.java 1 addition, 1 deletionsrc/main/java/fucoin/Main.java
- src/main/java/fucoin/actions/transaction/ActionCommitDistributedCommittedTransfer.java 6 additions, 5 deletions...transaction/ActionCommitDistributedCommittedTransfer.java
- src/main/java/fucoin/actions/transaction/ActionPrepareDistributedCommittedTransfer.java 7 additions, 0 deletions...ransaction/ActionPrepareDistributedCommittedTransfer.java
Loading
Please register or sign in to comment