View Issue Details

IDProjectCategoryView StatusLast Update
0011968Talerexchangepublic2026-11-08 18:13
Reporteroec Assigned ToChristian Grothoff Resolution deadline
ImplementerChristian Grothoff Revieweroec  
Release signed byChristian Grothoff Deployed byChristian Grothoff  
Verifieroec CommunicatorCM_7  
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)4Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status implementingResolutionopen 
Target Version1.7 
Summary0011968: coin history amounts for (purse) refunds don't match the coin balance
DescriptionDuring fixing 0011916 Culottes and I stumbled over this:

1. Purse refunds: SQL (do_expire_purse.sql, do_purse_delete.sql) credits the
   full deposit, but the signed PURSE-REFUND entry, the spec and the auditor's
   per-coin check deduct the refund fee; libtalerexchange and wallet-core add
   the deposit fee back. Client balances are only right if both fees are equal.
   Needs a decision which side is correct.

2. Full refunds: do_refund.sql also restores the deposit fee; the history and
   spec don't say so, and libtalerexchange doesn't account for it.

3. libtalerexchange requires "amount" in every history entry, but
   RESERVE-OPEN-DEPOSIT only has "coin_contribution", so parsing fails.


I didn't want to mangle the fix for 0011916 with dealing with this, so here is a new issue.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

There are no notes attached to this issue.

Issue History

Date ModifiedUsernameFieldChange
2026-11-08 18:11oecNew Issue
2026-11-08 18:13Christian GrothoffImplementer => Christian Grothoff
2026-11-08 18:13Christian GrothoffReviewer => oec
2026-11-08 18:13Christian GrothoffRelease signed by => Christian Grothoff
2026-11-08 18:13Christian GrothoffDeployed by => Christian Grothoff
2026-11-08 18:13Christian GrothoffVerifier => oec
2026-11-08 18:13Christian GrothoffEstimated effort (hours) => 4
2026-11-08 18:13Christian GrothoffStatusnew => planning
2026-11-08 18:13Christian GrothoffTarget Version => 1.7
2026-11-08 18:13Christian GrothoffAssigned To => Christian Grothoff
2026-11-08 18:13Christian GrothoffStatusplanning => implementing