btcd-cli4j
btcd-cli4j copied to clipboard
Bitcoin v 0.14.0 has Deprecated getinfo
when use bitcoin 0.14.0 the
public BtcdClientImpl(CloseableHttpClient httpProvider, Properties nodeConfig)
throws BitcoindException, CommunicationException {
initialize();
rpcClient = new JsonRpcClientImpl(configurator.checkHttpProvider(httpProvider),
configurator.checkNodeConfig(nodeConfig));
configurator.checkNodeVersion(getInfo().getVersion());
configurator.checkNodeHealth((Block)getBlock(getBestBlockHash(), true));
}
the `getInfo().getVersion()`` will be throw 404
Error #1003001: The server responded with a non-OK (4xx) HTTP status code. Status line: HTTP/1.1 404 Not Found, code=1003001))
please fix them