neb.java icon indicating copy to clipboard operation
neb.java copied to clipboard

Java implementation of the Nebulas protocol

Results 9 neb.java issues
Sort by recently updated
recently updated
newest added

如何用java 发送交易 ? 有没有案例?

通过web钱包和sdk部署智能合约都会报这个错误,tx状态为fail,有人知道这个问题怎么解决吗?

Data是为了SendTransactionWithPassphrase

Better to have native retry, could define the retry times

When connected to the mainnet, it happens: ``` Caused by: java.net.SocketTimeoutException: timeout at okio.Okio$4.newTimeoutException(Okio.java:230) at okio.AsyncTimeout.exit(AsyncTimeout.java:285) at okio.AsyncTimeout$2.read(AsyncTimeout.java:241) at okio.RealBufferedSource.indexOf(RealBufferedSource.java:345) at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:217) at okhttp3.internal.http1.Http1Codec.readHeaderLine(Http1Codec.java:212) at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189) at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)...

看demo的源码,是使用http发起请求的呀?但报了SSL错误 java.lang.RuntimeException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.google.common.base.Throwables.propagate(Throwables.java:241) at com.richfund.wallet.rpc.nebulas.client.http.OKHttpClient.call(OKHttpClient.java:96) at com.richfund.wallet.rpc.nebulas.client.http.OKHttpClient.post(OKHttpClient.java:62) at com.richfund.wallet.rpc.nebulas.client.impl.HttpNebulasClient.subscribe(HttpNebulasClient.java:122) at com.richfund.wallet.rpc.Test.nasTest(Test.java:107) 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:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at...

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.spongycastle.crypto.digests.SHA3Digest.squeeze(SHA3Digest.java:375) at org.spongycastle.crypto.digests.SHA3Digest.doFinal(SHA3Digest.java:141) at io.nebulas.crypto.hash.Hash.Sha3256(Hash.java:16) at io.nebulas.core.Address.newAddress(Address.java:92) at io.nebulas.core.Address.NewAddressFromPubKey(Address.java:113) at io.nebulas.account.AccountManager.updateAccount(AccountManager.java:61) at io.nebulas.account.AccountManager.newAccount(AccountManager.java:56) at com.lhang.payment.Payment4Nas.main(Payment4Nas.java:10)

Error:com.android.builder.dexing.DexArchiveBuilderException: Failed to process C:\Users\TK\.gradle\caches\modules-2\files-2.1\com.google.guava\guava\23.0\c947004bb13d18182be60077ade044099e4f26f1\guava-23.0.jar