vjrj
26 August 2023 12:04
19
Thanks @kimamila for your comments.
The lib I use don’t allow more customizations. I have to find a UI alternative.
kimamila:
If I make a payment (for example, 100 G1), the transaction appears correctly, but the balance hasn’t been updated (by -100€).
You are right. I use the GVA returned balance and the calculation depends from one node to other (In the past I calculated this via BMA queries and calculations).
kimamila:
By the way, do you make sure that GVA doesn’t send you the same TX sources (already consumed, for example in my 100 G1 send) for the next payment? Is there a way to tell GVA to exclude certain TX sources? I feel like GVA doesn’t consider pending payments: can you confirm? Maybe you also don’t switch nodes regularly, which could explain these issues?
If GVA uses the same sources for consecutive payments, then only the first payment can work: you’d have to wait for the 1st TX to be written so that the next TX generated by GVA is correct. Do you get what I mean?
The gva pay call is quite simple:
Duniter’s Ğ1Lab
Looking in a /gva/playground:
I’m not sure if we can do it better from the client side.
And g1nkgo choose aleatory from the synced and reachable nodes, so maybe sometimes the same node was selected during fast payments:
Duniter’s Ğ1Lab
PS: BTW Merci merci beaucoup for your donations