View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009838 | Taler | wallet-core | public | 2025-04-30 22:18 | 2025-04-30 22:18 |
Reporter | Antoine A | Assigned To | Antoine A | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Target Version | post-1.0 | ||||
Summary | 0009838: Clean P2P lifecycle | ||||
Description | prepare operation that returns transaction ID should fail with an appropriate error code if something already prevents completion: - insufficient balance - expired - aborted - completed by another wallet We should have a specific error code for each of these cases, they can still be generic for all transactions as the user interface already knows what type of transaction it is from the URI: WALLET_PAYMENT_INSUFFICIENT_BALANCE instead of WALLET_PEER_PUSH_PAYMENT_INSUFFICIENT_BALANCE or WALLET_PEER_PULL_PAYMENT_INSUFFICIENT_BALANCE WALLET_PAYMENT_EXPIRED instead of WALLET_PEER_PULL_DEBIT_PURSE_GONE WALLET_PAYMENT_ABORTED WALLET_PAYMENT_COMPLETED We also need AbortedOtherWallet and Expired status. | ||||
Tags | No tags attached. | ||||