View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012244 | Taler | documentation | public | 2026-11-21 10:27 | 2026-11-29 18:40 |
| Reporter | bot-oec [agent] | ||||
| Reviewer | Christian Grothoff | Release signed by | Florian Dold | ||
| Deployed by | Florian Dold | Verifier | Florian Dold | ||
| Communicator | CM_7 | ||||
| Priority | normal | Severity | text | ||
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 1.6 | ||||
| Summary | 0012244: P2P payments: the refund of a purse's coins on expiry or deletion is not documented at the purse endpoints | ||||
| Description | What a coin gets back when its purse expires or is deleted is documented only by the coin history entry (`CoinPurseRefundTransaction`), and there in the older form: the contribution less the refund fee of the coin's denomination, the deposit fee waived. Since exchange 7f43c9292 a purse refund restores the whole contribution, deposit fee included, and the entry states a refund fee of zero; the client library accepts both forms (7b658d8da). The purse endpoints and `/keys` say nothing about it. **Proposed change:** document at `CoinPurseRefundTransaction` that `amount` is the whole contribution and `refund_fee` is zero (with the older form accepted from older exchanges), and state at the purse endpoints that on expiry or deletion each coin gets its whole contribution back, without a refund fee (`spec/p2p.md` (E3)). **Found by:** the formalization of the Taler protocols; specifying the purse refund (`spec/p2p.md`) from the documentation and the exchange. | ||||
| Tags | No tags attached. | ||||
| Proposed patch (taler-docs master b3970cce). CoinPurseRefundTransaction already documents the whole contribution with a zero refund fee (and the older form); this states the same rule at the purse endpoints, for expiry and DELETE. diff --git a/core/exchange/delete-purses-PURSE_PUB.rst b/core/exchange/delete-purses-PURSE_PUB.rst index a1785c19..98e32327 100644 --- a/core/exchange/delete-purses-PURSE_PUB.rst +++ b/core/exchange/delete-purses-PURSE_PUB.rst @@ -1,7 +1,9 @@ .. http:delete:: /purses/$PURSE_PUB Delete a purse that is unmerged and not yet expired. Refunds any money that - is already in the purse. + is already in the purse: each coin gets its whole contribution back, deposit + fee included, without a refund fee (the ``PURSE-REFUND`` entry of the coin + history). **Request:** diff --git a/core/exchange/post-purses-PURSE_PUB-create.rst b/core/exchange/post-purses-PURSE_PUB-create.rst index bb0dd055..c9962e60 100644 --- a/core/exchange/post-purses-PURSE_PUB-create.rst +++ b/core/exchange/post-purses-PURSE_PUB-create.rst @@ -121,7 +121,9 @@ // Indicative time by which the purse should expire // if it has not been merged into an account. At this - // point, all of the deposits made will be auto-refunded. + // point, all of the deposits made will be auto-refunded: + // each coin gets its whole contribution back, deposit fee + // included, without a refund fee. // Must not be further in the future than // ``max_p2p_expiration`` of :http:get:`/keys </keys>`. purse_expiration: Timestamp; @@ -192,7 +194,7 @@ // Indicative time by which the purse should expire // if it has not been merged into an account. At this // point, all of the deposits made should be - // auto-refunded. + // auto-refunded in full (whole contributions, no refund fee). purse_expiration: Timestamp; // EdDSA signature of the purse over diff --git a/core/exchange/post-purses-PURSE_PUB-deposit.rst b/core/exchange/post-purses-PURSE_PUB-deposit.rst index 4d6da7d7..76654c08 100644 --- a/core/exchange/post-purses-PURSE_PUB-deposit.rst +++ b/core/exchange/post-purses-PURSE_PUB-deposit.rst @@ -117,7 +117,9 @@ // Indicative time by which the purse should expire // if it has not been merged into an account. At this - // point, all of the deposits made will be auto-refunded. + // point, all of the deposits made will be auto-refunded: + // each coin gets its whole contribution back, deposit fee + // included, without a refund fee. purse_expiration: Timestamp; // SHA-512 hash of the contact of the purse. | |
| Straightforward API clarification. Done in 2e85a5ab..1bbf61c3 | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-21 10:27 | bot-oec | New Issue | |
| 2026-11-21 10:27 | bot-oec | Implementer | => Emmanuel |
| 2026-11-21 10:27 | bot-oec | Reviewer | => bernaalp |
| 2026-11-21 10:27 | bot-oec | Release signed by | => Antoine A |
| 2026-11-21 10:27 | bot-oec | Deployed by | => bernaalp |
| 2026-11-21 10:27 | bot-oec | Verifier | => bernaalp |
| 2026-11-21 10:27 | bot-oec | Communicator | => CM_7 |
| 2026-11-21 16:00 | oec | Implementer | Emmanuel => |
| 2026-11-21 16:00 | oec | Reviewer | bernaalp => Christian Grothoff |
| 2026-11-21 16:00 | oec | Release signed by | Antoine A => Florian Dold |
| 2026-11-21 16:00 | oec | Deployed by | bernaalp => Florian Dold |
| 2026-11-21 16:00 | oec | Verifier | bernaalp => Florian Dold |
| 2026-11-21 22:44 | Christian Grothoff | Severity | minor => text |
| 2026-11-21 23:18 | bot-oec | Note Added: 0030723 | |
| 2026-11-29 15:59 | Christian Grothoff | View Status | private => public |
| 2026-11-29 18:40 | Christian Grothoff | Status | new => closed |
| 2026-11-29 18:40 | Christian Grothoff | Resolution | open => fixed |
| 2026-11-29 18:40 | Christian Grothoff | Fixed in Version | => 1.6 |
| 2026-11-29 18:40 | Christian Grothoff | Note Added: 0030984 |