Giter Site home page Giter Site logo

btcd-cli4j's People

Contributors

priiduneemre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

btcd-cli4j's Issues

"alertnotify,blocknotify,walletnotify " not found

i want use the BtcdDaemon
add config to dogecoin.conf

service=1
rpcuser=dogecoinrpc
rpcpassword=xxxxxxxx
alertnotify="echo %s | nc 127.0.0.1 5158"
blocknotify="echo %s | nc 127.0.0.1 5159"
walletnotify="echo %s | nc 127.0.0.1 5160"

start ./dogecoind

the log show

sh: 1: echo 2c02fbe7a2aafc775382f62d881399765349db57c958342c3d7e11178c579853 | nc 127.0.0.1 5159: not found
.......

i miss something??

run on ubuntu 16.04 and dogecoin 1.10

Use btcd(Go) rpc server connect error

4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
HttpLayerException(super=CommunicationException(super=com.neemre.btcdcli4j.core.http.HttpLayerException: Error #1004004: The operation failed due to an unknown IO exception., code=1004004))
at com.neemre.btcdcli4j.core.http.client.SimpleHttpClientImpl.execute(SimpleHttpClientImpl.java:66)
at com.neemre.btcdcli4j.core.jsonrpc.client.JsonRpcClientImpl.execute(JsonRpcClientImpl.java:64)
at com.neemre.btcdcli4j.core.jsonrpc.client.JsonRpcClientImpl.execute(JsonRpcClientImpl.java:44)
at com.neemre.btcdcli4j.core.client.BtcdClientImpl.getInfo(BtcdClientImpl.java:323)
at com.neemre.btcdcli4j.core.client.BtcdClientImpl.(BtcdClientImpl.java:59)
at T.main(T.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: org.apache.http.NoHttpResponseException: 127.0.0.1:8334 failed to respond
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:161)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:153)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at com.neemre.btcdcli4j.core.http.client.SimpleHttpClientImpl.execute(SimpleHttpClientImpl.java:51)
... 10 more

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

can't reach maven repository in GitHub Actions

issue explains itself imo

`

  • What went wrong:
    Execution failed for task ':compileJava'.

Could not resolve all files for configuration ':compileClasspath'.
Could not download btcd-cli4j-core-0.5.1.jar (com.neemre.btcd-cli4j:btcd-cli4j-core:0.5.1)
> Could not get resource 'http://mvn.neemre.com/com/neemre/btcd-cli4j/btcd-cli4j-core/0.5.1/btcd-cli4j-core-0.5.1.jar'.
> Could not GET 'http://nemp.planet.ee/mvn/com/neemre/btcd-cli4j/btcd-cli4j-core/0.5.1/btcd-cli4j-core-0.5.1.jar'.
> Connect to nemp.planet.ee:80 [nemp.planet.ee/217.146.69.16] failed: Connect timed out
`

Reporting Bitcoin Core RPC error codes to Java

Randomly Bitcoin Core is not able to perform a requested action (sendFrom, sendMany, sendtoaddress, others...): the library report a generic error code:
"Error #1003002: The server responded with a non-OK (5xx) HTTP status code. Status line: HTTP/1.1 500 Internal Server Error, code=1003002"

A way of getting the RPC error codes of the Bitcoin Core must be implemented.

RPC error codes can be found here:
https://github.com/bitcoin/bitcoin/blob/master/src/rpc/protocol.h

com.neemre.btcdcli4j.core.http.HttpLayerException

Exception in thread "main" HttpLayerException(super=CommunicationException(super=com.neemre.btcdcli4j.core.http.HttpLayerException: Error #1003001: The server responded with a non-OK (4xx) HTTP status code. Status line: HTTP/1.1 404 Not Found, code=1003001)

bitcoin v0.18.1

Error in readme file about pom file

In the pom file including the following did not work for me

<repositories>
	<repository>
		<id>mvn-nemp-ftp</id>
		<name>Nemp's Maven Repository</name>
		<url>http://mvn.neemre.com/</url>
	</repository>
</respositories>

I had to change repositories to distributionManagement for it to work for me in eclipse:

<distributionManagement>
	<repository>
		<id>mvn-nemp-ftp</id>
		<name>Nemp's Maven Repository</name>
		<url>http://mvn.neemre.com/</url>
	</repository>
</distributionManagement>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.