Hi~
I use bitcoinj to develop a software, during the debug process i found
some problem:
1.Sometimes thread will blocked by PeerGroup
download operation, PeerGroup will keep trying to connect to the same node,
but has been rejected. And then loop, the thread is blocked
2.Sometimes log shows "peer die" and blocked, never do anything else, the
thread is blocked
My code is the same as example code, and in most cases can be normal,
so I want to know if I can add a timeout or a limit to the number of
PeerGroup download operation ? automatically terminate a thread or report
an exception when he has a problem
Now I watch block height every day to determine if the program is
blocked, and then restart to solve the problem(This is really
disgusting), Can someone help me solve this problem? Thanks!!!
--
You received this message because you are subscribed to the Google Groups
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.