# on receiving block 904586 here
$ date -u '+%Y-%m-%dT%H:%M:%SZ'
2025-07-08T10:25:51Z
# as written in the block header
2025-07-08T10:25:34Z
$ uptime # since last reboot
10:25:51 up 155 days, 22:05, 0 users, load average: 3.79, 3.56, 3.10
$ battery.sh
138%, Power Supply Online
$ uname -smnr
Linux singer 6.6.37-0-lts x86_64
$ grep ^MemAvailable /proc/meminfo
MemAvailable: 1602420 kB
$ du -h -d1 .bitcoin/
11.3G .bitcoin/indexes
2.8G .bitcoin/signet
3.8M .bitcoin/wallets
97.8G .bitcoin/blocks
10.9G .bitcoin/chainstate
122.8G .bitcoin/
$ df -h .
Filesystem Size Used Available Use% Mounted on
/dev/sda3 911.4G 840.5G 70.0G 92% /
$ bitcoind -version
Bitcoin Core daemon version v29.99.0-5f9c5597106e
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
904586
$ BH=$(bitcoin-cli getblockhash 904586); echo $BH
00000000000000000002480ad714de43e399d9481c180f15014b02339d6671d1
$ bitcoin-cli getblockheader 00000000000000000002480ad714de43e399d9481c180f15014b02339d6671d1
{
"hash": "00000000000000000002480ad714de43e399d9481c180f15014b02339d6671d1",
"confirmations": 1,
"height": 904586,
"version": 587087872,
"versionHex": "22fe4000",
"merkleroot": "c0a1306fd7e4a7df0f34318b6f997e40ef04e0379a8672d98fe23be6c74792dc",
"time": 1751970334,
"mediantime": 1751967773,
"nonce": 2816928016,
"bits": "17026816",
"target": "0000000000000000000268160000000000000000000000000000000000000000",
"difficulty": 116958512019762.1,
"chainwork": "0000000000000000000000000000000000000000d09a3782deddd6b5b8f6962a",
"nTx": 2385,
"previousblockhash": "0000000000000000000206b590f9ea066d4abdfa7d789b378f2cae28cafe5b17"
}
$ echo $BH | tr 0 . | fold -w 4 | paste -d " " - - - -
.... .... .... ....
...2 48.a d714 de43
e399 d948 1c18 .f15
.14b .233 9d66 71d1
$ : 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
904586 sf: ...2 48.a .f15 .14b 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 .
904586 sk: 71d1 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 .
904586 ak: 874c 74
### niceblack moved to the end
$ bitcoin-cli getmempoolinfo
{
"loaded": true,
"size": 21992,
"bytes": 10039077,
"usage": 59292064,
"total_fee": 0.04377974,
"maxmempool": 300000000,
"mempoolminfee": 0.00000100,
"minrelaytxfee": 0.00000100,
"incrementalrelayfee": 0.00000100,
"unbroadcastcount": 0,
"fullrbf": true
}
$ gmm.sh
435
## Current epoch estimation is +6.22%
## 1418 of 2016, i.e. 70%, 598 to go
## Current and previous two in numbers:
$ bitcoin-cli getnetworkhashps 2016
8.888012620460963e+20
$ bitcoin-cli getnetworkhashps 2016 903167
8.366861911869141e+20
$ bitcoin-cli getnetworkhashps 2016 901151
9.04687914735697e+20
$ bitcoin-cli gettxoutsetinfo muhash
{
"height": 904586,
"bestblock": "00000000000000000002480ad714de43e399d9481c180f15014b02339d6671d1",
"txouts": 167235504,
"bogosize": 13102860738,
"muhash": "f143be0b100920a26c883374475ec7218bef78c3dc48ebf374eea978dc60691b",
"total_amount": 19889113.32914878,
"total_unspendable_amount": 221.04585122,
"block_info": {
"prevout_spent": 2332.51216840,
"coinbase": 3.14788512,
"new_outputs_ex_coinbase": 2332.48928328,
"unspendable": 0.00000000,
"unspendables": {
"genesis_block": 0.00000000,
"bip30": 0.00000000,
"scripts": 0.00000000,
"unclaimed_rewards": 0.00000000
}
}
}
$ bitcoin-cli getblockstats 904586
{
"avgfee": 959,
"avgfeerate": 2,
"avgtxsize": 578,
"blockhash": "00000000000000000002480ad714de43e399d9481c180f15014b02339d6671d1",
"feerate_percentiles": [
1,
1,
2,
2,
4
],
"height": 904586,
"ins": 6932,
"maxfee": 148088,
"maxfeerate": 301,
"maxtxsize": 73806,
"medianfee": 333,
"mediantime": 1751967773,
"mediantxsize": 253,
"minfee": 99,
"minfeerate": 1,
"mintxsize": 150,
"outs": 7268,
"subsidy": 312500000,
"swtotal_size": 1185690,
"swtotal_weight": 2729229,
"swtxs": 2224,
"time": 1751970334,
"total_out": 233248928328,
"total_size": 1379588,
"total_weight": 3504821,
"totalfee": 2288512,
"txs": 2385,
"utxo_increase": 336,
"utxo_size_inc": 20031,
"utxo_increase_actual": -128,
"utxo_size_inc_actual": -9236
}
$ bitcoin-cli getnettotals
{
"totalbytesrecv": 6047918995,
"totalbytessent": 13183893521,
"timemillis": 1751970352575,
"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.99.0-5f9c5597106e - server 70016/Satoshi:29.99.0/
ipv4 npr total block libre
in 19 2 21
out 15 0 15 3 4
total 34 2 36
Local addresses: n/a
$ bitcoin-cli -addrinfo
{
"addresses_known": {
"ipv4": 63157,
"ipv6": 0,
"onion": 0,
"i2p": 0,
"cjdns": 0,
"total": 63157
}
}
$ halving.sh 904586
=====================================
Bitcoin Block Halving prediction
=====================================
bc=904586
gbt=1231006505
bbt=1751970334
This is average time to mine a block
(1751970334-1231006505)/904586
bts=575.9134599546533390375939
Now let's multiply that by 1050000
which is the block number of next
halving and get the prediction:
Fri Mar 3 17:10:13 UTC 2028
-------------------------------------
Next palindrome will be 905509
predicted to happen at this time:
Mon Jul 14 14:05:02 UTC 2025
-------------------------------------
Current mining epoch number is 448.
The next fortnight happens in block
905184 and probably around this time:
Sat Jul 12 10:05:30 UTC 2025
### v2_peerinfo are in v2_peerinfo-bitcoin.txt
$ bitcoin-cli getpeerinfo | grep -w 'v2' | uniq -c
16 "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
728a54fb2bae1004
fb990c98e254b9065a14b849c71e63de92249e74b3e432589ae5dcb92352e38d
b3ed804c370d40e7
a48bede8229790e6837a53a0c77257d4971a0afa377ceebe7db2742fb8dbc0b0
d47ff7e823c0fe98
5401cbf99e32046b2baad1de220f62450eee22064561908c4af977587d4bf1b4
53bb91ceec877d95
f10c2f050891aa1468f7884dd304809843cc837621e47425d8cb24e7354d2e44
c7e3e2a02f2ba24b
2e5a47fe645cc5947a5d30bea3f360d0f0a63f8582a13586b6adf4cb9e298d7b
807efab60edcf18e
561b262613400c60ba780a0e0ead671be7d829869d42072be96745284daa23a1
06958821f75a85e7
613a5e798ccc08f94c468cb30f5f49d254fca9ccd180e8931e86a765933808c9
b580ea4cc1766007
e37f3e383b2eb3e6961aec86fc5dbf124d4ed04f9751c99f86c6ce09314a9325
716217be0b59d813
1b135df1a1353f7a20f1f9ec28bbec8a477b96fc1ebb44da7eb60b09faf65475
9dd1dd68fb58b439
49ab9de4311bdcbdec5193c8f88563958f0e21406a86e40a51b3ec26ac8ade22
a6b9a6f6f661268a
38312b5d64b69979205b0ceebc4eed0119446194d842adae1f50b5591550c5c8
96a5c538c60619ef
f47b358e29969196aff108ad28310e25ef44f93203ab395cdc6fb5a951c6ecd2
2f8eec2e560370dd
d0a02fa34216244407d293e79c19917486606ca258389fbdaee10e31b762c2aa
53b6e2c94ec995b6
af78cf99d979b8df440959755686a0b76126f7c1cedd6f6e7e8e4f8f2921251e
333d0c7a4ad5d783
7879279b163c4ab919acea16ae434fb5c84cf2091b479e237926ef354722a7bc
e7cf12860237795d
ea464fdc33798343c911c76c650a42609a0e350722a6c4da0eeba9f5465801a1
$ niceblack.sh $BH $BC
| | |
_ \ | _ \ _| | /
_.__/_|\___/\__|_\_\
_ \ \ | | __| _ ) /
\_ /( |__ _|__ \ _ \ _ \
_/\__/ _| ___/\___/\___/
,----- .123 4567 89ab cdef -----,
| |
| .. .... .... .... .... .f |
| 1. ...2 48.a d714 de43 1f |
| 2. e399 d948 1c18 .f15 2f |
| 3. .14b .233 9d66 71d1 3f |
'=== ==== ==== ==== ==== ==='
ak: 874c 74