# on receiving block 890006 here
$ date -u '+%Y-%m-%dT%H:%M:%SZ'
2025-03-29T19:15:40Z
# as written in the block header
2025-03-29T19:15:10Z
$ uptime # since last reboot
19:15:40 up 55 days, 6:55, 0 users, load average: 0.99, 1.27, 1.35
$ battery.sh
100%, Power Supply Online
$ uname -smnr
Linux singer 6.6.37-0-lts x86_64
$ grep ^MemAvailable /proc/meminfo
MemAvailable: 2030276 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
890006
$ BH=$(bitcoin-cli getblockhash 890006); echo $BH
00000000000000000001dfe40134b24179337210023e889d0959c5bed3125e9a
$ bitcoin-cli getblockheader 00000000000000000001dfe40134b24179337210023e889d0959c5bed3125e9a
{
"hash": "00000000000000000001dfe40134b24179337210023e889d0959c5bed3125e9a",
"confirmations": 1,
"height": 890006,
"version": 621903872,
"versionHex": "25118000",
"merkleroot": "561fc7de64915fab7ee87ac0542a89c13858e9da3d548ffd0317eaecbb2fbbad",
"time": 1743275710,
"mediantime": 1743270093,
"nonce": 1530534091,
"bits": "1702796c",
"target": "00000000000000000002796c0000000000000000000000000000000000000000",
"difficulty": 113757508810854,
"chainwork": "0000000000000000000000000000000000000000b7f1cd598678cb6951dfebe0",
"nTx": 3374,
"previousblockhash": "0000000000000000000027968a54587e12350735cf78c55683bef699170a4cce"
}
$ echo $BH | tr 0 . | fold -w 4 | paste -d " " - - - -
.... .... .... ....
...1 dfe4 .134 b241
7933 721. .23e 889d
.959 c5be d312 5e9a
$ : 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
890006 sf: ...1 .134 721. .23e M
$ : 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 .
890006 sk: 5e9a 74
$ : 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 .
890006 ak: ac7f 74
### niceblack moved to the end
$ bitcoin-cli getmempoolinfo
{
"loaded": true,
"size": 4384,
"bytes": 25864701,
"usage": 132720832,
"total_fee": 0.26884608,
"maxmempool": 300000000,
"mempoolminfee": 0.00001000,
"minrelaytxfee": 0.00001000,
"incrementalrelayfee": 0.00001000,
"unbroadcastcount": 0,
"fullrbf": true
}
$ gmm.sh
1037
## Current epoch estimation is +1.79%
## 950 of 2016, i.e. 47%, 1066 to go
## Current and previous two in numbers:
$ bitcoin-cli getnetworkhashps 2016
8.283413760258213e+20
$ bitcoin-cli getnetworkhashps 2016 889055
8.137723199414077e+20
$ bitcoin-cli getnetworkhashps 2016 887039
8.027983237538049e+20
$ bitcoin-cli gettxoutsetinfo muhash
{
"height": 890006,
"bestblock": "00000000000000000001dfe40134b24179337210023e889d0959c5bed3125e9a",
"txouts": 173905015,
"bogosize": 13597266705,
"muhash": "da415eab93bde3963683a90856e6d7ea928324a1a4590bfa5ea324e5dfd632b3",
"total_amount": 19843550.93173961,
"total_unspendable_amount": 220.94326039,
"block_info": {
"prevout_spent": 2647.38287010,
"coinbase": 3.15536717,
"new_outputs_ex_coinbase": 2647.35250293,
"unspendable": 0.00000000,
"unspendables": {
"genesis_block": 0.00000000,
"bip30": 0.00000000,
"scripts": 0.00000000,
"unclaimed_rewards": 0.00000000
}
}
}
$ bitcoin-cli getblockstats 890006
{
"avgfee": 900,
"avgfeerate": 3,
"avgtxsize": 463,
"blockhash": "00000000000000000001dfe40134b24179337210023e889d0959c5bed3125e9a",
"feerate_percentiles": [
2,
2,
3,
3,
3
],
"height": 890006,
"ins": 8331,
"maxfee": 61332,
"maxfeerate": 180,
"maxtxsize": 44583,
"medianfee": 432,
"mediantime": 1743270093,
"mediantxsize": 224,
"minfee": 157,
"minfeerate": 1,
"mintxsize": 150,
"outs": 7504,
"subsidy": 312500000,
"swtotal_size": 1300895,
"swtotal_weight": 2936588,
"swtxs": 3169,
"time": 1743275710,
"total_out": 264735250293,
"total_size": 1564711,
"total_weight": 3991852,
"totalfee": 3036717,
"txs": 3374,
"utxo_increase": -827,
"utxo_size_inc": -55481,
"utxo_increase_actual": -925,
"utxo_size_inc_actual": -66919
}
$ bitcoin-cli getnettotals
{
"totalbytesrecv": 2801655299,
"totalbytessent": 5651900044,
"timemillis": 1743275741178,
"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 890006
=====================================
Bitcoin Block Halving prediction
=====================================
bc=890006
gbt=1231006505
bbt=1743275710
This is average time to mine a block
(1743275710-1231006505)/890006
bts=575.5788493798363383658780
Now let's multiply that by 1050000
which is the block number of next
halving and get the prediction:
Mon Feb 28 15:34:32 UTC 2028
-------------------------------------
Next palindrome will be 890098
predicted to happen at this time:
Sun Mar 30 09:57:43 UTC 2025
-------------------------------------
Current mining epoch number is 441.
The next fortnight happens in block
891072 and probably around this time:
Sat Apr 5 21:41:17 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. ...1 dfe4 .134 b241 1f |
| 2. 7933 721. .23e 889d 2f |
| 3. .959 c5be d312 5e9a 3f |
'=== ==== ==== ==== ==== ==='
ak: ac7f 74