Commit Graph

18460 Commits

Author SHA1 Message Date
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
e450c494bd
Merge pull request #7166 from devinbileck/reduce-javacv-lib-size
Reduce bundled javacv library size
2024-06-24 00:42:24 +00:00
Alejandro García
707349f9df
Revert to SNAPSHOT version 2024-06-24 00:41:05 +00:00
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
dependabot[bot]
7e7a87c1c5
build(deps): bump actions/checkout from 4.1.6 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.6...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 14:30:52 +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
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
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
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