4

I am trying to edit the label of a bitcoin address in my wallet outside of bitcoin-qt. Currently I only know of 'setaccount' but it results in two addresses after editing one, it assigns a new address to the old label for some reason?

Does anyone know if there is a way to accomplish my goal?

2 Answers 2

1

accounts are groups of addresses and the label you see is the name of an account. you may list this with rpc listaddressgroupings. a key that you "relabel" with setaccount will be "moved" to the account with the new label but all other addresses stay with the other account. of course you may move all addresses to another account. basically an address can only belong to one account at a time, not vice versa.

also see How do you delete an account in Bitcoin Core?

1

bitcoin core version 0.20.0 has: bitcoin-cli setlabel 16ga2uqnF1NqpAuQeeg7sTCAdtDUwDyJav brainwallets

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.