mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-07 16:06:26 +00:00
Add -getinfo
This commit is contained in:
parent
a398b0c72c
commit
d73d4cc822
@ -204,6 +204,37 @@ Examples:
|
|||||||
## Optional: Know Your Bitcoin Info
|
## Optional: Know Your Bitcoin Info
|
||||||
|
|
||||||
A variety of bitcoin-cli commands can give you additional information on your bitcoin data. The most general ones are:
|
A variety of bitcoin-cli commands can give you additional information on your bitcoin data. The most general ones are:
|
||||||
|
|
||||||
|
`bitcoin-cli -getinfo` returns information from different RPCs (user-friendly)
|
||||||
|
|
||||||
|
```diff
|
||||||
|
$ bitcoin-cli -getinfo
|
||||||
|
|
||||||
|
! Chain: test
|
||||||
|
Blocks: 1977694
|
||||||
|
Headers: 1977694
|
||||||
|
Verification progress: 0.9999993275374796
|
||||||
|
Difficulty: 1
|
||||||
|
|
||||||
|
+ Network: in 0, out 8, total 8
|
||||||
|
Version: 219900
|
||||||
|
Time offset (s): 0
|
||||||
|
Proxy: N/A
|
||||||
|
Min tx relay fee rate (BTC/kvB): 0.00001000
|
||||||
|
|
||||||
|
@@ Wallet: ""@@
|
||||||
|
Keypool size: 1000
|
||||||
|
Unlocked until: 0
|
||||||
|
Transaction fee rate (-paytxfee) (BTC/kvB): 0.00000000
|
||||||
|
|
||||||
|
# Balance: 0.02853102
|
||||||
|
|
||||||
|
- Warnings: unknown new rules activated (versionbit 28)
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Other commands to get information about blockchain, mining, network, wallet etc.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ bitcoin-cli getblockchaininfo
|
$ bitcoin-cli getblockchaininfo
|
||||||
$ bitcoin-cli getmininginfo
|
$ bitcoin-cli getmininginfo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user