Commit Graph

18213 Commits

Author SHA1 Message Date
Devin Bileck
5016ad8951
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-22 23:17:27 -07:00
Alejandro García
ed3490c2c3
Merge pull request #7154 from HenrikJannsen/update-btc-nodes
Update btc nodes
2024-06-12 13:38:13 +00:00
HenrikJannsen
4f5e90b2c8
Comment out node_op_324 node as not working yet
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-12 09:50:09 +07:00
HenrikJannsen
fa541e4643
Add previously used nodes which are intended to get retired but got added again due shortage of stable nodes.
Add new nodes.
Those marked unstable should be banned by filter as long they stay unstable.
2024-06-12 09:46:16 +07:00
Alejandro García
e6338af65b
Merge pull request #7153 from HenrikJannsen/add-bitcoin-monitor
Add bitcoin monitor
2024-06-11 23:32:27 +00:00
HenrikJannsen
5d5b7d7df8
improve style
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-11 23:45:44 +07:00
HenrikJannsen
524a3d7c98
Add previously used btc nodes and new nodes 2024-06-11 23:45:44 +07:00
HenrikJannsen
8639dd7c93
improve style
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-11 09:37:05 +07:00
HenrikJannsen
56dcc8da41
Update ServiceBits from Bitcoin code base (add NODE_COMPACT_FILTERS)
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-11 09:36:36 +07:00
HenrikJannsen
46162bb52b
Change error message
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-10 23:01:43 +07:00
HenrikJannsen
dc1446d4a3
Small improvments and fixes
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-10 22:59:47 +07:00
HenrikJannsen
fa5f03f070
Fix index
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-10 21:54:57 +07:00
HenrikJannsen
58803c2a78
Change failureRate
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-10 21:43:31 +07:00
HenrikJannsen
37bba686d5
Fix field
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-10 21:42:31 +07:00
HenrikJannsen
0752e07efc
Add btxnodemonitor module
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-10 20:29:57 +07:00
HenrikJannsen
9c8e3ad6bc
Add useTorForBtcMonitor flag to Config
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-10 20:29:37 +07:00
HenrikJannsen
6f4d69d6f4
Add getId method
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-10 19:59:17 +07:00
HenrikJannsen
1b0bd5f9c6
Add Socks5ProxyInternalFactory interface and use in Socks5ProxyProvider
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-10 19:58:11 +07:00
HenrikJannsen
c573672fce
Add getSystemLoad method
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-10 19:46:40 +07:00
HenrikJannsen
d51d03e0fa
Add convenience method
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-10 19:46:30 +07:00
Alejandro García
ed4bfe6031
Merge pull request #7152 from HenrikJannsen/apply-ExcludeForHash-annotation-to-filter
[3] Apply exclude for hash annotation to filter
2024-06-08 21:37:29 +00:00
Alejandro García
2acbd88393
Merge pull request #7151 from HenrikJannsen/add-ExcludeForHash-annotation
[2] Add exclude for hash annotation
2024-06-08 21:35:49 +00:00
Alejandro García
20fbb32525
Merge pull request #7150 from HenrikJannsen/refactor-proto
[1] Refactor Proto interface
2024-06-08 21:30:39 +00:00
HenrikJannsen
73a1281771
Add uid to Filter
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-08 17:07:08 +07:00
HenrikJannsen
cb565bdbb2
Add ExcludeForHashAwareProto interface to DataAndSeqNrPair
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-08 16:51:43 +07:00
HenrikJannsen
b3288e3839
Improve logs
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-08 15:02:05 +07:00
HenrikJannsen
c70cc4a5d6
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-08 15:02:05 +07:00
HenrikJannsen
d352f1fe35
Adds ExcludeForHash annotation and ExcludeForHashAwareProto which implements the handling of the excluded fields. 2024-06-08 15:01:32 +07:00
HenrikJannsen
23af560adb
Fix tests
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-08 15:01:14 +07:00
HenrikJannsen
5661409bbc
Refactor: Replace toProtoMessage().toByteArray() calls to serialize() or serializeForHash() methods.
Currenty serializeForHash just calls serialize. This will be change in later commits
2024-06-08 13:15:42 +07:00
Alejandro García
ed649e64b4
Merge pull request #7149 from HenrikJannsen/add-new-fields-to-filter
Add new fields to filter
2024-06-07 22:59:28 +00:00
Alejandro García
de67faacef
Merge pull request #7148 from HenrikJannsen/remove-inactive-btc-node
Remove inactive btc2.vante.me btc node
2024-06-07 22:57:06 +00:00
Alejandro García
41514c7500
Merge pull request #7147 from HenrikJannsen/update-resources-for-1.9.16
Update resource files
2024-06-07 22:56:05 +00:00
Alejandro García
61ce3cdc81
Merge pull request #7144 from HenrikJannsen/add-rest-api-module
Add rest api module
2024-06-07 22:54:58 +00:00
HenrikJannsen
15a68ec70c
Fix tests
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 22:57:51 +07:00
HenrikJannsen
a251dadd92
Update verification-metadata.xml
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 22:55:29 +07:00
HenrikJannsen
9b85dc928d
Improve logs
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 22:53:36 +07:00
HenrikJannsen
7577691f9e
Add run instructions to readme
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 22:53:36 +07:00
HenrikJannsen
1c98f8b61e
Refactor: Rename daonode to restapi 2024-06-07 22:53:36 +07:00
HenrikJannsen
cb25660b68
Improve logs. Add ToString annotation
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 22:53:36 +07:00
HenrikJannsen
e4cdfa731a
Add restapi module (code from dao-node) 2024-06-07 22:53:32 +07:00
HenrikJannsen
348e66e55e
Update apache-commons-lang3 to 3.14.0
Update jackson to 2.17.1

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 22:52:39 +07:00
HenrikJannsen
ddf073a6ff
Add filterProvidedBtcNodes and filterProvidedSeedNodes fields to Config.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 18:14:51 +07:00
HenrikJannsen
01355fdc54
Add addedBtcNodes and addedSeedNodes fields to Filter.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 18:11:23 +07:00
HenrikJannsen
192b4a0338
Remove inactive btc2.vante.me btc node
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 16:17:17 +07:00
HenrikJannsen
61ec749fc9
Update resource files
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-07 14:38:37 +07:00
Alejandro García
5d8e36215f
Merge pull request #7143 from HenrikJannsen/add-luis3672-mediator
Add luis3672 to DisputeAgentLookupMap
2024-06-06 20:37:35 +00:00
Alejandro García
ae240719ff
Merge pull request #7136 from HenrikJannsen/re-integrate-inventory-module
Reintegrate inventory module
2024-06-06 20:36:08 +00:00
Alejandro García
40ad9cff28
Merge pull request #7130 from runbtc/add-nodes
Add nodes
2024-06-06 20:32:02 +00:00
HenrikJannsen
1e8362950c
Add luis3672 to DisputeAgentLookupMap
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-06 07:44:20 +07:00