pull down to refresh
106 sats \ 2 replies \ @IgnaciobTato 24 May 2024 \ on: Stacker Saloon
Some Bitcoin Shortcuts for your Node.
bitcoin-cli getblockcount
Quickly verify blockchain tip (last block).
bitcoin-cli getmempoolinfo
Information about your local mempool.
bitcoin-cli gettxoutsetinfo
A bitcoiner's favorite: sums up all utxos in order to get the current bitcoin supply.
bitcoin-cli -netinfo 4
Shows a live dashboard of your peer connections and the Bitcoin Core version they're on.
bitcoin-cli getrawtransaction <txid> true
Shows information about a specific transaction and you can check if it has been included in a block and how many confirmation it has. (easy way to verify your own txs without loading a wallet)
This was useful to me, some observations and questions:
bitcoin-cli gettxoutsetinfo
...Wondering what it would take to get a progress bar on this one.
$ bitcoin-cli gettxoutsetinfo
{
"height": 845024,
"bestblock": "000000000000000000003717c032ce1934f194b7079ea6182e477fdaaab27413",
"txouts": 182090311,
"bogosize": 14002428244,
"hash_serialized_3": "739f6cf2037b4c8222891be62511f7e7980f64cd1c53bee355222845ebdbba72",
"total_amount": 19702983.61755659,
"transactions": 125756341,
"disk_size": 12190623949
}
$ bitcoin-cli gettxoutsetinfo
{
"height": 845024,
"bestblock": "000000000000000000003717c032ce1934f194b7079ea6182e477fdaaab27413",
"txouts": 182090311,
"bogosize": 14002428244,
"hash_serialized_3": "739f6cf2037b4c8222891be62511f7e7980f64cd1c53bee355222845ebdbba72",
"total_amount": 19702983.61755659,
"transactions": 125756341,
"disk_size": 12203595989
}
Ran this twice after a pause of about a minute. Curious, is that delta in disk_size simply a few mempool additions, or something else?
bitcoin-cli -netinfo 4
I see no difference adding an integer at all. Is this expected?
$ bitcoin-cli -netinfo
Bitcoin Core client v26.0.0 - server 70016/Satoshi:26.0.0/
ipv4 ipv6 total block
in 52 0 52
out 10 0 10 2
total 62 0 62
Local addresses: n/a
$ bitcoin-cli -netinfo 4
Bitcoin Core client v26.0.0 - server 70016/Satoshi:26.0.0/
ipv4 ipv6 total block
in 52 0 52
out 10 0 10 2
total 62 0 62
Local addresses: n/a
reply
Thanks for sharing. I'm still learning as well. Hope a more advance user can answer this.
reply