Skip to content

Instantly share code, notes, and snippets.

@pox
pox / blockclock_taproot.sh
Last active May 2, 2021 16:08
Update BlockClock Mini with Taproot Activation Progress
#!/bin/bash -eu
set -o pipefail
# This script requires jq & curl (and bitcoin-cli of course).
# Set the correct hostname for your blockblock below:
export BLOCKCLOCK_HOSTNAME="192.168.1.175"
export SIGNALLING_PC="$(bitcoin-cli getblockchaininfo | jq -r '.softforks.taproot.bip9.statistics | 1000 * (.count / .elapsed) | round/10')"
export URL="http://$BLOCKCLOCK_HOSTNAME/api/show/number/$SIGNALLING_PC?sym=%25&br=Blocks%20Signalling%20Taproot"
If you have an opinion on ST (Speedy Trial) proposal please ACK/NACK this so we can log the level of support for this proposal
Details of the proposal are here: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-March/018583.html
edit (April 14th 2021)
Jeremy Rubin has asked me to add the following:
"[bitcoin/bips#1104](https://github.com/bitcoin/bips/pull/1104) has been proposed (and implemented via
[bitcoin/bitcoin#21377](https://github.com/bitcoin/bitcoin/pull/21377)) as a concrete interpretation of @harding's original
proposal. Feel free to re-ACK on the BIP PR (and in the core PR if you feel qualified to review) if this plan matches your