mock bitcoin RPC