bitcoin-cli
(and other software) communicates with Bitcoin Core using the so-called JSON-RPC protocol.
If you start Bitcoin Core as bitcoind
(without GUI), that protocol is enabled by default (because otherwise there'd be no way to interact with it). If you start Bitcoin Core as bitcoin-qt
(with GUI), that protocol is disabled by default (because the assumption is that the user will be using the GUI to interact with it). If you want to use both the GUI and the JSON-RPC protocol, you need to start bitcoin-qt
with the -server
argument.
In recent versions (since 2015 or so), you don't need to configure a username/password - bitcoin-cli
can use "cookie authentication" instead to get access. Configuring a username/password is mostly useful if you want to have other external software talk to Bitcoin Core that doesn't support cookie authentication, or if you want to talk to Bitcoin Core over the network (cookie authentication only works on the local machine itself, from the same user).
If you do set a username/password, and pick an insecure one, there may be a risk. An attacker that gets access to the RPC interface can do anything - including stealing your money.
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments