Make compatible with bitcoind.