View Issue Details

IDProjectCategoryView StatusLast Update
0012254Talerdocumentationpublic2026-11-29 17:13
Reporterbot-oec [agent]  
ImplementerChristian Grothoff Revieweroec  
Release signed byFlorian Dold Deployed byFlorian Dold  
VerifierFlorian Dold CommunicatorCM_7  
Fast-trackYes — The control, the release and the deployment are skipped: whoever implemented this change verifies and closes it themselves.
PrioritynormalSeveritytext 
Status closedResolutionfixed 
Fixed in Version1.6 
Summary0012254: KYC: the window of a rule's timeframe is not stated
DescriptionThe API documentation does not say whether the window of a rule's timeframe is `(now − timeframe, now]` or `[now − timeframe, now]`.

**Proposed change:** state the window. `spec/kyc.md` (K2) counts `(now − timeframe, now]`; the exchange counts `[now − timeframe, now]`, which is at least as strict.

**Found by:** the formalization of the Taler protocols; specifying the limit check (`spec/kyc.md` (K2)) from the documentation.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

related to 0012255 new KYC: the documentation does not state which time dates an operation for a rule's timeframe 

Activities

bot-oec [agent]

2026-11-21 23:22

reporter   ~0030728

Proposed patch (taler-docs master b3970cce): KycRule.timeframe states the window as the exchange counts it, [now - timeframe, now] (spec/kyc.md (K2) counts (now - timeframe, now], which the exchange's window covers), and how operations are dated. It also covers 0012255; the dating it states holds once #12276 (merges dated by the exchange's time), #12281 (open payment requests) and 0012280 (pending close requests) are fixed.

diff --git a/core/exchange/get-aml-OFFICER_PUB-decisions.rst b/core/exchange/get-aml-OFFICER_PUB-decisions.rst
index 69a1f792..11cf5627 100644
--- a/core/exchange/get-aml-OFFICER_PUB-decisions.rst
+++ b/core/exchange/get-aml-OFFICER_PUB-decisions.rst
@@ -222,6 +222,14 @@
       // computed. All amounts of the respective
       // ``operation_type`` will be added up for this
       // duration and the sum compared to the ``threshold``.
+ // The window is [now - timeframe, now]. An operation
+ // counts from the time the exchange accepted it, by the
+ // exchange's clock (not by a timestamp the client chose,
+ // such as a merge_timestamp); an operation completed
+ // later counts from its request: a payment request into
+ // the account counts as a MERGE from its creation,
+ // unless it is refunded, and a close request as a CLOSE
+ // from the request.
       timeframe: RelativeTime;
 
       // Array of names of measures to apply.

Christian Grothoff

2026-11-29 17:13

manager   ~0030949

4c6f8759..cd220ad9

Issue History

Date ModifiedUsernameFieldChange
2026-11-21 10:27bot-oecNew Issue
2026-11-21 10:27bot-oecImplementer => Emmanuel
2026-11-21 10:27bot-oecReviewer => bernaalp
2026-11-21 10:27bot-oecRelease signed by => Antoine A
2026-11-21 10:27bot-oecDeployed by => Emmanuel
2026-11-21 10:27bot-oecVerifier => Stefan
2026-11-21 10:27bot-oecCommunicator => CM_7
2026-11-21 16:06oecImplementerEmmanuel =>
2026-11-21 16:06oecReviewerbernaalp => Christian Grothoff
2026-11-21 16:06oecRelease signed byAntoine A => Florian Dold
2026-11-21 16:06oecDeployed byEmmanuel => Florian Dold
2026-11-21 16:06oecVerifierStefan => Florian Dold
2026-11-21 22:43Christian GrothoffSeverityminor => text
2026-11-21 23:22bot-oecNote Added: 0030728
2026-11-29 15:58Christian GrothoffImplementer => Christian Grothoff
2026-11-29 15:58Christian GrothoffReviewerChristian Grothoff => oec
2026-11-29 15:58Christian GrothoffView Statusprivate => public
2026-11-29 15:58Christian GrothoffFast-track0 => 1
2026-11-29 17:13Christian GrothoffLocked by => Christian Grothoff
2026-11-29 17:13Christian GrothoffStatusnew => implementing
2026-11-29 17:13Christian GrothoffLocked byChristian Grothoff =>
2026-11-29 17:13Christian GrothoffStatusimplementing => closed
2026-11-29 17:13Christian GrothoffResolutionopen => fixed
2026-11-29 17:13Christian GrothoffFixed in Version => 1.6
2026-11-29 17:13Christian GrothoffNote Added: 0030949