ElementsProject / ElementsProject/elements

Sync up use of asset labels and RPC calls

Open
#148 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

Now that asset labels are no longer stored in the wallet, they can be integrated into raw transaction rpc apis.

Currently they are not. This means if a call such as listunspent is changed to return an asset label when set, `createrawtransaction` can't deal with that switch gracefully.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the listunspent and createrawtransaction RPC paths and how asset labels are represented after being removed from wallet storage. The work is done when a label returned by listunspent is accepted gracefully by createrawtransaction and the relevant RPC behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design, blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.