Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Reduce tx broadcast timeout #2657
Currently there is a bug in BitcoinJ causing the timeout at all BSQ
This follows after a discussion with @oscarguindzberg about his finding of the tx broadcast bug.
The tx broadcast itself has no bug, it is just that we don't hear back rom peers because the confidence object has changed and the success handler depends on that. So changing to a rather short time of 5 seconds is justified. The trade protocol has 1 minute timeout and to lose with the trade fee tx publishing too much time would risk that the trade protocol gets into a timeout error. This would be only the case when BSQ is used as trade fee.