# on receiving block 890012 here
$ date -u '+%Y-%m-%dT%H:%M:%SZ'
2025-03-29T19:43:58Z
# as written in the block header
2025-03-29T19:44:47Z
$ uptime # since last reboot
19:43:58 up 55 days, 7:23, 0 users, load average: 0.59, 0.87, 1.33
$ battery.sh
100%, Power Supply Online
$ uname -smnr
Linux singer 6.6.37-0-lts x86_64
$ grep ^MemAvailable /proc/meminfo
MemAvailable: 2036280 kB
$ du -h -d1 .bitcoin/
11.0G .bitcoin/indexes
1.5G .bitcoin/signet
3.3M .bitcoin/wallets
97.7G .bitcoin/blocks
11.1G .bitcoin/chainstate
121.4G .bitcoin/
$ df -h .
Filesystem Size Used Available Use% Mounted on
/dev/sda3 911.4G 828.7G 81.7G 91% /
$ bitcoind -version
Bitcoin Core daemon version v29.0rc2
Copyright (C) 2009-2025 The Bitcoin Core developers
Please contribute if you find Bitcoin Core useful. Visit
for further information about the software.
The source code is available from .
This is experimental software.
Distributed under the MIT software license, see the accompanying file COPYING
or
$ BC=$(bitcoin-cli getblockcount); echo $BC
890012
$ BH=$(bitcoin-cli getblockhash 890012); echo $BH
000000000000000000001d5ad713f9be9420e8507ff9258bacb43855ab063917
$ bitcoin-cli getblockheader 000000000000000000001d5ad713f9be9420e8507ff9258bacb43855ab063917
{
"hash": "000000000000000000001d5ad713f9be9420e8507ff9258bacb43855ab063917",
"confirmations": 1,
"height": 890012,
"version": 539394048,
"versionHex": "20268000",
"merkleroot": "8394328870385af44dd2728aacafb9f9ab4d7071d22cea82e0b6c49a15911989",
"time": 1743277487,
"mediantime": 1743275906,
"nonce": 1063335230,
"bits": "1702796c",
"target": "00000000000000000002796c0000000000000000000000000000000000000000",
"difficulty": 113757508810854,
"chainwork": "0000000000000000000000000000000000000000b7f43a215aabf20075f6e1e0",
"nTx": 559,
"previousblockhash": "000000000000000000017e07a6aeae026b85021b04fa2539961a9f073acaf6f5"
}
$ echo $BH | tr 0 . | fold -w 4 | paste -d " " - - - -
.... .... .... ....
.... 1d5a d713 f9be
942. e85. 7ff9 258b
acb4 3855 ab.6 3917
$ : Following was the shortform
$ : from which shortkode came
$ last=${BH: -4}
$ a=$(echo $BH | cut -b-60 \
| fold -w 4 \
| grep -Ev '^(0000|[^0]{4})$')
$ R=$(echo $a $last | cut -b-20)
$ printf "%s sf: " $BC
$ { echo $R | grep "$last$" \
|| echo $R M; } | tr "0\n" ". "
echo
890012 sf: 942. e85. ab.6 3917
$ : Following was the shortkode
$ : from which anecdote came
$ nz=$(echo $BH | fold -w 4 \
| grep -cE '^[^0]{4}$')
$ z=$(echo $BH | fold -w 4 \
| grep -c '^0000$')
$ nzzs=$(((${nz}<<4)+${z}))
$ printf "%s sk: " $BC
$ printf "%s %x\n" \
$last \
$nzzs \
| tr 0 .
890012 sk: 3917 85
$ : Following is an anecdote
$ all=$(echo $BH | fold -w 4 \
| sed 's/^/0x/' \
| paste -s | tr '\t' ^)
$ printf "%s ak: " $BC
$ printf "%04x %02x\n" \
$(($all)) $nzzs \
| tr 0 .
890012 ak: 13.5 85
### niceblack moved to the end
$ bitcoin-cli getmempoolinfo
{
"loaded": true,
"size": 2225,
"bytes": 22882048,
"usage": 121970736,
"total_fee": 0.23047034,
"maxmempool": 300000000,
"mempoolminfee": 0.00001000,
"minrelaytxfee": 0.00001000,
"incrementalrelayfee": 0.00001000,
"unbroadcastcount": 0,
"fullrbf": true
}
$ gmm.sh
1005
## Current epoch estimation is +1.84%
## 956 of 2016, i.e. 47%, 1060 to go
## Current and previous two in numbers:
$ bitcoin-cli getnetworkhashps 2016
8.287914977555433e+20
$ bitcoin-cli getnetworkhashps 2016 889055
8.137723199414077e+20
$ bitcoin-cli getnetworkhashps 2016 887039
8.027983237538049e+20
$ bitcoin-cli gettxoutsetinfo muhash
{
"height": 890012,
"bestblock": "000000000000000000001d5ad713f9be9420e8507ff9258bacb43855ab063917",
"txouts": 173878936,
"bogosize": 13595230716,
"muhash": "e4aced4fcfb71acd2c04a0dcb45e11049920d585c488a0bb0d8cec486675ef05",
"total_amount": 19843569.68173961,
"total_unspendable_amount": 220.94326039,
"block_info": {
"prevout_spent": 439.09366132,
"coinbase": 3.13934620,
"new_outputs_ex_coinbase": 439.07931512,
"unspendable": 0.00000000,
"unspendables": {
"genesis_block": 0.00000000,
"bip30": 0.00000000,
"scripts": 0.00000000,
"unclaimed_rewards": 0.00000000
}
}
}
$ bitcoin-cli getblockstats 890012
{
"avgfee": 2571,
"avgfeerate": 1,
"avgtxsize": 2101,
"blockhash": "000000000000000000001d5ad713f9be9420e8507ff9258bacb43855ab063917",
"feerate_percentiles": [
1,
1,
1,
1,
2
],
"height": 890012,
"ins": 7807,
"maxfee": 57698,
"maxfeerate": 94,
"maxtxsize": 106232,
"medianfee": 552,
"mediantime": 1743275906,
"mediantxsize": 225,
"minfee": 120,
"minfeerate": 1,
"mintxsize": 151,
"outs": 2256,
"subsidy": 312500000,
"swtotal_size": 438837,
"swtotal_weight": 1056474,
"swtxs": 485,
"time": 1743277487,
"total_out": 43907931512,
"total_size": 1172631,
"total_weight": 3991650,
"totalfee": 1434620,
"txs": 559,
"utxo_increase": -5551,
"utxo_size_inc": -426392,
"utxo_increase_actual": -5572,
"utxo_size_inc_actual": -428476
}
$ bitcoin-cli getnettotals
{
"totalbytesrecv": 2807962273,
"totalbytessent": 5665033404,
"timemillis": 1743277438872,
"uploadtarget": {
"timeframe": 86400,
"target": 0,
"target_reached": false,
"serve_historical_blocks": true,
"bytes_left_in_cycle": 0,
"time_left_in_cycle": 0
}
}
$ bitcoin-cli -netinfo
Bitcoin Core client v29.0rc2 - server 70016/Satoshi:29.0.0/
ipv4 npr total block manual
in 33 1 34
out 12 0 12 3 1
total 45 1 46
Local addresses: n/a
$ bitcoin-cli -addrinfo
{
"addresses_known": {
"ipv4": 60685,
"ipv6": 3,
"onion": 0,
"i2p": 0,
"cjdns": 0,
"total": 60688
}
}
$ halving.sh 890012
=====================================
Bitcoin Block Halving prediction
=====================================
bc=890012
gbt=1231006505
bbt=1743277487
This is average time to mine a block
(1743277487-1231006505)/890012
bts=575.5769657297140603564217
Now let's multiply that by 1050000
which is the block number of next
halving and get the prediction:
Mon Feb 28 15:01:34 UTC 2028
-------------------------------------
Next palindrome will be 890098
predicted to happen at this time:
Sun Mar 30 09:29:46 UTC 2025
-------------------------------------
Current mining epoch number is 441.
The next fortnight happens in block
891072 and probably around this time:
Sat Apr 5 21:13:18 UTC 2025
### v2_peerinfo are in v2_peerinfo-bitcoin.txt
$ bitcoin-cli getpeerinfo | grep -w 'v2' | uniq -c
9 "transport_protocol_type": "v2",
$ bitcoin-cli getpeerinfo \
| jq -r '.[]
| select ( .transport_protocol_type == "v2" )
| .addr + " " + .session_id' \
| while read addr sid
do
a=$(echo ${addr%\]*} | tr -d '\[' | md5sum | cut -b-16);
printf "%s\n\t%s\n" "$a" "$sid"
done
6fc956b6f25824bd
3bc6afdc1025e2842d8e3ad6eab92cb4e6e38312182c4c007d3400f8e17e7af2
ba5d1c85adc9358e
5fb19e6f926c81dcf44d70dbce409e2bee821041c73d1d0da3b23142808e451b
fe0f501d350b6599
77e31a42f2ab6993cd1c8ff4b848ce23f3e08a2ae1cb197dea525eebe405ad68
56c71123744a41c1
e43b6cb96b7bace4097c05693eafd1f5008cdb656bdc756881adc91b81b4a220
487aef95a6565dfe
4979e631f661e15504386b56fb3dae2dabb892e9a6ffd1f2e2cd2993be2c0c34
e792346f41e8d737
daec44129f4c5c91f0e2ff92eafffd3130386609370e5f4aedbe9f6a10e18075
52db280f6f71d760
95b02b704d9bba64ede1a5e6677d4a5c9e8fd4d83ba18f7bed2577bc64554e46
7614c968f106a939
6473fd4899c7ee27aa529567adb0243bb1cada0dd17059228f7b8810f05fe919
dc41b5614875a6af
d24727124027f3d952abe4ec936e0ee1dd3efb0146bfdfcc91fea7387587f99b
$ niceblack.sh $BH $BC
_|_| _|_| _|
_| _| _| _| _| _|
_|_| _|_|_| _| _|
_| _| _| _| _|
_|_| _|_|_| _|
_| _| _|_|
_| _| _|_| _| _|
_| _| _| _|
_| _| _| _|
_| _| _|_|_|_|
,----- .123 4567 89ab cdef -----,
| |
| .. .... .... .... .... .f |
| 1. .... 1d5a d713 f9be 1f |
| 2. 942. e85. 7ff9 258b 2f |
| 3. acb4 3855 ab.6 3917 3f |
'=== ==== ==== ==== ==== ==='
ak: 13.5 85