# on receiving block 251350 here
$ date -u '+%Y-%m-%dT%H:%M:%SZ'
2025-05-08T09:53:06Z
# as written in the block header
2025-05-08T09:51:10Z

$ uptime   # since last reboot
 09:53:06 up 94 days, 21:32,  0 users,  load average: 1.62, 1.92, 1.88

$ battery.sh
128%, Power Supply Online

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

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

$ du -h -d1 .bitcoin/signet
183M	.bitcoin/signet/indexes
9.3M	.bitcoin/signet/wallets
488M	.bitcoin/signet/blocks
1.2G	.bitcoin/signet/chainstate
1.9G	.bitcoin/signet

$ df -h .
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3       912G  837G   74G  92% /

$ bitcoind -version
Bitcoin Core daemon version v29.0
Copyright (C) 2009-2025 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/licenses/MIT>

$ BC=$(bitcoin-cli -signet getblockcount); echo $BC
251350

$ BH=$(bitcoin-cli -signet getblockhash 251350); echo $BH
000000076e0cf4bd13334d16b4627be6e5a5367efb1f766300bf3a76e46b1787

$ bitcoin-cli -signet getblockheader 000000076e0cf4bd13334d16b4627be6e5a5367efb1f766300bf3a76e46b1787
{
  "hash": "000000076e0cf4bd13334d16b4627be6e5a5367efb1f766300bf3a76e46b1787",
  "confirmations": 1,
  "height": 251350,
  "version": 536870912,
  "versionHex": "20000000",
  "merkleroot": "aba1aa037c1fbc31849f59f2764ca126b5868d7404a08efb94aba1b1308a44f3",
  "time": 1746697870,
  "mediantime": 1746693254,
  "nonce": 942931298,
  "bits": "1d0e9ab0",
  "target": "0000000e9ab00000000000000000000000000000000000000000000000000000",
  "difficulty": 0.06847218275129975,
  "chainwork": "000000000000000000000000000000000000000000000000000003571ac72817",
  "nTx": 5,
  "previousblockhash": "0000000a7165903debaf64e69def3c615c07b931732ce3a40b2f0bf5103595ee"
}


$ echo $BH | tr 0 . | fold -w 4 | paste -d " " - - - -
.... ...7 6e.c f4bd
1333 4d16 b462 7be6
e5a5 367e fb1f 7663
..bf 3a76 e46b 1787

$ : 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
251350 sf: ...7 6e.c ..bf 1787 

$ : 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 .
251350 sk: 1787 c1

$ : 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 .
251350 ak: 9c95 c1

### niceblack moved to the end

$ bitcoin-cli -signet getmempoolinfo
{
  "loaded": true,
  "size": 29,
  "bytes": 16763,
  "usage": 67376,
  "total_fee": 0.00343423,
  "maxmempool": 300000000,
  "mempoolminfee": 0.00001000,
  "minrelaytxfee": 0.00001000,
  "incrementalrelayfee": 0.00001000,
  "unbroadcastcount": 0,
  "fullrbf": true
}

$ gmm.sh
1396

## Current epoch estimation is -89.95%
## 1366 of 2016, i.e. 67%, 650 to go
## Current and previous two in numbers:
$ bitcoin-cli -signet getnetworkhashps 2016
415052.0638953311
$ bitcoin-cli -signet getnetworkhashps 2016 249983
4127467.825680154
$ bitcoin-cli -signet getnetworkhashps 2016 247967
7300113.134751773

$ bitcoin-cli -signet gettxoutsetinfo muhash
{
  "height": 251350,
  "bestblock": "000000076e0cf4bd13334d16b4627be6e5a5367efb1f766300bf3a76e46b1787",
  "txouts": 18737118,
  "bogosize": 1532075594,
  "muhash": "0b47f15f30f9e584dc289e475e37e8f79a4f3fe2c1fbbeeee5896fc39d14ae18",
  "total_amount": 11533477.19906446,
  "total_unspendable_amount": 297.80093554,
  "block_info": {
    "prevout_spent": 424.91408497,
    "coinbase": 25.00001967,
    "new_outputs_ex_coinbase": 424.91406530,
    "unspendable": 0.00000000,
    "unspendables": {
      "genesis_block": 0.00000000,
      "bip30": 0.00000000,
      "scripts": 0.00000000,
      "unclaimed_rewards": 0.00000000
    }
  }
}

