# on receiving block 879717 here
$ date -u '+%Y-%m-%dT%H:%M:%SZ'
2025-01-18T02:02:27Z
# as written in the block header
2025-01-18T02:01:49Z
$ uptime # since last reboot
02:02:27 up 166 days, 19:20, 0 users, load average: 2.93, 1.92, 1.41
$ battery.sh
70%, Power Supply Online
$ uname -smnr
Linux singer 6.6.37-0-lts x86_64
$ grep ^MemAvailable /proc/meminfo
MemAvailable: 1339740 kB
$ du -h -d1 .bitcoin/
4.9G .bitcoin/testnet4
10.8G .bitcoin/indexes
6.3G .bitcoin/signet
40.7M .bitcoin/wallets
97.7G .bitcoin/blocks
11.9G .bitcoin/chainstate
15.1G .bitcoin/testnet3
146.9G .bitcoin/
$ df -h .
Filesystem Size Used Available Use% Mounted on
/dev/sda3 911.4G 841.6G 68.9G 92% /
$ 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
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 getblockcount); echo $BC
879717
$ BH=$(bitcoin-cli getblockhash 879717); echo $BH
0000000000000000000188d283565f8ab5e1bb6c243fb632bf062e8cd714f680
$ bitcoin-cli getblockheader $BH
{
"hash": "0000000000000000000177e5df18154411cf2f9ea4fa4e3f7fbbed9b6fc75e0d",
"confirmations": 1,
"height": 855601,
"version": 537083904,
"versionHex": "20034000",
"merkleroot": "1f3f3c3fc7b44de7c79df750712a334ea83dbb10dd47c57a789d6dd049b432c8",
"time": 1722919934,
"mediantime": 1722917249,
"nonce": 2205577874,
"bits": "17031abe",
"difficulty": 90666502495565.78,
"chainwork": "0000000000000000000000000000000000000000876c314d1b2244b4226cab8c",
"nTx": 1,
"previousblockhash": "00000000000000000001187df2cd86998c727058ce11aa92b2fc97abb7816728"
}
$ echo $BH | tr 0 . | fold -w 4 | paste -d " " - - - -
.... .... .... ....
...1 88d2 8356 5f8a
b5e1 bb6c 243f b632
bf.6 2e8c d714 f68.
$ : 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
879717 sf: ...1 bf.6 f68.
$ : 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
879717 sk: f68. 94
### niceblack moved to the end
$ bitcoin-cli getmempoolinfo
{
"loaded": true,
"size": 118364,
"bytes": 36050060,
"usage": 216881152,
"total_fee": 0.36696695,
"maxmempool": 500000000,
"mempoolminfee": 0.00001000,
"minrelaytxfee": 0.00001000,
"incrementalrelayfee": 0.00001000,
"unbroadcastcount": 0,
"fullrbf": true
}
$ gmm.sh
1021
## Current epoch estimation is -1.15%
## 741 of 2016, i.e. 36%, 1275 to go
## Current and previous two in numbers:
$ bitcoin-cli getnetworkhashps 2016
7.810705842526966e+20
$ bitcoin-cli getnetworkhashps 2016 878975
7.90127532166539e+20
$ bitcoin-cli getnetworkhashps 2016 876959
7.852896071346759e+20
$ bitcoin-cli gettxoutsetinfo muhash
{
"height": 879718,
"bestblock": "000000000000000000017755f81d3b193e1857c50b37f793676a5d816a90145a",
"txouts": 185271401,
"bogosize": 14401127682,
"muhash": "28bfaaf4e217b8f6c033301e219b1df215c137325a2f6c65ebcc497c62318e0f",
"total_amount": 19811401.30374548,
"total_unspendable_amount": 220.57125452,
"block_info": {
"prevout_spent": 189.59395517,
"coinbase": 3.13733039,
"new_outputs_ex_coinbase": 189.58162478,
"unspendable": 0.00000000,
"unspendables": {
"genesis_block": 0.00000000,
"bip30": 0.00000000,
"scripts": 0.00000000,
"unclaimed_rewards": 0.00000000
}
}
}
$ bitcoin-cli getblockstats 879717
{
"avgfee": 1746,
"avgfeerate": 1,
"avgtxsize": 3099,
"blockhash": "0000000000000000000188d283565f8ab5e1bb6c243fb632bf062e8cd714f680",
"feerate_percentiles": [
1,
1,
1,
1,
1
],
"height": 879717,
"ins": 13296,
"maxfee": 108543,
"maxfeerate": 238,
"maxtxsize": 289007,
"medianfee": 185,
"mediantime": 1737162426,
"mediantxsize": 334,
"minfee": 109,
"minfeerate": 1,
"mintxsize": 150,
"outs": 1256,
"subsidy": 312500000,
"swtotal_size": 2180717,
"swtotal_weight": 3990320,
"swtxs": 699,
"time": 1737165709,
"total_out": 12310263572,
"total_size": 2182088,
"total_weight": 3995804,
"totalfee": 1229596,
"txs": 705,
"utxo_increase": -12040,
"utxo_size_inc": -921542,
"utxo_increase_actual": -12128,
"utxo_size_inc_actual": -927101
}
$ bitcoin-cli getnettotals
{
"totalbytesrecv": 7574773105,
"totalbytessent": 19398864532,
"timemillis": 1737165765057,
"uploadtarget": {
"timeframe": 86400,
"target": 0,
"target_reached": false,
"serve_historical_blocks": true,
"bytes_left_in_cycle": 0,
"time_left_in_cycle": 0
}
}
$ bitcoin-cli -netinfo
Bitcoin Core client v28.1.0 - server 70016/Satoshi:28.1.0/
ipv4 npr total block manual
in 112 2 114
out 11 0 11 2 1
total 123 2 125
Local addresses: n/a
$ bitcoin-cli -addrinfo
{
"addresses_known": {
"ipv4": 67578,
"ipv6": 0,
"onion": 0,
"i2p": 0,
"cjdns": 0,
"total": 67578
}
}
$ halving.sh 879717
=====================================
Bitcoin Block Halving prediction
=====================================
bc=879718
gbt=1231006505
bbt=1737165730
This is average time to mine a block
(1737165730-1231006505)/879718
bts=575.3646618977196127399771
Now let's multiply that by 1050000
which is the block number of next
halving and get the prediction:
Sat Feb 26 01:06:15 UTC 2028
-------------------------------------
Next palindrome will be 879978
predicted to happen at this time:
Sun Jan 19 19:35:24 UTC 2025
-------------------------------------
Current mining epoch number is 436.
The next fortnight happens in block
880992 and probably around this time:
Sun Jan 26 13:39:04 UTC 2025
### v2_peerinfo are in v2_peerinfo-bitcoin.txt
$ bitcoin-cli getpeerinfo | grep -w 'v2' | uniq -c
47 "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
7da7f839a3628416
7d6b3c71a989ef8d897e5115869d7dc9171ed2b7a3b56732678a3de2f39199b0
715a7d6520e35a40
34e9b8b0747b13ee64531b08281613302e6f09f57e160387a05078e59633a235
f6aef4cc5ba22e29
2d6242689a6f513238dda6765b40c491ca3c492c51586fb1ef00c90304263710
0d302427d25c0c4a
f4504263f5f0b6f6194afa0448f0af90b5bc2d94b8c407650aa22a14f443c101
7b28bb4aa5386be1
9684d64f1026859a7836bec685473499cb48346b6522750149997c9598aafb00
ad43de7b9d95c304
e36cd3ba6e38f948bf445ef2369b5a46e7d9fa507a742d5f6fbc3c3ea59b0d79
48ba6234bb5f3a05
b465ba49e60e15cdfe30e30b77fae47b96f4a8d07b24e8b58d49383b3f675349
aaa3c08d1efee062
93adf217623c752bb635c333031bffd9fdbe2e4c1d543ea5a2870ba62e3c3a5b
c4c17524953086ac
f6cd57d6e5c0e0b71a1aa024e8c5491a3325d64e197c9c99dc350dae853387fd
dde560c8585ac22f
2f7448ea03bddb386847015518fab846f01e05c7e19144da58ed202832867c1a
ec4ff9747ac80ddc
1029d953f513e9e2b6cb481c52e59db88e71226968a527c6aae88421225d57f4
2eafab0a949c7078
5e243371e28cf9ea922d8f11e6b2126c6935ce00078a9379f8ea4426f7b2483b
8108e26d59e9e25c
cb47e4d2dd7cdc8ff3f47c84bd70af91e5b3a2008ecd88f2ab335e1fc2cb08cd
6a4c7213799ef5af
de30c99871038355f6d6299fe34d63b600a28f0695acd8c7117242b4f8f29844
26a0bef1b0d4fd95
27f606a49998cf6d33fe7d8f0f00d425eaeb43020c1c4624b9f26d1f276a8597
c1e429091f9b2eec
010ca49019809e9a85ab940a49ec0d6bb2b0d1ecdc6c5b35895f687f24325531
98b993633a8c048f
08ce86a7cb122036470191229280face2cf40e3d3c28c4cedcd5f50ed421b499
30fe31b47bca9c4c
66988e7aa0ec0359e099478dde0960901250f494f262e1b4e0d0f9cb97172384
2646aae5835220f0
ae02f151ca35f28a6a86176e45f9dd5c9caa93c25b21b880312f638b50e0b468
9d9742a752812a73
581cf3f779d43ce03272db60c189442d40c0c67d8dc00f7ed8b9adc760595b9b
7a6c245f3f0814e1
84eab6bd1dcd7bff8199cadc83df1d0f742614a719e39c53a01c841b506020aa
85c2cb21d93adc53
307f0dd9f99ff5df154bbb0d645464a1c6763c697c231b1d275204af74040050
18ec19011cc0fb71
72733951c6610f8125c8a169c3e4501b534ec134710ca81ccccdba708d323859
d57e048460ba654c
e8d97e7cbfae613a558ca837ab35da3b0f1b60cbcd7afcd718919e9e195a8211
4fe247284eeb5b6a
2296362dd6e540647bd1b1b08fe60480cf5e2c82562ab56212f8b9c7f4e2a985
b76ad86b772e0e33
0b1f218ed292e4a2589ef87f4dfbcb4d8bb585184352c68946f257912f806e52
baf20301464805d1
469effe4f2a8c17a77fa853a8d75a875c34767e49fd84683834feaf44910e314
c70974eb00bf9927
4737636308a6f49b5b872c04aea4c343e5b03881d28c2d622a65261bb28068a8
bbd0b04a1a7833d9
a34a6f63c04641227f099fc76e6aa9dad163c8266a42480aeadee896b97d96d5
6d6e7476d9cb2155
f05fdfc4c5dd06a556e8a39ad1f0e0f6b952b98c5f59c5257ac8454a66820148
80a68190197b621f
6c5548a4d3fb476e7567dd29954a2d5c44df3b41f92fd00ef80c4c1f5314e2f6
9f116132a7f58554
d5cd87f0fed44cb6713676876575ecf5610b6d9986804a44925a5ac28c2da66b
7904e83f487961ad
6900393e7eb9c304ca966ceea7ca5933a40b39999c4d20218a87d4a0d51c9a5e
9d69300b58ed99e5
14225a82fc34bb9bfd73f00c9684f89ed6868ecf26a58890ce70f1a09052ae09
222c69edb7014b48
9c171c59fc581d365b8e433d03d96027fb0d54e3ca0956d03a5f9b93e14d75e6
ae64cddd6338f9ad
ac9152a293dfce1f04940c95c426392ae301a6152a1f98be6d30b0c71b6558a8
69b293e586050664
0b2a3e21b6ebe8bb04001111f32448823dd2e481494c934dff7638fe22bb5fe7
f0ee05898cced33f
d5a399f62baefe506ce53cc7b97b6674ec180215c0f83fd410d782903eab9083
947a81044fd2fb44
091fb23cf28df54e45ac9323c1e5f6569cc52bd0d85582b322057e6984a17a19
72a39744db78c698
20e755081e5f09ad1a2e4dc075f42942a3f2f297851528e9edb2ca0aca09f4da
557c6730812f16f9
29252f418b8ec595fc296bbbbdb3fdb9094e07a7d15ebb3c488de99fc4f3dccb
8a9e41d6d7ebd69f
c06c053cb725d5a5f5e96e6f2067dd0d92a7d67650867c99406ffb5aaa447976
baf2a7d48d701f8c
e399b0a7de5ffebae3d60a6708cd816b452c27cd7f0eb86ecb4bab545b5646b6
b0c1c86de83b9828
939d6de516e6edbb99ca9c5d49b4226ddac2a9677e76b8755250ac6e56170f89
19e16c106df5a09c
6dc7cf9ecfdee16f2efb090880ccc09020f32b375af3d58ad2ddd664686a9856
51c161d38090fd44
aa42f2f3c22ad6b2871d54c0a0de69793bc38548b146ad4e9e5cbbeeb731a4d9
bc2cb8723f92a026
58508c678a437cc60c32009298f5f277f490dc44c0541b8513d04bd195ec1db6
$ niceblack.sh $BH $BC
_ _ _
| | | | | |
| | | | __ __ | |
|/ \_|/ / \_/ |/_)
\_/ |__/\__/ \___/| \_/
_______ _______ ,_____
/ \ // | //| /
\__/ / \_/| / | /
/ \ / | / | /
\__// |/ | /
,--- .123 4567 89ab cdef ---,
| .. .... .... .... .... .f |
| 1. ...1 88d2 8356 5f8a 1f |
| 2. b5e1 bb6c 243f b632 2f |
| 3. bf.6 2e8c d714 f68. 3f |
'=== ==== ==== ==== ==== ==='
sk: f68. 94