# on receiving block 231293 here
$ date -u '+%Y-%m-%dT%H:%M:%SZ'
2025-01-18T01:58:22Z
# as written in the block header
2025-01-18T01:58:19Z

$ uptime   # since last reboot
 01:58:22 up 166 days, 19:16,  0 users,  load average: 1.56, 1.39, 1.15

$ battery.sh
70%, Power Supply Online

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

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

$ du -h -d1 .bitcoin/signet
667M	.bitcoin/signet/indexes
15M	.bitcoin/signet/wallets
4.9G	.bitcoin/signet/blocks
599M	.bitcoin/signet/chainstate
123M	.bitcoin/signet/electrs
6.3G	.bitcoin/signet

$ df -h .
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3       912G  842G   69G  93% /

$ bitcoind -version
Bitcoin Core version v28.1.0
Copyright (C) 2009-2024 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
231293

$ BH=$(bitcoin-cli -signet getblockhash 231293); echo $BH
000001329518428608bc5f99e21e282f281cb933a11e37be2f781dce892bad7a

$ bitcoin-cli -signet getblockheader $BH
{
  "hash": "000001329518428608bc5f99e21e282f281cb933a11e37be2f781dce892bad7a",
  "confirmations": 1,
  "height": 231293,
  "version": 536870912,
  "versionHex": "20000000",
  "merkleroot": "64e5ea56785144b4fdd55d5c9e20ee54bf8590cb1032e68e40894d986209dcf2",
  "time": 1737165499,
  "mediantime": 1737163001,
  "nonce": 5436351,
  "bits": "1e0146ad",
  "difficulty": 0.003061092369273816,
  "chainwork": "000000000000000000000000000000000000000000000000000002a097643718",
  "nTx": 208,
  "previousblockhash": "00000091a0ef26b07f736b574004efd317aac92e6410da998cc81ca1705df43b"
}

$ echo $BH | tr 0 . | fold -w 4 | paste -d " " - - - -
.... .132 9518 4286
.8bc 5f99 e21e 282f
281c b933 a11e 37be
2f78 1dce 892b ad7a

$ : 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
231293 sf: .132 .8bc ad7a 

