View Issue Details

IDProjectCategoryView StatusLast Update
0008016Talerwallet-corepublic2024-04-15 21:32
ReporterFlorian Dold Assigned ToMarcS  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.10Fixed in Version0.10 
Summary0008016: review balance-changed notification and pending incoming amounts
DescriptionOn withdrawal, wallet-core sometimes does not seem to emit balance-changed notifications.

Also, the pending incoming balance is not decreased accordingly.
TagsNo tags attached.

Activities

Florian Dold

2023-12-19 18:51

manager   ~0020781

@MarcS: Can you provide some context when this happens?

Also, I'm not sure about pending incoming: Wallet-core only updates the balance when a withdrawal has entered a final state. This is why finished batches should not update the balance at all until either all batches succeeded or the withdrawal gets aborted.

Note that multiple batches are very rare in the first place and should not occur in practice.

MarcS

2024-04-08 16:32

developer   ~0022154

Problem was, that wallet-core sent balance-changed too early (before the DB was updated). This should be fixed by fdold already weeks ago. Also, I cached the notification and now call getBalances when the withdrawal confirmation dialog is dismissed and the balances view is shown.

Issue History

Date Modified Username Field Change
2023-12-19 18:49 Florian Dold New Issue
2023-12-19 18:49 Florian Dold Status new => assigned
2023-12-19 18:49 Florian Dold Assigned To => Florian Dold
2023-12-19 18:51 Florian Dold Assigned To Florian Dold => MarcS
2023-12-19 18:51 Florian Dold Status assigned => feedback
2023-12-19 18:51 Florian Dold Note Added: 0020781
2024-01-15 20:46 Christian Grothoff Target Version 0.9.4 => 0.10
2024-04-08 16:32 MarcS Status feedback => resolved
2024-04-08 16:32 MarcS Resolution open => fixed
2024-04-08 16:32 MarcS Fixed in Version => 0.9.4
2024-04-08 16:32 MarcS Note Added: 0022154
2024-04-09 13:12 Christian Grothoff Fixed in Version 0.9.4 => 0.10
2024-04-15 21:32 Christian Grothoff Status resolved => closed