$ bitcoin-cli -signet getblockstats 251350
{
  "avgfee": 491,
  "avgfeerate": 1,
  "avgtxsize": 644,
  "blockhash": "000000076e0cf4bd13334d16b4627be6e5a5367efb1f766300bf3a76e46b1787",
  "feerate_percentiles": [
    1,
    1,
    1,
    1,
    1
  ],
  "height": 251350,
  "ins": 7,
  "maxfee": 1185,
  "maxfeerate": 1,
  "maxtxsize": 1266,
  "medianfee": 314,
  "mediantime": 1746693254,
  "mediantxsize": 554,
  "minfee": 154,
  "minfeerate": 1,
  "mintxsize": 205,
  "outs": 34,
  "subsidy": 2500000000,
  "swtotal_size": 2579,
  "swtotal_weight": 7652,
  "swtxs": 4,
  "time": 1746697870,
  "total_out": 42491406530,
  "total_size": 2579,
  "total_weight": 7652,
  "totalfee": 1967,
  "txs": 5,
  "utxo_increase": 27,
  "utxo_size_inc": 2341,
  "utxo_increase_actual": 26,
  "utxo_size_inc_actual": 2172
}

$ bitcoin-cli -signet getnettotals
{
  "totalbytesrecv": 7645903,
  "totalbytessent": 552689346,
  "timemillis": 1746697987681,
  "uploadtarget": {
    "timeframe": 86400,
    "target": 0,
    "target_reached": false,
    "serve_historical_blocks": true,
    "bytes_left_in_cycle": 0,
    "time_left_in_cycle": 0
  }
}

$ bitcoin-cli -signet -netinfo
Bitcoin Core client v29.0 signet - server 70016/Satoshi:29.0.0/

         ipv4   total   block  manual
in          3       3
out        11      11       2       1
total      14      14

Local addresses: n/a


$ bitcoin-cli -signet -addrinfo
{
  "addresses_known": {
    "ipv4": 516,
    "ipv6": 0,
    "onion": 0,
    "i2p": 0,
    "cjdns": 0,
    "total": 516
  }
}

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

82b27e77426c9cf3
	54eb163d3ca6bac526e2092ebf5bd5d51fd4e17451cb8e2083b7abee032d290a
6314f8c19fd3f1fc
	cbc869db63c8362d79494b61596ade6f787026f1d914a51a7b006df1f3dc6cb0
a4dda9c03849be5c
	4bc3dee0ee4e13b6f80f6bde7a1df3efa01ea8e6204a848ae3a980dafdd03e48
f02f0de37cee2b9a
	51aec1f1aef937cc9401b4136a8a174df26db4042e12c9da355a62a1c3c9e326
d3a35fabb60fb123
	7c1277f823c2a648599e13fbc062c66f1d3c54d129a049fb8d8bb7b50d012361
2422645f1d448cf3
	f823e0434e3d091fef2cbb487329be3a700256d621bc8b808c1f51d076b795da
946046f95e8dd2f8
	7f775ddcb73082cdbebf0280231f85d77968c7b7164612e02752c5b2cabe7429


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

       ___  ___________ ____ ___ 
      |_  |/ __<  /_  // __// _ \
     / __//__ \/ //_ </__ \/ // /
    /____/____/_/____/____/\___/ 

  ,----- .123 4567 89ab cdef -----,
  |                               |
  | ..   .... ...7 6e.c f4bd   .f |
  | 1.   1333 4d16 b462 7be6   1f |
  | 2.   e5a5 367e fb1f 7663   2f |
  | 3.   ..bf 3a76 e46b 1787   3f |
  '===   ==== ==== ==== ====   ==='
   ak:   9c95 c1