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"
@pox
pox / bipmerge.svg
Created February 13, 2021 16:30
bipmerge icon
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am pox on github.
  • I am xi27pox (https://keybase.io/xi27pox) on keybase.
  • I have a public key ASDDp3a_Nna3hBPUS9jri5ABrRErBUAvxZzWuyU9qgubvgo

To claim this, I am signing this object: