View Issue Details

IDProjectCategoryView StatusLast Update
0009838Talerwallet-corepublic2026-09-11 11:07
ReporterAntoine A Assigned ToFlorian Dold  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Versionpost-1.0 
Summary0009838: Clean P2P lifecycle
Descriptionprepare 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.

Tagsdebt

Activities

Florian Dold

2026-09-11 11:07

manager   ~0029942

These states have been overhauled and DD37 has been updated.

Issue History

Date Modified Username Field Change
2025-04-30 22:18 Antoine A New Issue
2025-04-30 22:18 Antoine A Status new => assigned
2025-04-30 22:18 Antoine A Assigned To => Antoine A
2025-08-31 19:47 Christian Grothoff Tag Attached: debt
2025-12-07 10:53 Christian Grothoff Status assigned => confirmed
2026-09-11 11:07 Florian Dold Assigned To Antoine A => Florian Dold
2026-09-11 11:07 Florian Dold Status confirmed => resolved
2026-09-11 11:07 Florian Dold Resolution open => fixed
2026-09-11 11:07 Florian Dold Note Added: 0029942