More code to handle bitcoind mgmt