View Issue Details

IDProjectCategoryView StatusLast Update
0011334Talerwallet-corepublic2026-08-09 22:34
ReporterFlorian Dold Assigned ToFlorian Dold Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status informingResolutionfixed 
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2026-08-09 20: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 ModifiedUsernameFieldChange
2026-04-01 09:43Florian DoldNew Issue
2026-04-01 09:43Florian DoldStatusnew => assigned
2026-04-01 09:43Florian DoldAssigned To => Florian Dold
2026-05-29 19:09Christian GrothoffStatusassigned => implementing
2026-05-29 19:09Christian GrothoffTarget Version1.6 => 1.8
2026-08-06 14:26Florian DoldTarget Version1.8 => 1.7
2026-08-09 20:48Florian DoldStatusimplementing => informing
2026-08-09 20:48Florian DoldResolutionopen => fixed
2026-08-09 20:48Florian DoldNote Added: 0029429
2026-08-09 22:34Christian GrothoffFixed in Version => 1.6
2026-08-09 22:34Christian GrothoffTarget Version1.7 => 1.6