Commit graph

18184 commits

Author SHA1 Message Date
Alejandro García
3b2b4856aa
Revert to SNAPSHOT version 2024-12-10 08:02:25 +00:00
Alejandro García
b3f44d2b4c
Use BtcNodes from master branch 2024-11-22 18:43:29 +00:00
Alejandro García
59e13fdb73
Add v1.9.18 to historical resources list 2024-11-22 18:21:23 +00:00
Alejandro García
0af78f3fc0
Merge pull request #7314 from alejandrogarcia83/update-data-stores-for-v1.9.18
Update data stores for v1.9.18
2024-11-21 20:27:32 +00:00
Alejandro García
55ec429bcb
Update data stores for v1.9.18 2024-11-21 19:50:39 +00:00
Alejandro García
c31a55b385
Bump version number for v1.9.18 2024-11-21 19:42:04 +00:00
Alva Swanson
29406cdf0a
FederatedBtcNodeProvider: Compare banned node address and port 2024-11-21 19:38:47 +00:00
Alva Swanson
a49bbd36e6
BtcNodeProvider: Fix BTC node banning
The FederatedBtcNodeProvider compared the list of banned nodes with each
BtcNode's hostname instead of checking a BtcNode's hostname, ip address,
and onion address.
2024-11-21 19:38:35 +00:00
Alva Swanson
bb66c827b9
NodeAddress: Fix broken IPV6 parsing
Bisq accepts IPV6 node addresses but the NodeAddress can't parse them.
2024-11-21 19:38:22 +00:00
Alva Swanson
8fc4181cd7
BtcNodes: Fix hostname parsing
The fromFullAddress method parsed hostnames as IPV4 addresses instead as
hostnames.
2024-11-21 19:38:10 +00:00
Alva Swanson
a0ff6073ac
Add FederatedBtcNodeProviderTest.onlyHardcodedNodes test 2024-11-21 19:36:54 +00:00
Alva Swanson
7a683ce52e
Pass filterProvidedBtcNodes and bannedBtcNodes to FederatedBtcNodeProvider 2024-11-21 19:36:41 +00:00
Alva Swanson
8be563f71e
Pass list of nodes instead of BtcNodes class to FederatedBtcNodeProvider 2024-11-21 19:36:41 +00:00
Alva Swanson
43b07c2838
Move federated BTC node selection to FederatedBtcNodeProvider 2024-11-21 19:36:23 +00:00
Alva Swanson
22aa759a0a
BtcNode: Make port field final 2024-11-21 19:36:12 +00:00
Alva Swanson
cbea843144
Fix duplicates in BtcNode list
When the user uses our federated BTC nodes, we merge the hard-coded
nodes with the ones provided by the filter. The hard-coded node's
operator field is set to the node's operator and operator field of the
nodes from the filter is set to "Provided by filter". When the same BTC
node is in the hard-coded list and the filter, Bisq adds both to the
merged list because the operator field is different.

This change explicitly marks the onionAddress, hostName, address, and
port field to be used in the hashCode and equals implementation.
2024-11-21 19:35:51 +00:00
Alva Swanson
a8b4ef8194
BtcNetworkConfig: Shuffle Bitcoin Core peers
We try to connect to the first 7 Bitcoin Core nodes always in the same
order. Only if connections to these nodes fail we look further into the
list. This change shuffles the node addresses before passing them to
BitcoinJ thus removing the bias from the first 7 prioritized nodes.
2024-11-21 19:35:38 +00:00
Alva Swanson
41912f9417
BtcNetworkConfig: Don't create unused array 2024-11-21 19:35:38 +00:00
Alejandro García
179cc1ec48
Revert to SNAPSHOT version 2024-11-21 19:33:12 +00:00
Alejandro García
5a2bc54be3
Bump version number for v1.9.17 2024-06-24 00:58:28 +00:00
Alejandro García
3a84f18d2b
Target bitcoinj containing chain work hotfix 2024-06-24 00:58:28 +00:00
Devin Bileck
8e9e665cf9
Reduce bundled javacv library size
With the introduction of the javacv library when re-adding the QR code
scanner feature for mobile notification pairing in #7050, the Bisq
binary increased to nearly 1 GB from its previous size of around 300 MB.

When including the javacv-platform dependency, it pulls in binaries
for all platforms. But it is possible to limit this by utilizing
the gradle-javacpp platform plugin which by default will pull in
binaries only for the current platform.

Reference: https://github.com/bytedeco/gradle-javacpp#the-platform-plugin

With this change, the included libs went from ~980 MB down to ~366 MB.
2024-06-24 00:58:22 +00:00
Alejandro García
707349f9df
Revert to SNAPSHOT version 2024-06-24 00:41:05 +00:00
Alva Swanson
7731996dac
Fix v1.9.16 datastores 2024-06-16 12:36:37 +00:00
HenrikJannsen
1d51551133
Update btc nodes
Add previously used nodes which are intended to get retired but got
added again due shortage of stable nodes. Those marked unstable should
be banned by filter as long they stay unstable.
2024-06-12 13:48:07 +00:00
HenrikJannsen
b0b54d3617
Add uid to Filter
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:06:43 +00:00
HenrikJannsen
1a75e36039
Add ExcludeForHashAwareProto interface to DataAndSeqNrPair
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:06:43 +00:00
HenrikJannsen
78287da8a3
Improve logs
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:06:43 +00:00
HenrikJannsen
5d8ca125bc
Apply ExcludeForHash annotation to Filter.
By that the newly added fields will not alter the byte array used for the hash and the signature, thus it will not cause issues with removing an old filter which did not inculde those new fields.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:06:43 +00:00
HenrikJannsen
2b8509a44a
Adds ExcludeForHash annotation and ExcludeForHashAwareProto which implements the handling of the excluded fields. 2024-06-12 00:06:20 +00:00
HenrikJannsen
55878c7b15
Fix tests
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:05:54 +00:00
HenrikJannsen
19a9526d55
Refactor: Replace toProtoMessage().toByteArray() calls to serialize() or serializeForHash() methods.
Currenty serializeForHash just calls serialize. This will be change in later commits
2024-06-12 00:05:53 +00:00
HenrikJannsen
450814b926
Fix tests
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:05:06 +00:00
HenrikJannsen
c6b30b00cc
Add filterProvidedBtcNodes and filterProvidedSeedNodes fields to Config.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:05:06 +00:00
HenrikJannsen
f38b64b9ed
Add addedBtcNodes and addedSeedNodes fields to Filter.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:05:06 +00:00
HenrikJannsen
67bc6818e6
Remove inactive btc2.vante.me btc node
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:03:36 +00:00
HenrikJannsen
07b8bcfb34
Update resource files
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 00:02:42 +00:00
HenrikJannsen
5fd95bb6dc
Add luis3672 to DisputeAgentLookupMap
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-11 23:56:58 +00:00
RunBTC
cd52dfef7c
Add nodes 2024-06-11 23:55:36 +00:00
Alejandro García
d0b5754bac
Merge pull request #7133 from bisq-network/update-data-stores-for-v1.9.16
Update data stores for v1.9.16
2024-06-02 17:17:10 +00:00
Devin Bileck
55dbf4893c
Remove emzy monero explorer 2024-06-01 03:42:51 +02:00
Devin Bileck
e94b17645e
Remove emzy btc nodes 2024-06-01 03:42:51 +02:00
Devin Bileck
e5e6276f38
Remove emzy price node 2024-06-01 03:42:51 +02:00
Devin Bileck
e4a8e2b1d0
Remove emzy seed nodes 2024-06-01 03:42:51 +02:00
Alejandro García
daab50c1e9
Update data stores for v1.9.16 2024-06-01 03:22:59 +02:00
HenrikJannsen
a5a852394b
Comment out failing test cases.
They fail when running from terminal but not when running in IDE

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-29 18:06:11 +02:00
HenrikJannsen
053884cad5
Fix tests
Don't use 20 BTC amount as we limit to 2 BTC
Remove 30 BTC amounts
2024-05-29 18:06:04 +02:00
HenrikJannsen
b0357cdedc
Improve code for adding exceedingOffers to invalidOffers
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-29 18:05:56 +02:00
HenrikJannsen
0dcd24105f
Refactor: Rename
Fix type
Add comment

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-29 18:05:48 +02:00
HenrikJannsen
31cd7efa04
Remove exceptional handling of SiaFund (SF)
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-05-29 18:05:39 +02:00