Update cheatsheets

This commit is contained in:
ivuorinen
2024-07-26 00:14:49 +00:00
parent d575720852
commit cd90ce89ca
2 changed files with 17 additions and 1 deletions

View File

@@ -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: <https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments>.
@@ -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`

View File

@@ -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}}`