This release includes multiple wallet support and Cesium password protected wallet support (see left up menu icon to open the drawer). Some screenshots:
For a huge list of enhancements, fixes and credits, read this.
Know bug: We have some duplication of notifications with new multi card processing (I couldn’t fix it yet).
G1nko installé sur Fairphone 3 et testé en live à la Fête des Possibles le week end dernier.
Import d’un compte Cesium via clef publique + identifiant. OK
Paiement vers un compte Cesium par QRcode. OK
Navigation intuitive et interface claire ! Bravo !
Amélioration possible : importer un compte Cesium en scannant l’adresse par QRcode au lieu de copier/coller l’adresse. (ou si la fonction existe, alors j’ai pas vu la fonction ).
I’ve just published the Ğ1nkgo v1.0.1 apk This is a maintenance release that only includes full translation to German (thanks to Andreas Wahlen) and Esperanto (thanks to @flodef). Also in the web version https://g1nkgo.comunes.org/
I was these days trying to find a way to workaround this that without doubt is the main current issue of g1nkgo.
To summarize, currently you cannot make fast concurrent payments in G1nkgo (something common in a gmarket), and subsequent fast payment are marked as failed and you have to retry later, manually.
The situation is that currently, GVA basic genTx have a simple interface (issuer, recipient, amount, comment) and if I’m not wrong, you cannot select the sources/inputs:
If I send several payments in a short time using a gva node, as @kimamila mentioned, only the first payment is well processed (I was hoping that the duniter gva node, with this interface, will deal with the whole payment processing of sources, etc, but I was wrong).
In the past I opted to use random gva nodes on each payment with the (silly) hope to workaround that.
I also added the retry/failed-payments stuff to don’t lost payments.
Then, I’m trying now to do a more complex/advanced payments take into account the UTXOs. I have the first part more or less done, that is, retrieve the utxos of a pubkey and calculate for a payment which utxos to use, mark as consumed, and allow to do other payments without use that previously consumed utxos.
This weekend I implemented this part (in durt and g1nkgo) but now I need to do the tx with the selected utxos as inputs.
There is an additional genComplexTx that it sounds to me that maybe can do the job of do such a payment (correct me):
But I’m not sure and aslo I’m a bit lost about the arguments (for instance of issuers: [Txissuer]!). And I don’t know if some client or library is using this nowadays via gva.
Other options is to use BMA for this part, but still will be great if I have some API call sample or documentation to follow.
I think you should use mempool utxo for transactions in Ginkgo, that should solve your tx problems.
The only case this would make problem is if the mempol used utxo failed to validate in blockchain.
Maybe we should make unit test to compare and choose the best case.
I made a MR for that if you want.
I also published Durt 0.1.7 with you latests changes.
I see that you get utxo from accounts in ginkgo but not sure to understand why you need it since you use GVA to generate de transaction document, by choosing sources and generate changes transactions itself.
If the way GVA choose the utxo himself still have problems, you still can generate the transaction document yourself by choosing utxo with changes transactions, GVA makes it possible, like Cesium and Silkaj do with BMA, but it’s a bit of work to add in Durt, and I never made this kind of thing myself so I could not help.
Maybe @Moul or @vit could help you to generate transaction document yourself since they did it in python, and take exemple from the document generated by GVA.
If you have to make a lot of transactions to debug your work on Durt, you can use durt_cli, i made especially to try and debug durt. It’s a really simple cli tool which use durt lib, usefull if you want to loop things with bash …
I make it work finally after removing some faulty workarounds and your MR. I tried to use mempool in the past but didn’t work neither because I used only on retries after a payment error.
This version includes small improvements, and importantly, allows quick payments in a short period of time (such as quick payments between purchases in markets). That is why it is recommended to update the app. For more details you can read this.