-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I use MainNetParams, I always start with the following exception. What does this mean? #38
Comments
When I receive the transaction, I will have the following error message later. What does this mean? Apr 30, 2018 3:03:29 PM org.bitcoinj.wallet.WalletFiles saveNow Apr 30, 2018 3:03:29 PM org.bitcoinj.wallet.WalletFiles saveNowInternal |
The first may be a peer or dnsseed that gets disconnected. The second tells you about the warning. A thread is started without using Context.propagate. |
How to solve this problem? When I use MainNetParams, the transaction status I receive is always unspent. |
If you are talking about the first exception, those happen from time to time, the key is to have more peers to connect to. How many peers is your software connecting to? |
When I use MainNetParams, the transaction status I receive is always unspent. The following is the log: wallet address:1295TuNjuJs4apzAXdEy5cK5Hwcp8D5pu9 wallet Wallet containing 0.004 BCH (spendable: 0.004 BCH) in: |
Error handling SelectionKey: java.nio.channels.CancelledKeyException
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:87)
at java.nio.channels.SelectionKey.isWritable(SelectionKey.java:312)
at org.bitcoinj.net.ConnectionHandler.handleKey(ConnectionHandler.java:229)
at org.bitcoinj.net.NioClientManager.handleKey(NioClientManager.java:86)
at org.bitcoinj.net.NioClientManager.run(NioClientManager.java:122)
at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:60)
at com.google.common.util.concurrent.Callables$3.run(Callables.java:95)
at org.bitcoinj.utils.ContextPropagatingThreadFactory$1.run(ContextPropagatingThreadFactory.java:49)
at java.lang.Thread.run(Thread.java:745)
The text was updated successfully, but these errors were encountered: