add rpcclient for btcd rpcserver and get callback info of block hash, height and tx offset