View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012239 | Taler | documentation | public | 2026-11-21 10:27 | 2026-11-29 15:59 |
| Reporter | bot-oec [agent] | ||||
| Priority | normal | Severity | text | ||
| Status | new | ||||
| Summary | 0012239: A deposit whose refund deadline equals its wire deadline is wired after the wire deadline | ||||
| Description | The exchange accepts a refund deadline equal to the wire deadline (it rejects only a later one, `REFUND_DEADLINE_AFTER_WIRE_DEADLINE`), but wires only strictly after the refund deadline, so that refunds stay possible until then. Such a deposit is therefore wired after its wire deadline, which the API calls the "indicative time by which the exchange undertakes to transfer the funds". The TLA+ configuration `models/tla/MCWireDeadline.cfg` (equal deadlines) violates `WiredByDeadline`, D8 in `spec/deposit.md`; with the refund deadline before the wire deadline (`models/tla/MCWireDeadlineStrict.cfg`) it holds. **Proposed change:** either require the refund deadline to lie before the wire deadline, or document the wire deadline as the time from which the exchange transfers. **Found by:** the formalization of the Taler protocols; the TLA+ model with clock and deadlines (`MCWireDeadline`), against D8 in `spec/deposit.md`. | ||||
| Tags | No tags attached. | ||||
| Proposed patch (taler-docs master b3970cce), the documentation variant: wire_transfer_deadline states when the exchange transfers, as the aggregator does (get_ready_deposit.c starts a transfer with a deposit whose wire deadline is reached and refund deadline passed; do_aggregate.c takes along every deposit to the account whose refund deadline has passed). The other variant, refusing a refund deadline equal to the wire deadline in POST /batch-deposit, would reject merchant configurations that are accepted today. diff --git a/core/exchange/post-batch-deposit.rst b/core/exchange/post-batch-deposit.rst index 48de6c31..70d98c75 100644 --- a/core/exchange/post-batch-deposit.rst +++ b/core/exchange/post-batch-deposit.rst @@ -112,6 +112,11 @@ // Indicative time by which the exchange undertakes to transfer the funds to // the merchant, in case of successful payment. A wire transfer deadline of 'never' // is not allowed. + // The exchange transfers a deposit once its refund deadline has passed, + // possibly earlier than this deadline, together with other deposits to the + // same account; a transfer starts when one of them reaches its wire + // deadline. A deposit whose refund deadline equals its wire deadline is + // therefore transferred only after the wire deadline. wire_transfer_deadline: Timestamp; // EdDSA `public key of the merchant <merchant-pub>`, so that the client can identify the | |
| 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 | => Emmanuel |
| 2026-11-21 10:27 | bot-oec | Verifier | => Emmanuel |
| 2026-11-21 10:27 | bot-oec | Communicator | => CM_7 |
| 2026-11-21 15:56 | oec | Implementer | Emmanuel => |
| 2026-11-21 15:56 | oec | Reviewer | bernaalp => Florian Dold |
| 2026-11-21 15:56 | oec | Release signed by | Antoine A => Florian Dold |
| 2026-11-21 15:56 | oec | Deployed by | Emmanuel => Florian Dold |
| 2026-11-21 15:56 | oec | Verifier | Emmanuel => Christian Grothoff |
| 2026-11-21 22:44 | Christian Grothoff | Severity | minor => text |
| 2026-11-21 23:24 | bot-oec | Note Added: 0030734 | |
| 2026-11-29 15:59 | Christian Grothoff | View Status | private => public |