It seems that the command 'wallet_account_rename' allows the transaction of renaming a registered name to another registered name.
For example, I have the account 'A'. And alt has the account 'B'.
After
wallet_account_rename A B
The results of wallet_list_my_account
will say that I have a registered account with name 'B' which should be belong to alt.
the original name registered is name A
the secret key will remain the same and the name B you see now on your account is something like a local contact name....
if you check the secret key of B it is the same like A
so their exist 2 accounts B with different secret keys, one yours (B old A) and one alt's B
BUT only you can see your B account on your wallet.... I am curious what happens when you try to transfer funds to account B? I bet on the list will show up two B (but with different public keys of course) How can choose now the right one since the public key don't show up?(except creating a new local contact name
) Please check if I am right.... It is confusing for sure and must be changed.