View Issue Details

IDProjectCategoryView StatusLast Update
0006414Talerauditorpublic2021-08-24 16:23
Reporteroec Assigned ToChristian Grothoff  
PrioritynormalSeveritytextReproducibilityalways
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.8Fixed in Version0.8 
Summary0006414: No checks for refunds table implemented
DescriptionThere is no implementation for checks of the refunds table. (There are however some checks related to refunds in aggregation and coins)

I suggest to add a timestamp to the refunds table and add a check that a refund happened before a `refund_deadline` passed.
TagsNo tags attached.

Activities

Christian Grothoff

2020-06-24 13:49

manager   ~0016352

Adding such a timestamp would not be very meaningful, as either side can easily lie (or disagree) about it. I also think you are misunderstanding the 'refund_deadline' semantic. The 'refund_deadline' is NOT the last time when a refund may happen, but the EARLIEST time by which the exchange may wire the funds. Refunds are allowed until the time when the exchange wires the funds to the merchant.

The checks for refunds are included in the coin consistency check (if coins are refunded, their balance goes back up _allowing_ further refreshes against those coins), and of course in the aggregate wire transfer calculations (how much we should wire to the merchant).

So what _else_ would you want to check that is meaningful?

oec

2020-06-25 10:59

developer   ~0016363

see my note on 6413, what about verifying that a signature for a refund comes from a merchant whose merchant_pub has been used in a deposit before?

Christian Grothoff

2020-06-25 11:01

manager   ~0016364

It must be the "right" merchant_pub, not just seen in "a deposit before", but seen in THE deposit for that coin.
This IS checked in taler-helper-auditor-coins.c::refund_cb().

Christian Grothoff

2020-07-14 21:17

manager   ~0016449

62d5aae1..ef0eb9e5 improves the 'system' manual, documenting for each auditor helper what checks it performs (at a moderate level of detail).

Christian Grothoff

2020-07-14 21:18

manager   ~0016450

I believe the new documentation makes it obvious why the refunds table does not have its own helper.

Issue History

Date Modified Username Field Change
2020-06-24 13:45 oec New Issue
2020-06-24 13:45 oec Status new => assigned
2020-06-24 13:45 oec Assigned To => Christian Grothoff
2020-06-24 13:49 Christian Grothoff Note Added: 0016352
2020-06-24 13:49 Christian Grothoff Status assigned => feedback
2020-06-24 13:58 Christian Grothoff Severity major => text
2020-06-25 10:59 oec Note Added: 0016363
2020-06-25 10:59 oec Status feedback => assigned
2020-06-25 11:01 Christian Grothoff Note Added: 0016364
2020-06-25 23:48 Christian Grothoff Product Version => git (master)
2020-06-25 23:48 Christian Grothoff Target Version => 0.8
2020-07-14 21:17 Christian Grothoff Note Added: 0016449
2020-07-14 21:18 Christian Grothoff Status assigned => resolved
2020-07-14 21:18 Christian Grothoff Resolution open => fixed
2020-07-14 21:18 Christian Grothoff Fixed in Version => 0.8
2020-07-14 21:18 Christian Grothoff Note Added: 0016450
2021-08-24 16:23 Christian Grothoff Status resolved => closed