0
I am seeing a smaller amount of BTC when I run ./bitcoin-cli getbalance compared to ./bitcoin-cli getbalance "" Here is the documentation on GetBalance from the BTC wiki, which highlights why I am confused
getbalance [account] [minconf=1]
If [account] is not specified, returns the server's total available balance.
If [account] is specified, returns the balance in the account.
If no account is specified, it should return the server's total balance, and yet here is my result:
./bitcoin-cli getbalance --- 0.00001250
./bitcoin-cli getbalance "" --- 0.34869089
Why is this happening?
Thanks, how do I move the bitcoin into the main balance so I can run sendtoaddress without an account argument? – Barney Chambers – 2019-11-22T20:40:51.230
Also, when I use
listaccountsthere is only one account, so I'm not sure why there are 2 separate balances – Barney Chambers – 2019-11-22T21:06:56.377Accounts were deprecated a couple years ago. In version 0.17 labels were introduced as a "replacement" for accounts however the main differences are you can't spend from a label and labels don't have balances. https://bitcoin.org/en/release/v0.17.0#configuration-sections-for-testnet-and-regtest
– m1xolyd1an – 2019-11-23T18:46:32.433