Bitcoin Forum
May 24, 2024, 08:07:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Move rpc command will be removed?  (Read 348 times)
Tyger (OP)
Full Member
***
Offline Offline

Activity: 141
Merit: 102



View Profile
June 19, 2017, 04:19:41 PM
 #1

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
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6653


Just writing some code


View Profile WWW
June 19, 2017, 04:26:53 PM
 #2

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.

Tyger (OP)
Full Member
***
Offline Offline

Activity: 141
Merit: 102



View Profile
June 19, 2017, 04:31:50 PM
 #3

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?
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6653


Just writing some code


View Profile WWW
June 19, 2017, 05:13:00 PM
 #4

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

DannyHamilton
Legendary
*
Offline Offline

Activity: 3402
Merit: 4656



View Profile
June 19, 2017, 05:56:26 PM
 #5

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!