Author

Topic: Bitcoin-cli move? (Read 490 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
October 08, 2017, 10:35:32 AM
#8
Soon? 2 years or more we wait it's great event, but we got just segwit))
Which version we can get new functionality?
Every version of Bitcoin Core brings new functionality. The accounts system is not a consensus rule, it is an internal Bitcoin Core thing so it will be removed when it is implemented. This is very different from Segwit which is a consensus rule and required activation from the rest of the network.
sr. member
Activity: 671
Merit: 256
Universe Project
October 08, 2017, 04:56:10 AM
#7
Thanks. Since it is deprecated, it is not advised to use it any more?
Yes. The accounts system (and thus the move command) is slated to be removed soon.
Soon? 2 years or more we wait it's great event, but we got just segwit))
Which version we can get new functionality?
staff
Activity: 3458
Merit: 6793
Just writing some code
October 07, 2017, 01:44:56 PM
#6
Thank you. If so, what is the best way to have a multi account wallet where you manage 10 - 100 - 1,000 - 100,000 accounts all with different balances?
Use your own account system. Use an external database to handle your accounts and what each person's balance is. Don't try to make each address belong to certain accounts (the Bitcoin Core accounts system doesn't really work like that anyways). Or you can use the multi-wallet feature and have each wallet be an "account". However Bitcoin Core may not be able to handle hundreds or thousands of wallets with multi-wallet. It really is not designed for that use case.
jr. member
Activity: 45
Merit: 1
October 07, 2017, 01:03:54 PM
#5
Thanks. Since it is deprecated, it is not advised to use it any more?
Yes. The accounts system (and thus the move command) is slated to be removed soon.

Thank you. If so, what is the best way to have a multi account wallet where you manage 10 - 100 - 1,000 - 100,000 accounts all with different balances?
staff
Activity: 3458
Merit: 6793
Just writing some code
October 07, 2017, 01:00:26 PM
#4
Thanks. Since it is deprecated, it is not advised to use it any more?
Yes. The accounts system (and thus the move command) is slated to be removed soon.
jr. member
Activity: 45
Merit: 1
October 07, 2017, 12:52:26 PM
#3
move/tt] is a deprecated command that only effects Bitcoin Core's internal accounts system. The accounts system is deprecated. All that move does is that it changes some entries in the internal accounts system. No transactions are actually made.

Thanks. Since it is deprecated, it is not advised to use it any more?
staff
Activity: 3458
Merit: 6793
Just writing some code
October 07, 2017, 12:49:46 PM
#2
move is a deprecated command that only effects Bitcoin Core's internal accounts system. The accounts system is deprecated. All that move does is that it changes some entries in the internal accounts system. No transactions are actually made.
jr. member
Activity: 45
Merit: 1
October 07, 2017, 08:24:47 AM
#1
According to this page (https://en.bitcoin.it/wiki/Help:Accounts_explained#The_Default_Account) there is a move function between accounts on our wallet.
Are these moves instant and do not show up on blockchain?

Please check my last test transactions:
{
    "account": "Account2",
    "address": "1AiXzU8AA7NL6oVKrPR9d9hwATKWwMaadS",
    "category": "receive",
    "amount": 0.00100000,
    "label": "Account2",
    "vout": 0,
    "confirmations": 196,
    "blockhash": "0000000000000000007b634b3278a4d75744e77129bb961126246a6e5b7d06a6",
    "blockindex": 1147,
    "blocktime": 1507270616,
    "txid": "2e2d2869cea148a59a1033531042b7590867baba37b2b72b4787bbfcf370b778",
    "walletconflicts": [
    ],
    "time": 1507270440,
    "timereceived": 1507270440,
    "bip125-replaceable": "no"
},   
{
    "account": "Account1",
    "address": "15z2XgtEbjE1dZ4pFuN1FnZvinfYEmGfmg",
    "category": "receive",
    "amount": 0.00100000,
    "label": "Account1",
    "vout": 1,
    "confirmations": 192,
    "blockhash": "00000000000000000095b8f42ab53956052145534d9e1683c3b1a97668b5d802",
    "blockindex": 949,
    "blocktime": 1507274365,
    "txid": "39fc0d67a5c4830e8092654d28b555943f73f4f228c5dd837f6610a7c39243f2",
    "walletconflicts": [
    ],
    "time": 1507270616,
    "timereceived": 1507270616,
    "bip125-replaceable": "no"
},
{
    "account": "Account2",
    "category": "move",
    "time": 1507274482,
    "amount": -0.00100000,
    "otheraccount": "Account1",
    "comment": ""
},
{
    "account": "Account1",
    "category": "move",
    "time": 1507274482,
    "amount": 0.00100000,
    "otheraccount": "Account2",
    "comment": ""
}

So I received 0.001 to both Account1 and Account2 then moved 0.001 from Account1 to Account2.

However, this move does not have a transaction id and if I check on blockchain, the 2 addresses have the same balance (0.001).

https://blockchain.info/address/1AiXzU8AA7NL6oVKrPR9d9hwATKWwMaadS
https://blockchain.info/address/15z2XgtEbjE1dZ4pFuN1FnZvinfYEmGfmg
Jump to: