Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Tyger on June 19, 2017, 04:19:41 PM



Title: Move rpc command will be removed?
Post by: Tyger on June 19, 2017, 04:19:41 PM
Hi all,

I am reading the rpc reference and it says that they will remove the move command, is this true? What should be used instead?

https://bitcoin.org/en/developer-reference#move


Title: Re: Move rpc command will be removed?
Post by: achow101 on June 19, 2017, 04:26:53 PM
The move command is something for Bitcoin Core's internal accounts system. It does not actually create a transaction, it just changes the balances of 2 of the accounts that are internal to Bitcoin Core. Since the accounts system is going to be removed, there is no need for the move command anymore and it too will be removed (along with many other RPCs that are for accounts only).

To actually send Bitcoin with RPCs, you should be using sendtoaddress or sendmany.


Title: Re: Move rpc command will be removed?
Post by: Tyger on June 19, 2017, 04:31:50 PM
Did not know that, a wallet will still be having multiple addresses i guess so you need to create a real transaction just to send your own bitcoins within your wallet? This will cost you something no?


Title: Re: Move rpc command will be removed?
Post by: achow101 on June 19, 2017, 05:13:00 PM
Did not know that, a wallet will still be having multiple addresses i guess so you need to create a real transaction just to send your own bitcoins within your wallet? This will cost you something no?
Yes


Title: Re: Move rpc command will be removed?
Post by: DannyHamilton on June 19, 2017, 05:56:26 PM
Did not know that, a wallet will still be having multiple addresses i guess so you need to create a real transaction just to send your own bitcoins within your wallet? This will cost you something no?

This is not new.  That is how bitcoin has ALWAYS worked.  Addresses are not going away, just the wallet's internal accounting system.  A move command NEVER actually moved any bitcoins between any addresses.  All it did was update the local information in the wallet about two of the internal accounts.