# on receiving block 890015 here
$ date -u '+%Y-%m-%dT%H:%M:%SZ'
2025-03-29T20:04:17Z
# as written in the block header
2025-03-29T20:04:02Z
$ uptime # since last reboot
20:04:17 up 55 days, 7:44, 0 users, load average: 2.16, 2.87, 2.05
$ battery.sh
100%, Power Supply Online
$ uname -smnr
Linux singer 6.6.37-0-lts x86_64
$ grep ^MemAvailable /proc/meminfo
MemAvailable: 2065436 kB
$ du -h -d1 .bitcoin/
11.0G .bitcoin/indexes
1.5G .bitcoin/signet
3.3M .bitcoin/wallets
97.7G .bitcoin/blocks
11.3G .bitcoin/chainstate
121.6G .bitcoin/
$ df -h .
Filesystem Size Used Available Use% Mounted on
/dev/sda3 911.4G 829.0G 81.5G 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
890015
$ BH=$(bitcoin-cli getblockhash 890015); echo $BH
0000000000000000000267c89fddcab9ad52cccadce9ac89445449b2f32111d2
$ bitcoin-cli getblockheader 0000000000000000000267c89fddcab9ad52cccadce9ac89445449b2f32111d2
{
"hash": "0000000000000000000267c89fddcab9ad52cccadce9ac89445449b2f32111d2",
"confirmations": 1,
"height": 890015,
"version": 570425344,
"versionHex": "22000000",
"merkleroot": "cf5f753fba24234f7cd321ab8bcf69d7568be5ffa63fb84f554a1f7099074267",
"time": 1743278642,
"mediantime": 1743276356,
"nonce": 3263617731,
"bits": "1702796c",
"target": "00000000000000000002796c0000000000000000000000000000000000000000",
"difficulty": 113757508810854,
"chainwork": "0000000000000000000000000000000000000000b7f5708544c5854c08025ce0",
"nTx": 1503,
"previousblockhash": "00000000000000000002641e41fadb38465ba30aebd0ca539d313f82c6a14782"
}
$ echo $BH | tr 0 . | fold -w 4 | paste -d " " - - - -
.... .... .... ....
...2 67c8 9fdd cab9
ad52 ccca dce9 ac89
4454 49b2 f321 11d2
$ : 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
890015 sf: ...2 11d2
$ : 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 .
890015 sk: 11d2 b4
$ : 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 .
890015 ak: cc43 b4
### niceblack moved to the end
$ bitcoin-cli getmempoolinfo
{
"loaded": true,
"size": 2007,
"bytes": 21107665,
"usage": 116112080,
"total_fee": 0.21149013,
"maxmempool": 300000000,
"mempoolminfee": 0.00001000,
"minrelaytxfee": 0.00001000,
"incrementalrelayfee": 0.00001000,
"unbroadcastcount": 0,
"fullrbf": true
}
$ gmm.sh
1001
## Current epoch estimation is +1.83%
## 959 of 2016, i.e. 47%, 1057 to go
## Current and previous two in numbers:
$ bitcoin-cli getnetworkhashps 2016
8.287219501133158e+20
$ bitcoin-cli getnetworkhashps 2016 889055
8.137723199414077e+20
$ bitcoin-cli getnetworkhashps 2016 887039
8.027983237538049e+20
$ bitcoin-cli gettxoutsetinfo muhash
{
"height": 890015,
"bestblock": "0000000000000000000267c89fddcab9ad52cccadce9ac89445449b2f32111d2",
"txouts": 173862590,
"bogosize": 13593909070,
"muhash": "5170caee92b6bfaedc1619f50cf89aa9ce5c4abd043975c0670377e457163212",
"total_amount": 19843579.05673961,
"total_unspendable_amount": 220.94326039,
"block_info": {
"prevout_spent": 4643.30349667,
"coinbase": 3.14651150,
"new_outputs_ex_coinbase": 4643.28198517,
"unspendable": 0.00000000,
"unspendables": {
"genesis_block": 0.00000000,
"bip30": 0.00000000,
"scripts": 0.00000000,
"unclaimed_rewards": 0.00000000
}
}
}
$ bitcoin-cli getblockstats 890015
{
"avgfee": 1432,
"avgfeerate": 2,
"avgtxsize": 1119,
"blockhash": "0000000000000000000267c89fddcab9ad52cccadce9ac89445449b2f32111d2",
"feerate_percentiles": [
1,
1,
1,
2,
4
],
"height": 890015,
"ins": 11698,
"maxfee": 87001,
"maxfeerate": 120,
"maxtxsize": 160343,
"medianfee": 450,
"mediantime": 1743276356,
"mediantxsize": 246,
"minfee": 121,
"minfeerate": 1,
"mintxsize": 150,
"outs": 3897,
"subsidy": 312500000,
"swtotal_size": 1487076,
"swtotal_weight": 3212439,
"swtxs": 1370,
"time": 1743278642,
"total_out": 464328198517,
"total_size": 1681862,
"total_weight": 3991583,
"totalfee": 2151150,
"txs": 1503,
"utxo_increase": -7801,
"utxo_size_inc": -633591,
"utxo_increase_actual": -7827,
"utxo_size_inc_actual": -636195
}
$ bitcoin-cli getnettotals
{
"totalbytesrecv": 2811244231,
"totalbytessent": 5674013732,
"timemillis": 1743278657826,
"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 34 1 35
out 11 0 11 2 1
total 45 1 46
Local addresses: n/a
$ bitcoin-cli -addrinfo
{
"addresses_known": {
"ipv4": 60643,
"ipv6": 3,
"onion": 0,
"i2p": 0,
"cjdns": 0,
"total": 60646
}
}
$ halving.sh 890015
=====================================
Bitcoin Block Halving prediction
=====================================
bc=890015
gbt=1231006505
bbt=1743278642
This is average time to mine a block
(1743278642-1231006505)/890015
bts=575.5763233469960090605112
Now let's multiply that by 1050000
which is the block number of next
halving and get the prediction:
Mon Feb 28 14:50:20 UTC 2028
-------------------------------------
Next palindrome will be 890098
predicted to happen at this time:
Sun Mar 30 09:20:14 UTC 2025
-------------------------------------
Current mining epoch number is 441.
The next fortnight happens in block
891072 and probably around this time:
Sat Apr 5 21:03:46 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. ...2 67c8 9fdd cab9 1f |
| 2. ad52 ccca dce9 ac89 2f |
| 3. 4454 49b2 f321 11d2 3f |
'=== ==== ==== ==== ==== ==='
ak: cc43 b4