ElementsProject / ElementsProject/elements

return both address types in RPC calls

Aperta
#356 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
1.2k
Fork
416
Merge medio
1g 23h
PR unite (30g)
15

Descrizione

Currently the wallet returns the non-confidential version of addresses, leading to user confusion sometimes, and requires a `validateaddress` call to re-derive the confidential address. This is non-optimal.

We could simply switch the default to returning CT addresses(which would break API), or return both address types to maintain it.

First we should audit where this affects users most, and see if there's a principled way of displaying the data.

edit: Another thought: a startup argument that switches to confidential, if known. No API breakage, no extra verbosity.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.