ElementsProject / ElementsProject/elements

return both address types in RPC calls

Open
#356 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.2k
Forks
416
Avg merge
1d 23h
Merged PRs (30d)
15

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.