View Issue Details

IDProjectCategoryView StatusLast Update
0007578Talerwallet-corepublic2023-09-23 13:09
ReporterFlorian Dold Assigned Toavalos 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
PrioritylowSeveritytweakReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.9.3Fixed in Version0.9.3 
Summary0007578: rename wallet-core p2p payments requests
DescriptionThe current API has some weird asymmetries and is rather confusing.

In particular, the preparePeer* requests don't prepare anything!

It's not even clear what preparePeerPullPayment is supposed to do. Is it about an initiation? An incoming payment? Why is there an effective and raw amount returned? Very confusing ...

We need to properly document all those calls and make sure they have clearer names.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

has duplicate 0007565 closedFlorian Dold improve consistency of the wallet's peer payments API 

Activities

Florian Dold

2023-02-17 01:27

manager   ~0019857

The FIXME comments in the wallet API types file suggest new, better names:

https://git.taler.net/wallet-core.git/tree/packages/taler-wallet-core/src/wallet-api-types.ts

Alternatively, since the wallet API is now growing larger and larger, we could also move to namespaced names (but using the same basic terminology).

Florian Dold

2023-02-20 00:46

manager   ~0019884

The operations now have new names in wallet-core.

The old names are still supported, see translateLegacyOperationNames (https://git.taler.net/wallet-core.git/tree/packages/taler-wallet-core/src/wallet.ts#n1504).

The Android wallet should switch to the new names, then we can remove the mapping.

avalos

2023-02-28 16:10

developer   ~0019909

Apparently, Torsten already took care of this. Could you please confirm? https://git.taler.net/taler-android.git/tree/wallet/src/main/java/net/taler/wallet/peer/PeerManager.kt

Florian Dold

2023-03-05 01:33

manager   ~0019920

Yes, this is resolved.

Issue History

Date ModifiedUsernameFieldChange
2023-01-13 00:45Florian DoldNew Issue
2023-01-13 00:45Florian DoldStatusnew => assigned
2023-01-13 00:45Florian DoldAssigned To => Florian Dold
2023-01-13 01:30Florian DoldRelationship addedhas duplicate 0007565
2023-01-13 16:02Christian GrothoffSeverityminor => tweak
2023-02-17 01:27Florian DoldStatusassigned => feedback
2023-02-17 01:27Florian DoldNote Added: 0019857
2023-02-17 01:55Florian DoldPrioritynormal => low
2023-02-17 01:55Florian DoldSummaryclarify / restructure wallet-core p2p payments API => rename wallet-core p2p payments requests
2023-02-17 14:06Florian DoldTarget Version0.9.2 => 0.9.4
2023-02-20 00:45Florian DoldAssigned ToFlorian Dold => avalos
2023-02-20 00:46Florian DoldNote Added: 0019884
2023-02-20 00:46Florian DoldStatusfeedback => assigned
2023-02-20 00:47Florian DoldDescription Updated
2023-02-20 00:47Florian DoldTarget Version0.9.4 => 0.9.3
2023-02-28 16:10avalosNote Added: 0019909
2023-03-05 01:33Florian DoldStatusassigned => informing
2023-03-05 01:33Florian DoldResolutionopen => fixed
2023-03-05 01:33Florian DoldNote Added: 0019920
2023-04-13 18:36Florian DoldCategorywallet (TS core) => wallet-core
2023-09-23 13:07Christian GrothoffFixed in Version => 0.9.3
2023-09-23 13:09Christian GrothoffStatusinforming => closed