Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "change_in_name" option to name_new/firstupdate/update #462

Open
JeremyRand opened this issue Sep 30, 2021 · 0 comments
Open

Add "change_in_name" option to name_new/firstupdate/update #462

JeremyRand opened this issue Sep 30, 2021 · 0 comments

Comments

@JeremyRand
Copy link
Member

Is your feature request related to a problem? Please describe.

It is desirable in some cases (e.g. when optimizing for minimal fees) to embed the change of a name transaction in the name output instead of creating a separate currency output for the change. Unfortunately, this is not supported by the name RPC methods.

Describe the solution you'd like

Add a change_in_name field to the options parameter in the name RPC methods. This field is a boolean, and defaults to false. If it is set to true, the change is added to the amount in the name output, instead of creating a currency output for the change. This improves parity between name and currency transactions.

Describe alternatives you've considered

N/A.

Additional context

N/A.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant