# on receiving block 970540 here
$ date -u '+%Y-%m-%dT%H:%M:%SZ'
2026-10-08T22:06:17Z
# as written in the block header
2026-10-08T22:05:48Z

$ uptime   # since last reboot
 22:06:17 up 50 days, 12:22,  0 users,  load average: 0.79, 1.03, 1.04

$ battery.sh
98%, Power Supply Online

$ uname -smnr
Linux singer 6.18.44-0-lts x86_64

$ grep ^MemAvailable /proc/meminfo
MemAvailable:    1922660 kB

$ du -h -d1 .bitcoin/
12.6G	.bitcoin/indexes
5.2G	.bitcoin/signet
87.9M	.bitcoin/wallets
97.8G	.bitcoin/blocks
18.6M	.bitcoin/regtest
10.6G	.bitcoin/chainstate
8.0K	.bitcoin/fees
126.4G	.bitcoin/

$ df -h .
Filesystem                Size      Used Available Use% Mounted on
/dev/sda3               911.4G    452.3G    458.1G  50% /

$ bitcoind -version
Bitcoin Core daemon version v32.0.0rc3 bitcoind
Copyright (C) 2009-2026 The Bitcoin Core developers

Please contribute if you find Bitcoin Core useful. Visit
<https://bitcoincore.org/> for further information about the software.
The source code is available from <https://github.com/bitcoin/bitcoin>.

This is experimental software.
Distributed under the MIT software license, see the accompanying file COPYING
or <https://opensource.org/license/MIT>

$ BC=$(bitcoin-cli getblockcount); echo $BC
970540

$ BH=$(bitcoin-cli getblockhash 970540); echo $BH
00000000000000000000a6153701a8e47ef24844b627d8bc14defd461fc1186a

$ bitcoin-cli getblockheader 00000000000000000000a6153701a8e47ef24844b627d8bc14defd461fc1186a
{
  "hash": "00000000000000000000a6153701a8e47ef24844b627d8bc14defd461fc1186a",
  "confirmations": 1,
  "height": 970540,
  "version": 704643072,
  "versionHex": "2a000000",
  "merkleroot": "f8571837518bb024b8749b472e24e3398de74d9daa6c47e9452c76c3e30a1db3",
  "time": 1791497148,
  "mediantime": 1791496107,
  "nonce": 3338538252,
  "bits": "17021ef0",
  "target": "000000000000000000021ef00000000000000000000000000000000000000000",
  "difficulty": 132716002350731.3,
  "chainwork": "00000000000000000000000000000000000000014de8ccfbe1837324b835d0f8",
  "nTx": 3387,
  "previousblockhash": "000000000000000000014c2951a2220b1c07ce90e814266d6d4e31ac14afc39f"
}


$ echo $BH | tr 0 . | fold -w 4 | paste -d " " - - - -
.... .... .... ....
.... a615 37.1 a8e4
7ef2 4844 b627 d8bc
14de fd46 1fc1 186a

$ : 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
970540 sf: 37.1 186a 

$ : 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 .
970540 sk: 186a a5

$ : 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 .
970540 ak: 8fee a5

$ : Following is the jointkode
970540 jk: 186a 8fee a5

### niceblack moved to the end

$ bitcoin-cli getmempoolinfo
{
  "loaded": true,
  "size": 74770,
  "bytes": 40867256,
  "usage": 226915520,
  "total_fee": 0.06161756,
  "maxmempool": 300000000,
  "mempoolminfee": 0.00000100,
  "minrelaytxfee": 0.00000100,
  "incrementalrelayfee": 0.00000100,
  "unbroadcastcount": 0,
  "permitbaremultisig": true,
  "maxdatacarriersize": 100000,
  "limitclustercount": 64,
  "limitclustersize": 101000,
  "optimal": true
}

$ gmm.sh
150

## Current epoch estimation is +3.07%
## 844 of 2016, i.e. 41%, 1172 to go
## Current and previous two in numbers:
$ bitcoin-cli getnetworkhashps 2016
9.791888993589448e+20
$ bitcoin-cli getnetworkhashps 2016 969695
9.499394793503835e+20
$ bitcoin-cli getnetworkhashps 2016 967679
9.500046813447429e+20

$ bitcoin-cli gettxoutsetinfo muhash
{
  "height": 970540,
  "bestblock": "00000000000000000000a6153701a8e47ef24844b627d8bc14defd461fc1186a",
  "txouts": 165035281,
  "bogosize": 12926920011,
  "muhash": "48976f31eff56edadd0911c35b1abbe1397fc83da0e2d7a6f6ea8cf2b90571da",
  "total_amount": 20095210.50035328,
  "total_unspendable_amount": 230.12464672,
  "block_info": {
    "prevout_spent": 6521.96107061,
    "coinbase": 3.14238611,
    "new_outputs_ex_coinbase": 6521.94368450,
    "unspendable": 0.00000000,
    "unspendables": {
      "genesis_block": 0.00000000,
      "bip30": 0.00000000,
      "scripts": 0.00000000,
      "unclaimed_rewards": 0.00000000
    }
  }
}

$ bitcoin-cli getblockstats 970540
{
  "avgfee": 513,
  "avgfeerate": 1,
  "avgtxsize": 489,
  "blockhash": "00000000000000000000a6153701a8e47ef24844b627d8bc14defd461fc1186a",
  "feerate_percentiles": [
    0,
    0,
    1,
    2,
    3
  ],
  "height": 970540,
  "ins": 10416,
  "maxfee": 297060,
  "maxfeerate": 200,
  "maxtxsize": 59054,
  "medianfee": 39,
  "mediantime": 1791496107,
  "mediantxsize": 221,
  "minfee": 0,
  "minfeerate": 0,
  "mintxsize": 94,
  "outs": 7752,
  "subsidy": 312500000,
  "swtotal_size": 1544968,
  "swtotal_weight": 3537097,
  "swtxs": 2950,
  "time": 1791497148,
  "total_out": 652194368450,
  "total_size": 1658629,
  "total_weight": 3991741,
  "totalfee": 1738611,
  "txs": 3387,
  "utxo_increase": -2664,
  "utxo_size_inc": -239641,
  "utxo_increase_actual": -4989,
  "utxo_size_inc_actual": -407206
}

$ bitcoin-cli getnettotals
{
  "totalbytesrecv": 823285149,
  "totalbytessent": 1588062629,
  "timemillis": 1791497178003,
  "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 v32.0.0rc3 - server 70017/Satoshi:32.0.0/

         ipv4     npr   total   block
in         30       1      31
out        10       0      10       2
total      40       1      41

Local services: witness, compact filters, network limited, p2p v2

Local addresses: n/a


$ bitcoin-cli -addrinfo
{
  "addresses_known": {
    "ipv4": 79182,
    "ipv6": 302,
    "onion": 1777,
    "i2p": 6,
    "cjdns": 0,
    "total": 81267
  }
}

$ halving.sh 970540
=====================================
  Bitcoin Block Halving prediction
=====================================

bc=970540
gbt=1231006505
bbt=1791497148

This is average time to mine a block
(1791497148-1231006505)/970540
bts=577.5033131006315034604411

Now let's multiply that by 1050000
which is the block number of next
halving and get the prediction:
Thu Mar 23 00:52:41 UTC 2028

-------------------------------------
Next palindrome will be 971179
predicted to happen at this time:
Tue Oct 13 04:36:12 UTC 2026

-------------------------------------
Current mining epoch number is 481.
The next fortnight happens in block
971712 and probably around this time:
Fri Oct 16 18:06:21 UTC 2026

### v2_peerinfo are in v2_peerinfo-bitcoin.txt
$ bitcoin-cli getpeerinfo | grep -w 'v2' | uniq -c
     11     "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

6ce07eba76d9dd3d
	61403e45f77f660babbe272c94e247071598e3c683dfb00cd0c633f424da7e8b
876c3036f2d76fa9
	f8bb63fe109c95cc62469b10379dc0710ba90a163cd64223611b38104802a88e
ec3614079b071f6b
	a26d167209cc7fee8b540f0cdec0e27707a3b14ac7738a1cd0a4bb4053042d8e
d88dbdb6c195b76f
	011fbf169fb1c7663eefcfaf0e56b22af42471b84e7d2061c6e5421f891c66e6
33ba3338bb4dce26
	8446e6e1a142cc6fa47d3816e6e8abb9aeec07fd874976c1c781cb53d352360c
29ef3a43f8218506
	94553e373ced8f5c8285dbfaf9707fb0457b69ccf6448fb665777d4fbfb34260
9282c1cc2a89f952
	37b42057f599551eb99551724d5b3a3a7bccac1e6a942dcfe2def5a8eb78e9c1
31f6f3c4421b20b5
	0666c113ab2c710a8e9f58062ded451d31e79342701ada85c54fd7b126020e3e
db4ae15038679724
	82095a1cb98e93f1912a60d4bae9eef31092eef625174b6e63f32ef7775dcb21
002c8f760d224552
	19ab99aea7b3b99afbdf1aad21fe259a6be0cea699a76eaaa8dad80983a5e6d0
6e05e7773f972998
	1c30d113d7ddf5a78cfa43c2144c61b2813b23d5e1fdcc6f95e0a2879040c41f


$ niceblack.sh $BH $BC
          __   __         __  
         / /  / /__  ____/ /__
        / _ \/ / _ \/ __/  '_/
       /_.__/_/\___/\__/_/\_\ 

     ___  _______  ____ ____ ___ 
    / _ \/_  / _ \/ __// / // _ \
    \_, / / / // /__ \/_  _/ // /
   /___/ /_/\___/____/ /_/ \___/ 

  ,----- .123 4567 89ab cdef -----,
  |                               |
  | ..   .... .... .... ....   .f |
  | 1.   .... a615 37.1 a8e4   1f |
  | 2.   7ef2 4844 b627 d8bc   2f |
  | 3.   14de fd46 1fc1 186a   3f |
  '===   ==== ==== ==== ====   ==='
   jk:   186a 8fee a5