# on receiving block 238956 here
$ date -u '+%Y-%m-%dT%H:%M:%SZ'
2025-03-12T04:28:38Z
# as written in the block header
2025-03-12T04:28:35Z

$ uptime   # since last reboot
 04:28:38 up 37 days, 16:08,  0 users,  load average: 0.85, 0.87, 0.91

$ battery.sh
100%, Power Supply Online

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

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

$ du -h -d1 .bitcoin/signet
161M	.bitcoin/signet/indexes
944K	.bitcoin/signet/wallets
546M	.bitcoin/signet/blocks
920M	.bitcoin/signet/chainstate
1.6G	.bitcoin/signet

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

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

$ BH=$(bitcoin-cli -signet getblockhash 238956); echo $BH
000000277032af2011d8894eb803c84ad4330b6f6831c915d4213619eaf5dbc6

$ bitcoin-cli -signet getblockheader 000000277032af2011d8894eb803c84ad4330b6f6831c915d4213619eaf5dbc6
{
  "hash": "000000277032af2011d8894eb803c84ad4330b6f6831c915d4213619eaf5dbc6",
  "confirmations": 1,
  "height": 238956,
  "version": 536870912,
  "versionHex": "20000000",
  "merkleroot": "3ef5f9f78e6ca8c25386c81a006d85baa20c84978545d842713641e0e45cef70",
  "time": 1741753715,
  "mediantime": 1741750644,
  "nonce": 2553293,
  "bits": "1e014bf0",
  "difficulty": 0.003012569357818678,
  "chainwork": "000000000000000000000000000000000000000000000000000002b8d5666e7c",
  "nTx": 66,
  "previousblockhash": "000000c903f4d7fbe7ed2d7ef4489546530ccf33e43e6b058aa7f6c788d51b65"
}


$ echo $BH | tr 0 . | fold -w 4 | paste -d " " - - - -
.... ..27 7.32 af2.
11d8 894e b8.3 c84a
d433 .b6f 6831 c915
d421 3619 eaf5 dbc6

$ : 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
238956 sf: ..27 7.32 af2. b8.3 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 .
238956 sk: dbc6 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 .
238956 ak: 9a99 a1

### niceblack moved to the end

$ bitcoin-cli -signet getmempoolinfo
{
  "loaded": true,
  "size": 674,
  "bytes": 54206219,
  "usage": 279371616,
  "total_fee": 0.77320477,
  "maxmempool": 300000000,
  "mempoolminfee": 0.00001000,
  "minrelaytxfee": 0.00001000,
  "incrementalrelayfee": 0.00001000,
  "unbroadcastcount": 1,
  "fullrbf": true
}

$ gmm.sh
1440

## Current epoch estimation is +1.32%
## 1068 of 2016, i.e. 52%, 948 to go
## Current and previous two in numbers:
$ bitcoin-cli -signet getnetworkhashps 2016
21849.05547458426
$ bitcoin-cli -signet getnetworkhashps 2016 237887
21563.35326954379
$ bitcoin-cli -signet getnetworkhashps 2016 235871
22534.38657022396

$ bitcoin-cli -signet gettxoutsetinfo muhash
{
  "height": 238956,
  "bestblock": "000000277032af2011d8894eb803c84ad4330b6f6831c915d4213619eaf5dbc6",
  "txouts": 13548970,
  "bogosize": 1101284521,
  "muhash": "fc80457c7f036aea1dea5d95fccca58dede26b92a4291735aee0ecbcfa9ff3e8",
  "total_amount": 11223627.19922641,
  "total_unspendable_amount": 297.80077359,
  "block_info": {
    "prevout_spent": 11227.99069062,
    "coinbase": 25.08307035,
    "new_outputs_ex_coinbase": 11227.90762027,
    "unspendable": 0.00000000,
    "unspendables": {
      "genesis_block": 0.00000000,
      "bip30": 0.00000000,
      "scripts": 0.00000000,
      "unclaimed_rewards": 0.00000000
    }
  }
}

$ bitcoin-cli -signet getblockstats 238956
{
  "avgfee": 127800,
  "avgfeerate": 43,
  "avgtxsize": 5184,
  "blockhash": "000000277032af2011d8894eb803c84ad4330b6f6831c915d4213619eaf5dbc6",
  "feerate_percentiles": [
    1,
    1,
    1,
    1,
    9
  ],
  "height": 238956,
  "ins": 2880,
  "maxfee": 788170,
  "maxfeerate": 3726,
  "maxtxsize": 149845,
  "medianfee": 620,
  "mediantime": 1741750644,
  "mediantxsize": 234,
  "minfee": 111,
  "minfeerate": 1,
  "mintxsize": 107,
  "outs": 573,
  "subsidy": 2500000000,
  "swtotal_size": 336870,
  "swtotal_weight": 764649,
  "swtxs": 64,
  "time": 1741753715,
  "total_out": 1122790762027,
  "total_size": 336977,
  "total_weight": 765077,
  "totalfee": 8307035,
  "txs": 66,
  "utxo_increase": -2307,
  "utxo_size_inc": -194258,
  "utxo_increase_actual": -2312,
  "utxo_size_inc_actual": -194808
}

$ bitcoin-cli -signet getnettotals
{
  "totalbytesrecv": 925763872,
  "totalbytessent": 4248644233,
  "timemillis": 1741753718365,
  "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  manual
in          3       3
out        11      11       2       1
total      14      14

Local addresses: n/a


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

### 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

b236d9dacff08a73
	d7d22e515e4a877945a3a82cfac47f374f9a6f6df16f88738d529a4af7f705bd
d26dc11e642083e6
	7f86a07732d0a770b2a7f657d41bc703a407b8f0dceefd1fe54e0374745b3030
8ba89ab3012edb77
	7906178a4f0927ea599ceb36cfe102d03c5ecbcdbbb0e323645373baed44a756
82b27e77426c9cf3
	3d4281f3d8179517068dcbded46e1a9e3de55ae6533bce9ff21250e5c3f4b614
42b140e8ec0305d6
	a957360f4052b319fe0076a731b6c23ee1c0c0710b7a09109cc671f1e36ae9db
c08713499d9d0036
	4f598a2e8f3fd13bd443c8c48212fe3148118ad88e7860e6fefadd706ba11a4d
6d7b94f5ebce1b36
	0f918f714071e2f7028b479f4367526406acbcdb00bbfbafc20b5f33b007fe8f
436b994a77b84ae5
	ac98cb3ac3f0431dd90a6118919e93a14a31e6b49bb799576b676323eb10ff5d


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

           ____  ___________
          / __ \/ ____/ ___/
         / /_/ /___ \/ __ \ 
         \__, /___/ / /_/ / 
        /____/_____/\____/  

  ,----- .123 4567 89ab cdef -----,
  |      ^THATlineISaSAMPLE^      |
  | ..   .... ..27 7.32 af2.   .f |
  | 1.   11d8 894e b8.3 c84a   1f |
  | 2.   d433 .b6f 6831 c915   2f |
  | 3.   d421 3619 eaf5 dbc6   3f |
  '===   ==== ==== ==== ====   ==='
   ak:   9a99 a1