# on receiving block 970396 here
$ date -u '+%Y-%m-%dT%H:%M:%SZ'
2026-10-07T21:54:41Z
# as written in the block header
2026-10-07T21:57:04Z

$ uptime   # since last reboot
 21:54:41 up 49 days, 12:10,  0 users,  load average: 1.45, 1.28, 1.30

$ battery.sh
102%, Power Supply Online

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

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

$ du -h -d1 .bitcoin/
12.6G	.bitcoin/indexes
5.2G	.bitcoin/signet
87.8M	.bitcoin/wallets
97.7G	.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    447.9G    462.5G  49% /

$ 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
970396

$ BH=$(bitcoin-cli getblockhash 970396); echo $BH
00000000000000000000f9392884cb2a3a15d38c84777ce804f20e8b1435a630

$ bitcoin-cli getblockheader 00000000000000000000f9392884cb2a3a15d38c84777ce804f20e8b1435a630
{
  "hash": "00000000000000000000f9392884cb2a3a15d38c84777ce804f20e8b1435a630",
  "confirmations": 1,
  "height": 970396,
  "version": 536870912,
  "versionHex": "20000000",
  "merkleroot": "4a06a5c673a40f229e7dd96f768b9b76482f517d0f96c97e54478ff24b0ceb8d",
  "time": 1791410224,
  "mediantime": 1791405864,
  "nonce": 55167099,
  "bits": "17021ef0",
  "target": "000000000000000000021ef00000000000000000000000000000000000000000",
  "difficulty": 132716002350731.3,
  "chainwork": "00000000000000000000000000000000000000014da4e745427025ba3f358d78",
  "nTx": 4093,
  "previousblockhash": "00000000000000000001175650b7191e4f4a666bfc4f3addbf154b4745f83dd2"
}


$ echo $BH | tr 0 . | fold -w 4 | paste -d " " - - - -
.... .... .... ....
.... f939 2884 cb2a
3a15 d38c 8477 7ce8
.4f2 .e8b 1435 a63.

$ : 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
970396 sf: .e8b a63. 

$ : 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 .
970396 sk: a63. 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 .
970396 ak: b3ed 85

$ : Following is the jointkode
970396 jk: a630 b3ed 85

### niceblack moved to the end

$ bitcoin-cli getmempoolinfo
{
  "loaded": true,
  "size": 75954,
  "bytes": 41813498,
  "usage": 232091016,
  "total_fee": 0.06916568,
  "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
165

## Current epoch estimation is +3.65%
## 700 of 2016, i.e. 34%, 1316 to go
## Current and previous two in numbers:
$ bitcoin-cli getnetworkhashps 2016
9.846927346728311e+20
$ bitcoin-cli getnetworkhashps 2016 969695
9.499394793503835e+20
$ bitcoin-cli getnetworkhashps 2016 967679
9.500046813447429e+20

$ bitcoin-cli gettxoutsetinfo muhash
{
  "height": 970396,
  "bestblock": "00000000000000000000f9392884cb2a3a15d38c84777ce804f20e8b1435a630",
  "txouts": 165040266,
  "bogosize": 12927655493,
  "muhash": "27a6fa2afd9a1dc6bda29ae88d9e2a614ef78770239c21a94b25d46217f15ef4",
  "total_amount": 20094760.50045263,
  "total_unspendable_amount": 230.12454737,
  "block_info": {
    "prevout_spent": 12363.90014049,
    "coinbase": 3.15267052,
    "new_outputs_ex_coinbase": 12363.87246845,
    "unspendable": 0.00000152,
    "unspendables": {
      "genesis_block": 0.00000000,
      "bip30": 0.00000000,
      "scripts": 0.00000152,
      "unclaimed_rewards": 0.00000000
    }
  }
}

$ bitcoin-cli getblockstats 970396
{
  "avgfee": 676,
  "avgfeerate": 2,
  "avgtxsize": 399,
  "blockhash": "00000000000000000000f9392884cb2a3a15d38c84777ce804f20e8b1435a630",
  "feerate_percentiles": [
    1,
    1,
    2,
    2,
    4
  ],
  "height": 970396,
  "ins": 8385,
  "maxfee": 155205,
  "maxfeerate": 1420,
  "maxtxsize": 50040,
  "medianfee": 322,
  "mediantime": 1791405864,
  "mediantxsize": 223,
  "minfee": 0,
  "minfeerate": 0,
  "mintxsize": 66,
  "outs": 10767,
  "subsidy": 312500000,
  "swtotal_size": 1575235,
  "swtotal_weight": 3747178,
  "swtxs": 3776,
  "time": 1791410224,
  "total_out": 1236387246997,
  "total_size": 1636365,
  "total_weight": 3991698,
  "totalfee": 2767052,
  "txs": 4093,
  "utxo_increase": 2382,
  "utxo_size_inc": 180390,
  "utxo_increase_actual": 1599,
  "utxo_size_inc_actual": 119326
}

$ bitcoin-cli getnettotals
{
  "totalbytesrecv": 280986079,
  "totalbytessent": 433754084,
  "timemillis": 1791410082261,
  "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         12       2      14
out        10       0      10       2
total      22       2      24

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

Local addresses: n/a


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

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

bc=970396
gbt=1231006505
bbt=1791410224

This is average time to mine a block
(1791410224-1231006505)/970396
bts=577.4994347674199322545308

Now let's multiply that by 1050000
which is the block number of next
halving and get the prediction:
Wed Mar 22 23:44:49 UTC 2028

-------------------------------------
Next palindrome will be 971179
predicted to happen at this time:
Tue Oct 13 03:33:26 UTC 2026

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

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

97981668399379ea
	6c66614364c9b47150690d3aa2be9b7f7df12b9e3ac94bd32a8953a65018ba4b
5fb53c5e6aeef6ff
	4a75ab9447f9862912996fcab7397543e1af1920ac69771e300ff2f59d2c12d2
6ce07eba76d9dd3d
	61403e45f77f660babbe272c94e247071598e3c683dfb00cd0c633f424da7e8b
a0e4d83521a516a9
	4de4307bcbc51db65dae1e5de922d6e19bbba3cefbd10716adcfee31b9befbb6
876c3036f2d76fa9
	f8bb63fe109c95cc62469b10379dc0710ba90a163cd64223611b38104802a88e
ec3614079b071f6b
	a26d167209cc7fee8b540f0cdec0e27707a3b14ac7738a1cd0a4bb4053042d8e
d88dbdb6c195b76f
	011fbf169fb1c7663eefcfaf0e56b22af42471b84e7d2061c6e5421f891c66e6
33ba3338bb4dce26
	8446e6e1a142cc6fa47d3816e6e8abb9aeec07fd874976c1c781cb53d352360c
29ef3a43f8218506
	94553e373ced8f5c8285dbfaf9707fb0457b69ccf6448fb665777d4fbfb34260
9282c1cc2a89f952
	37b42057f599551eb99551724d5b3a3a7bccac1e6a942dcfe2def5a8eb78e9c1


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

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

  ,----- .123 4567 89ab cdef -----,
  |                               |
  | ..   .... .... .... ....   .f |
  | 1.   .... f939 2884 cb2a   1f |
  | 2.   3a15 d38c 8477 7ce8   2f |
  | 3.   .4f2 .e8b 1435 a63.   3f |
  '===   ==== ==== ==== ====   ==='
   jk:   a63. b3ed 85