mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
It's quite amazing how obvious this was, yet I missed it for such a long time. Simplifies usage of LocalBitcoinNode and its internals even more so. Fixes #4005. The way we structured LocalBitcoinNode was as if the detection checks were expensive, but they're not. Previously, in some cases we would notice that a local BTC node wouldn't be used even if it was detected, so we would skip these checks. This optimization now doesn't happen. It might be reimplemented in a coming change where more local BTC node logic is moved into LocalBitcoinNode, but, even if it's not, this check is fairly cheap. A notable exception is if the local BTC node is not responding, which would cause us to wait for a timeout, but if that is the case the mentioned optimization wouldn't help (most of the time). |
||
---|---|---|
.. | ||
package | ||
src |