Skip to content

"listunspent" should clearly mark (or not show) name outputs #192

@domob1812

Description

@domob1812

The listunspent RPC command currently mixes currency outputs and name outputs in the current wallet, which is not good (even though the name outputs are marked as spendable: false). Worse, even expired names (whose output no longer even exists in the UTXO set) are present in the output.

What we should fix:

  • Expired names should in no case be present in the output.
  • For unexpired names, we should either also not include them at all (as they can be queried with name_list), or at least clearly mark them with a new field in the JSON result. E. g., name: "some_name" for name outputs, and name: null / missing for currency outputs.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions