# on receiving block 222963 here
$ date -u '+%Y-%m-%dT%H:%M:%SZ'
2024-11-21T07:36:35Z
# as written in the block header
2024-11-21T07:36:31Z
$ uptime # since last reboot
07:36:34 up 109 days, 54 min, 0 users, load average: 0.29, 0.32, 0.33
$ battery.sh
95%, Power Supply Online
$ uname -smnr
Linux singer 6.6.37-0-lts x86_64
$ grep ^MemAvailable /proc/meminfo
MemAvailable: 1540776 kB
$ du -h -d1 .bitcoin/signet
404M .bitcoin/signet/indexes
9.6M .bitcoin/signet/wallets
2.4G .bitcoin/signet/blocks
292M .bitcoin/signet/chainstate
123M .bitcoin/signet/electrs
3.2G .bitcoin/signet
$ df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 912G 808G 104G 89% /
$ bitcoind --version
Bitcoin Core version v28.99.0-4835bba2cb13
Copyright (C) 2009-2024 The Bitcoin Core developers
Please contribute if you find Bitcoin Core useful. Visit
for further information about the software.
The source code is available from .
This is experimental software.
Distributed under the MIT software license, see the accompanying file COPYING
or
$ BC=$(bitcoin-cli -signet getblockcount); echo $BC
222963
$ BH=$(bitcoin-cli -signet getblockhash 222963); echo $BH
000000c6e318343ccca9d08af39ba93e4c3a2492345a9902e2d69c5c468bd059
$ bitcoin-cli -signet getblockheader $BH
{
"hash": "000000c6e318343ccca9d08af39ba93e4c3a2492345a9902e2d69c5c468bd059",
"confirmations": 1,
"height": 222963,
"version": 536870912,
"versionHex": "20000000",
"merkleroot": "187a53b3467a8812a371db69808be1c3e348446b399d72728f0d40022263e4b0",
"time": 1732174591,
"mediantime": 1732172793,
"nonce": 28676406,
"bits": "1e015274",
"difficulty": 0.002954573816421218,
"chainwork": "000000000000000000000000000000000000000000000000000002878b4a79cc",
"nTx": 34,
"previousblockhash": "0000014f4bd724b5e2a072a1bd0bdf9cf8cd2fa5b2e7942df8fb43c26f8aef43"
}
$ echo $BH | tr 0 . | fold -w 4 | paste -d " " - - - -
.... ..c6 e318 343c
cca9 d.8a f39b a93e
4c3a 2492 345a 99.2
e2d6 9c5c 468b d.59
$ : 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
222963 sf: ..c6 d.8a 99.2 d.59
$ : 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
222963 sk: d.59 b1
$ niceblack.sh $BH $BC
___ ___ ___
|__ \|__ \|__ \
__/ /__/ /__/ /
/ __// __// __/
/____/____/____/
____ __________
/ __ \/ ___/__ /
/ /_/ / __ \ /_ <
\__, / /_/ /__/ /
/____/\____/____/
,--- .123 4567 89ab cdef ---,
| .. .... ..c6 e318 343c .f |
| 1. cca9 d.8a f39b a93e 1f |
| 2. 4c3a 2492 345a 99.2 2f |
| 3. e2d6 9c5c 468b d.59 3f |
'=== ==== ==== ==== ==== ==='
sk: d.59 b1
$ bitcoin-cli -signet getmempoolinfo
{
"loaded": true,
"size": 0,
"bytes": 0,
"usage": 32,
"total_fee": 0.00000000,
"maxmempool": 300000000,
"mempoolminfee": 0.00000100,
"minrelaytxfee": 0.00000100,
"incrementalrelayfee": 0.00001000,
"unbroadcastcount": 0,
"fullrbf": true
}
## Current epoch estimation is +1.18%
## 1203 of 2016, i.e. 59%, 813 to go
## Current and previous two in numbers:
$ bitcoin-cli -signet getnetworkhashps 2016
21394.61631841613
$ bitcoin-cli -signet getnetworkhashps 2016 221759
21145.07110994882
$ bitcoin-cli -signet getnetworkhashps 2016 219743
21030.76173996619
$ bitcoin-cli -signet gettxoutsetinfo muhash
{
"height": 222963,
"bestblock": "000000c6e318343ccca9d08af39ba93e4c3a2492345a9902e2d69c5c468bd059",
"txouts": 4137604,
"bogosize": 333384899,
"muhash": "a93e69996cb5de457b5906d03bfdd27e39fbae594ae8095f877195ff0e1e2857",
"total_amount": 10823803.19914825,
"total_unspendable_amount": 296.80085175,
"block_info": {
"prevout_spent": 626475.57374062,
"coinbase": 25.00010258,
"new_outputs_ex_coinbase": 626475.57363804,
"unspendable": 0.00000000,
"unspendables": {
"genesis_block": 0.00000000,
"bip30": 0.00000000,
"scripts": 0.00000000,
"unclaimed_rewards": 0.00000000
}
}
}
$ bitcoin-cli -signet getblockstats 222963
{
"avgfee": 310,
"avgfeerate": 1,
"avgtxsize": 321,
"blockhash": "000000c6e318343ccca9d08af39ba93e4c3a2492345a9902e2d69c5c468bd059",
"feerate_percentiles": [
1,
1,
1,
2,
2
],
"height": 222963,
"ins": 60,
"maxfee": 2966,
"maxfeerate": 4,
"maxtxsize": 2666,
"medianfee": 154,
"mediantime": 1732172793,
"mediantxsize": 205,
"minfee": 131,
"minfeerate": 1,
"mintxsize": 182,
"outs": 67,
"subsidy": 2500000000,
"swtotal_size": 10600,
"swtotal_weight": 26860,
"swtxs": 33,
"time": 1732174591,
"total_out": 62647557363804,
"total_size": 10600,
"total_weight": 26860,
"totalfee": 10258,
"txs": 34,
"utxo_increase": 7,
"utxo_size_inc": 580,
"utxo_increase_actual": 6,
"utxo_size_inc_actual": 411
}
$ bitcoin-cli -signet getnettotals
{
"totalbytesrecv": 580831466,
"totalbytessent": 3446568234,
"timemillis": 1732174595315,
"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.99.0-4835bba2cb13 signet - server 70016/Satoshi:28.99.0/
ipv4 total block
in 11 11
out 10 10 2
total 21 21
Local addresses: n/a
$ bitcoin-cli -signet -addrinfo
{
"addresses_known": {
"ipv4": 817,
"ipv6": 0,
"onion": 0,
"i2p": 0,
"cjdns": 0,
"total": 817
}
}
### v2_peerinfo are in v2_peerinfo-signet.txt
$ bitcoin-cli -signet getpeerinfo | grep -w 'v2' | uniq -c
6 "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
31bd55844c7cfe2c
fabc525963482a5a60226780cc8dfe4d04467498f880f64a1977f0125e35d54d
8ae1858c760d8013
8d8a64e8156b0dd77aaed5d45d72161b9a401f4333622774cbd3a239555934d6
f5ff3afa0c83e1eb
a181e11aea23c71721c92966c6f01b33959261b6d031285c834a30bcd8341754
ed6ccf696411369d
886aae6f5f9b016494cc6210e11fec31b3728cab446e64b54266cb83e0a12bc0
7b8d41121124d6a0
2897ca85cdb304b296929b53776f34cae6d035e7b61813b21dfa1101bb48e283
033dae5c6c8aaab6
e525182dedaa87eb36eac600de00e91f877706346d5fe2652f42603e5136fa18