bitcoind test
cannot find a good way to test this