diff --git a/tldr/bitcoin-cli b/tldr/bitcoin-cli index 1951da15..364e92dd 100644 --- a/tldr/bitcoin-cli +++ b/tldr/bitcoin-cli @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # 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: . @@ -28,3 +28,15 @@ source: https://github.com/tldr-pages/tldr.git - 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` diff --git a/tldr/htop b/tldr/htop index a915061d..bd60228f 100644 --- a/tldr/htop +++ b/tldr/htop @@ -16,6 +16,10 @@ source: https://github.com/tldr-pages/tldr.git `htop --user {{username}}` +- Display processes hierarchically in a tree view to show the parent-child relationships: + +`htop --tree` + - Sort processes by a specified `sort_item` (use `htop --sort help` for available options): `htop --sort {{sort_item}}`