# on receiving block 244133 here
$ date -u '+%Y-%m-%dT%H:%M:%SZ'
2025-04-16T20:25:04Z
# as written in the block header
2025-04-16T20:24:59Z

$ uptime   # since last reboot
 20:25:03 up 73 days,  8:04,  0 users,  load average: 1.78, 1.72, 3.20

$ battery.sh
100%, Power Supply Online

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

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

$ du -h -d1 .bitcoin/signet
172M	.bitcoin/signet/indexes
9.3M	.bitcoin/signet/wallets
495M	.bitcoin/signet/blocks
951M	.bitcoin/signet/chainstate
1.7G	.bitcoin/signet

$ df -h .
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3       912G  831G   81G  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
244133

$ BH=$(bitcoin-cli -signet getblockhash 244133); echo $BH
0000003652e5e7bc03b96592164d86bf369057bcf2d2de6f5e840841e0759d54

$ bitcoin-cli -signet getblockheader 0000003652e5e7bc03b96592164d86bf369057bcf2d2de6f5e840841e0759d54
{
  "hash": "0000003652e5e7bc03b96592164d86bf369057bcf2d2de6f5e840841e0759d54",
  "confirmations": 1,
  "height": 244133,
  "version": 536870912,
  "versionHex": "20000000",
  "merkleroot": "4f7c5f94f382401854a7ae372d2444b052a83e490f6f693ab4b42a03b57017d2",
  "time": 1744835099,
  "mediantime": 1744833437,
  "nonce": 5162943,
  "bits": "1e014053",
  "target": "0000014053000000000000000000000000000000000000000000000000000000",
  "difficulty": 0.003121789370510835,
  "chainwork": "000000000000000000000000000000000000000000000000000002c8b0252522",
  "nTx": 11,
  "previousblockhash": "000000dfa087ccb3160133eba8c173cbfffcf48b1da75b662934d56109bc9063"
}


$ echo $BH | tr 0 . | fold -w 4 | paste -d " " - - - -
.... ..36 52e5 e7bc
.3b9 6592 164d 86bf
369. 57bc f2d2 de6f
5e84 .841 e.75 9d54

$ : 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
244133 sf: ..36 .3b9 369. .841 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 .
244133 sk: 9d54 a1

$ : 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 .
244133 ak: 25c3 a1

### niceblack moved to the end

$ bitcoin-cli -signet getmempoolinfo
{
  "loaded": true,
  "size": 6,
  "bytes": 916,
  "usage": 7728,
  "total_fee": 0.00013286,
  "maxmempool": 300000000,
  "mempoolminfee": 0.00001000,
  "minrelaytxfee": 0.00001000,
  "incrementalrelayfee": 0.00001000,
  "unbroadcastcount": 1,
  "fullrbf": true
}

$ gmm.sh
1423

## Current epoch estimation is +0.14%
## 197 of 2016, i.e. 9%, 1819 to go
## Current and previous two in numbers:
$ bitcoin-cli -signet getnetworkhashps 2016
22359.10792485229
$ bitcoin-cli -signet getnetworkhashps 2016 243935
22327.83361912612
$ bitcoin-cli -signet getnetworkhashps 2016 241919
22013.75013697267

$ bitcoin-cli -signet gettxoutsetinfo muhash
{
  "height": 244133,
  "bestblock": "0000003652e5e7bc03b96592164d86bf369057bcf2d2de6f5e840841e0759d54",
  "txouts": 15348353,
  "bogosize": 1248112588,
  "muhash": "546619041fc76cae0e11dc0a2ace66402c141c8f888f0eef6add093dc0b34b99",
  "total_amount": 11353052.19917071,
  "total_unspendable_amount": 297.80082929,
  "block_info": {
    "prevout_spent": 4087.32830438,
    "coinbase": 25.00306901,
    "new_outputs_ex_coinbase": 4087.32523537,
    "unspendable": 0.00000000,
    "unspendables": {
      "genesis_block": 0.00000000,
      "bip30": 0.00000000,
      "scripts": 0.00000000,
      "unclaimed_rewards": 0.00000000
    }
  }
}

$ bitcoin-cli -signet getblockstats 244133
{
  "avgfee": 30690,
  "avgfeerate": 136,
  "avgtxsize": 300,
  "blockhash": "0000003652e5e7bc03b96592164d86bf369057bcf2d2de6f5e840841e0759d54",
  "feerate_percentiles": [
    1,
    1,
    1,
    21,
    21
  ],
  "height": 244133,
  "ins": 10,
  "maxfee": 287068,
  "maxfeerate": 1669,
  "maxtxsize": 1266,
  "medianfee": 2331,
  "mediantime": 1744833437,
  "mediantxsize": 162,
  "minfee": 1185,
  "minfeerate": 1,
  "mintxsize": 162,
  "outs": 37,
  "subsidy": 2500000000,
  "swtotal_size": 3004,
  "swtotal_weight": 8977,
  "swtxs": 10,
  "time": 1744835099,
  "total_out": 408732523537,
  "total_size": 3004,
  "total_weight": 8977,
  "totalfee": 306901,
  "txs": 11,
  "utxo_increase": 27,
  "utxo_size_inc": 2329,
  "utxo_increase_actual": 26,
  "utxo_size_inc_actual": 2160
}

$ bitcoin-cli -signet getnettotals
{
  "totalbytesrecv": 64834383,
  "totalbytessent": 3980528396,
  "timemillis": 1744835105518,
  "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
in          0       0
out         0       0       0
total       0       0

Local addresses: n/a


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

### v2_peerinfo are in v2_peerinfo-signet.txt
$ bitcoin-cli -signet getpeerinfo | grep -w 'v2' | uniq -c
      8     "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
	c7f92150df1491aa4d59c081b195110654b6c74370e944f3f4e9f0e6e6d8fd4f
9550b66c9c9a91e5
	42dd7cab0dbe01494af17f05a4ebcaae9f6bee30f6e283c23a217f1b5c640ff4
16e170af2ce23741
	0b692ef4eadd318014598547eb4cd7e66569fab8c4ff17cc2de870ab6a4f0280
f5ff3afa0c83e1eb
	83f8aee13816e64497002f6e579ecff44129a7cf37b8f4e82b17d4bf842ead4f
62cd5636eabe8987
	cebc69691ab6d616b944ed29bba89a2c815e12057637a886d88e5f5c34eb5a08
1dcbb02c9869d915
	77007f9f8f55e8e27395458a8fbddd68a5f97afb3b07b6378275286a5f8c116b
4645feb2cf906cd2
	4c5b77278b19e39761a20cead22282fb03cdb65a149bda35085f52f536b6ba17
4cb9e71ff1248d93
	5ff94112285321a5dde1161564f466f324186d3750717580f81cdc2b96e699e6


$ niceblack.sh $BH $BC
 ____  _  _   _  _     _ __________ 
|___ \| || | | || |   / |___ /___ / 
  __) | || |_| || |_  | | |_ \ |_ \ 
 / __/|__   _|__   _| | |___) |__) |
|_____|  |_|    |_|   |_|____/____/ 

  ,----- .123 4567 89ab cdef -----,
  |                               |
  | ..   .... ..36 52e5 e7bc   .f |
  | 1.   .3b9 6592 164d 86bf   1f |
  | 2.   369. 57bc f2d2 de6f   2f |
  | 3.   5e84 .841 e.75 9d54   3f |
  '===   ==== ==== ==== ====   ==='
   ak:   25c3 a1