Skip to content

Bitcoin v 0.14.0 has Deprecated getinfo #12

@zuoliang0

Description

@zuoliang0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions