View Issue Details

IDProjectCategoryView StatusLast Update
0007937Talerwallet-corepublic2023-12-24 05:29
Reportersebasjm Assigned ToChristian Grothoff 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
PrioritynoneSeverityfeatureReproducibilityalways
Status closedResolutionwon't fix 
Product Versiongit (master) 
Target Version0.9.4Fixed in Version0.9.4 
Summary0007937: wallet should be able to convert lower denom coins into high denom coins
Descriptionin an acceptable exchange smaller coins have higher relative fee than big denoms
this will impact the user after some time: it will perceive higher fees

some things to consider to make the scenario less probable:
 * since fee is in the order of cents, reducing the tx fee for the customer makes this scenario less probable (STEFAN curves)
 * if the merchant accepts to pay some fee then the wallet has a margin to use smaller coins

Still, using the wallet for a long period will lead to small coins due to random prices and change.

what the wallet could do is send all the fresh-and-small coins to the exchange for the exact amount of a bigger coin and receive one new fresh coin.

this operation:
 * is not something interesting for the customer (no need to show as a tx)
 * should trigger automatically (maybe before doing a payment)
 * is naturally limited, it can't be done indefinitely many time since is always converting from lower to higher denoms and converge to the highest denom (it can be potentially for free)



TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2023-09-14 13:17

manager   ~0020511

I disagree, this should not be necessary if the coin does reasonable coin selection on payments.

Christian Grothoff

2023-09-14 13:18

manager   ~0020512

Furthermore, it is dangerous as it may create (even accidentally!) a link between transactions.

sebasjm

2023-09-14 14:36

developer   ~0020513

* exchange: denoms $1 and $0.1 , all fee zero except deposit fee 0.01
 * wallet withdraws 9 coins of $1
 * merchant sells at $0.9

 * after buying 9 times, the wallet will have `$0.1 * 9` coins
 * the 10th payment will cost 10% in fee instead of 1%

Christian Grothoff

2023-09-14 14:43

manager   ~0020514

Only because of the *extreme* denomination structure of demo. Try the same with the canonical binary distribution of denominations.

Issue History

Date ModifiedUsernameFieldChange
2023-09-14 13:11sebasjmNew Issue
2023-09-14 13:11sebasjmStatusnew => assigned
2023-09-14 13:11sebasjmAssigned To => Florian Dold
2023-09-14 13:17Christian GrothoffNote Added: 0020511
2023-09-14 13:18Christian GrothoffNote Added: 0020512
2023-09-14 13:18Christian GrothoffAssigned ToFlorian Dold =>
2023-09-14 13:18Christian GrothoffPrioritynormal => none
2023-09-14 13:18Christian GrothoffStatusassigned => feedback
2023-09-14 14:36sebasjmNote Added: 0020513
2023-09-14 14:36sebasjmStatusfeedback => new
2023-09-14 14:37sebasjmStatusnew => feedback
2023-09-14 14:43Christian GrothoffNote Added: 0020514
2023-12-24 05:29Christian GrothoffAssigned To => Christian Grothoff
2023-12-24 05:29Christian GrothoffStatusfeedback => closed
2023-12-24 05:29Christian GrothoffResolutionopen => won't fix
2023-12-24 05:29Christian GrothoffFixed in Version => 0.9.4
2023-12-24 05:29Christian GrothoffProduct Version => git (master)
2023-12-24 05:29Christian GrothoffTarget Versionpost-1.0 => 0.9.4