random scripts useful for interacting with https://github.com/conformal/btcd