From d18350312d609b0e40301bf2b6316238204d21ec Mon Sep 17 00:00:00 2001 From: Fazle Arefin Date: Fri, 26 Jul 2024 04:27:55 +1000 Subject: [PATCH] bitcoin-cli: edit page (#13298) Co-authored-by: spageektti Co-authored-by: K.B.Dharun Krishna --- pages/common/bitcoin-cli.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pages/common/bitcoin-cli.md b/pages/common/bitcoin-cli.md index d8566090b..5108fe511 100644 --- a/pages/common/bitcoin-cli.md +++ b/pages/common/bitcoin-cli.md @@ -1,6 +1,6 @@ # bitcoin-cli -> Command-line client to interact with the Bitcoin daemon via RPC calls. +> Command-line client to interact with the Bitcoin Core daemon via RPC calls. > Uses the configuration defined in `bitcoin.conf`. > More information: . @@ -23,3 +23,15 @@ - Export the wallet information to a text file: `bitcoin-cli dumpwallet "{{path/to/file}}"` + +- Get blockchain information: + +`bitcoin-cli getblockchaininfo` + +- Get network information: + +`bitcoin-cli getnetworkinfo` + +- Stop the Bitcoin Core daemon: + +`bitcoin-cli stop`