$ : Following is the shortkode
$ last=${BH#${BH%????}}
$ nz=$(echo $BH | fold -w 4 \
  | grep -cE '^[^0]{4}$')
$ z=$(echo $BH | fold -w 4 \
  | grep -c '^0000$')
$ printf "%s sk: " $BC
$ printf "%s %x" $last \
  $(((${nz}<<4)+${z})) \
  | tr "0\n" ". "; echo
231293 sk: ad7a d1

### niceblack moved to the end

$ bitcoin-cli -signet getmempoolinfo
{
  "loaded": true,
  "size": 196099,
  "bytes": 30483109,
  "usage": 268190672,
  "total_fee": 2.13120648,
  "maxmempool": 300000000,
  "mempoolminfee": 0.00004979,
  "minrelaytxfee": 0.00000100,
  "incrementalrelayfee": 0.00001000,
  "unbroadcastcount": 0,
  "fullrbf": true
}

$ gmm.sh
1042

## Current epoch estimation is -1.12%
## 1469 of 2016, i.e. 72%, 547 to go
## Current and previous two in numbers:
$ bitcoin-cli -signet getnetworkhashps 2016
21648.47543514325
$ bitcoin-cli -signet getnetworkhashps 2016 229823
21892.24972206203
$ bitcoin-cli -signet getnetworkhashps 2016 227807
21300.15217646094

$ bitcoin-cli -signet gettxoutsetinfo muhash
{
  "height": 231293,
  "bestblock": "000001329518428608bc5f99e21e282f281cb933a11e37be2f781dce892bad7a",
  "txouts": 9371737,
  "bogosize": 735657053,
  "muhash": "3fe7c26b71a01f0393d4461b05c944c992228af78de43ab5355dea721f82e374",
  "total_amount": 11032052.19924825,
  "total_unspendable_amount": 297.80075175,
  "block_info": {
    "prevout_spent": 530.64568927,
    "coinbase": 25.07958979,
    "new_outputs_ex_coinbase": 530.56609948,
    "unspendable": 0.00000000,
    "unspendables": {
      "genesis_block": 0.00000000,
      "bip30": 0.00000000,
      "scripts": 0.00000000,
      "unclaimed_rewards": 0.00000000
    }
  }
}

$ bitcoin-cli -signet getblockstats 231293
{
  "avgfee": 38449,
  "avgfeerate": 31,
  "avgtxsize": 2418,
  "blockhash": "000001329518428608bc5f99e21e282f281cb933a11e37be2f781dce892bad7a",
  "feerate_percentiles": [
    8,
    8,
    8,
    8,
    11
  ],
  "height": 231293,
  "ins": 3107,
  "maxfee": 600000,
  "maxfeerate": 5405,
  "maxtxsize": 12250,
  "medianfee": 2560,
  "mediantime": 1737163001,
  "mediantxsize": 267,
  "minfee": 999,
  "minfeerate": 8,
  "mintxsize": 162,
  "outs": 1081,
  "subsidy": 2500000000,
  "swtotal_size": 500581,
  "swtotal_weight": 995491,
  "swtxs": 207,
  "time": 1737165499,
  "total_out": 53056609948,
  "total_size": 500581,
  "total_weight": 995491,
  "totalfee": 7958979,
  "txs": 208,
  "utxo_increase": -2026,
  "utxo_size_inc": -144779,
  "utxo_increase_actual": -2027,
  "utxo_size_inc_actual": -144948
}

$ bitcoin-cli -signet getnettotals
{
  "totalbytesrecv": 1755999648,
  "totalbytessent": 12135730697,
  "timemillis": 1737165503224,
  "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 v28.1.0 signet - server 70016/Satoshi:28.1.0/

         ipv4   total   block
in         79      79
out        10      10       2
total      89      89

Local addresses: n/a


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

### v2_peerinfo are in v2_peerinfo-signet.txt
$ bitcoin-cli -signet 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

33b44c6b25483550
	0c0a69b32666cb723979407c41eea4a93dc9910eb275c3d60a851bdfd456e770
0bed4c5cb81c38df
	38d800c50d0f787a80e6f80b9b0cdea838a85e7bebac1e9eb7fd774547baf18a
40ec672fa3c05877
	1b7b6cbad469d95e67b23f5dabf399a8d9542e599eaded65e414e5febef85f4f
4df85c02e4c29955
	c91f7cccc99df1180921eb4cf98390a3070831de6e79ae1e934a38ac3fd58602
df909473ad3efbb3
	1b320d76a444ef839263e523dce97bb47b7ef5d387336b9063faf2c4b4b5134d
7a24c15d81c1128a
	0197a3c1611b072ef30140edf265912a458df975b338ac3f627335c5f1f780a0
ee042ec0489874ba
	9703643f5e634efdab1bba8083810b3b0d192cbfb901e3649843fa8adf617f99
928d97bc08106f73
	606ee4a2a11c468749396a72f68801ff04c8971c75c04477344ab9e21672e4b6
2a8589c1a1435048
	d9fe0ff57f06da90fa4774879cd99ab7c1eb4a3999cab3fb1bea7119ff6d20d5
8787b86b0d87420b
	8ac1dfab23033cb2f90896e88f5d9459ff1e0abcb53cd2e8f64f740f26d8226f


$ niceblack.sh $BH $BC

       _|_|    _|_|_|      _|  
     _|    _|        _|  _|_|  
         _|      _|_|      _|  
       _|            _|    _|  
     _|_|_|_|  _|_|_|      _|  

     _|_|      _|_|    _|_|_|    
   _|    _|  _|    _|        _|  
       _|      _|_|_|    _|_|    
     _|            _|        _|  
   _|_|_|_|  _|_|_|    _|_|_|    

  ,---   .123 4567 89ab cdef   ---,
  | ..   .... .132 9518 4286   .f |
  | 1.   .8bc 5f99 e21e 282f   1f |
  | 2.   281c b933 a11e 37be   2f |
  | 3.   2f78 1dce 892b ad7a   3f |
  '===   ==== ==== ==== ====   ==='
   sk:   ad7a d1