[bisq-network/roles] Bisq Bitcoinj Fork Maintainer (#8)

Manfred Karrer notifications at github.com
Thu Aug 30 21:44:52 UTC 2018


## 2018.08 report

We reverted a code change done in January to improve the broadcast reliability. As it turned out that change had the opposite effect for unknown reasons. 
The default BitcoinJ policy was to broadcast to half of the connected nodes and wait to hear back from the half of those. As 12 nodes was default connection target, it was broadcast to 6 nodes and waited to hear back from 3. As we have less nodes (8-9) as default connection target we changed the polity to broadcast to all and wait to hear back from only 2. There was one bug that we waited in fact only for one node to hear back - but even that often did not happen. It seems BitcoinJ has some weird side effect that if we broadcast to more nodes the likelihood to hear back is lower, which is very counter intuitive. After longer testing with different settings we reverted to the original policy so we broadcast to 50% and then wait for 50% of those, so with 8 connections we broadcast to 4 nodes and wait for 2 nodes. This change was shipped with 0.8.0 and hopefully reduces the bugs with failed transactions broadcasts.

/cc bisq-network/compensation#112

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/roles/issues/8#issuecomment-417477088
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20180830/fad4fb0a/attachment.html>


More information about the bisq-github mailing list