View Issue Details

IDProjectCategoryView StatusLast Update
0011334Talerwallet-corepublic2026-08-10 00:34
ReporterFlorian Dold Assigned ToFlorian Dold  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version1.6Fixed in Version1.6 
Summary0011334: perf: wallet-core should be more lazy with storing denominations in DB
DescriptionCurrently, DB writes for denominations are the main perf bottleneck during onboarding.

When we get a /keys response from the exchange, we should:
* Filter out more of the denomination keys that we don't need (yet/anymore)
* Store the (filtered?) /keys response from the exchange in bulk
* Only individually store denominations in the DB that we need for upcoming withdrawals
TagsNo tags attached.

Activities

Florian Dold

2026-08-09 22:48

manager   ~0029429

commit ae44f3187c0428ff9c84c881e194df9f1642d06b
Author: Florian Dold <dold@taler.net>
Date: Thu Aug 6 19:02:48 2026 +0200

    wallet: only store denominations that can still be withdrawn from
    
    An exchange advertises a denomination until its legal expiration, so most of a
    /keys response is denominations no wallet can ever withdraw from -- 952 of 1022
    on the demo exchange. Ones already in the database are kept regardless: a coin
    in the wallet may refer to them.
    
    Issue: https://bugs.taler.net/n/11334

commit 540cd68e6ef2d56559d91657ecde3b789a441119
Author: Florian Dold <dold@taler.net>
Date: Thu Aug 6 19:02:40 2026 +0200

    wallet: look up denomination families once per exchange update
    
    An exchange has a handful of families but lists a denomination per family and
    rotation period, so querying per denomination was a query per row of /keys.
    
    Issue: https://bugs.taler.net/n/11334

Issue History

Date Modified Username Field Change
2026-04-01 11:43 Florian Dold New Issue
2026-04-01 11:43 Florian Dold Status new => assigned
2026-04-01 11:43 Florian Dold Assigned To => Florian Dold
2026-05-29 21:09 Christian Grothoff Status assigned => confirmed
2026-05-29 21:09 Christian Grothoff Target Version 1.6 => 1.8
2026-08-06 16:26 Florian Dold Target Version 1.8 => 1.7
2026-08-09 22:48 Florian Dold Status confirmed => resolved
2026-08-09 22:48 Florian Dold Resolution open => fixed
2026-08-09 22:48 Florian Dold Note Added: 0029429
2026-08-10 00:34 Christian Grothoff Fixed in Version => 1.6
2026-08-10 00:34 Christian Grothoff Target Version 1.7 => 1.6