View Issue Details

IDProjectCategoryView StatusLast Update
0009838Talerwallet-corepublic2025-04-30 22:18
ReporterAntoine A Assigned ToAntoine A  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
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.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

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