Commit Graph

18284 Commits

Author SHA1 Message Date
HenrikJannsen
80bdbb72fe
Add DaoStateMonitoringService.Listener to SeedNodeMain and call gracefulShutDown if onCheckpointFailed.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 19:49:55 +07:00
HenrikJannsen
62a89a03ce
Add hideCloseButton at onCheckpointFail popup
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 19:49:37 +07:00
HenrikJannsen
1f131b346e
Add heightsOfLastAppliedSnapshots list and resync in case we tried to apply 3 times with same height
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 19:45:45 +07:00
HenrikJannsen
04ea4ae053
Refactor applySnapshot method: early return, extract method
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 19:42:00 +07:00
HenrikJannsen
343ef5e6cc
Refactor applySnapshot method: early return
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 19:35:59 +07:00
HenrikJannsen
cc27f9dd70
Refactor applySnapshot method: early return
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 19:34:46 +07:00
HenrikJannsen
8f4deb09ba
Refactor applySnapshot method
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 19:31:22 +07:00
HenrikJannsen
90ca73a82b
Improve resyncDaoStateFromResources method
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 19:23:02 +07:00
HenrikJannsen
3a2061a538
Call removeAndBackupAllDaoData at daoStateStorageService if checkpoint is invalid.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 19:17:51 +07:00
HenrikJannsen
02366eb6da
Refactor removeAndBackupDaoConsensusFiles method
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 19:14:56 +07:00
HenrikJannsen
8be5f8a962
Remove also TempProposalStore and BurningManAccountingStore_v3 at resync from resources
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 19:04:39 +07:00
HenrikJannsen
b43257ea9b
Refactor: Remove unneeded param
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 19:04:24 +07:00
HenrikJannsen
e98c4a3fba
Fix wrong param in test
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:29:00 +07:00
HenrikJannsen
09626a1e85
Move launchApplication to super class
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:23:32 +07:00
HenrikJannsen
3b08feeeb6
Remove version fields
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:23:30 +07:00
HenrikJannsen
2c39d34444
Move instantiation of classes into constructor
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:23:09 +07:00
HenrikJannsen
a65bd02d8f
Remove wrapping into UserThread.execute at launchApplication as UserThread is not setup yet and would be anyway same executor as caller. 2024-06-28 18:21:56 +07:00
HenrikJannsen
1945eacc4b
Remove try catch in launchApplication
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:21:56 +07:00
HenrikJannsen
4d99e31281
Move getModule() method to ExecutableForAppWithP2p
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:21:56 +07:00
HenrikJannsen
a3ab1af1ef
Remove empty onApplicationLaunched methods
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:21:56 +07:00
HenrikJannsen
b30924b3fb
Remove storageDir param from removeAndBackupAllDaoData method
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:21:56 +07:00
HenrikJannsen
a96e614595
Remove transient fields from toString
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:21:56 +07:00
HenrikJannsen
d8fdc928c8
Add default gracefulShutDown() method to GracefulShutDownHandler and replace it in implementing classes
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:21:56 +07:00
HenrikJannsen
9b23edc2a9
Remove empty methods
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:19:47 +07:00
HenrikJannsen
d12b6608c7
Improve logs. Minor cleanups
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 18:19:47 +07:00
HenrikJannsen
b3580c05f7
Refactoring: renaming 2024-06-28 18:19:46 +07:00
HenrikJannsen
87ea800f66
Deactivate QrCodeProcessorTest until UnsatisfiedLinkError on MacOS is resolved
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 12:23:14 +07:00
Gabriel Bernard
5af4d9b083
Merge pull request #7174 from bisq-network/release/v1.9.17
Release/v1.9.17
2024-06-25 23:48:56 +00:00
Alejandro García
3d73e0b934
Merge pull request #7157 from bisq-network/dependabot/github_actions/actions/checkout-4.1.7
build(deps): bump actions/checkout from 4.1.6 to 4.1.7
2024-06-25 20:54:03 +00:00
Alejandro García
a090f2aa27
Merge branch 'master' into release/v1.9.17 2024-06-25 20:33:51 +00:00
Alejandro García
01ffec9d03
Revert to SNAPSHOT version 2024-06-25 20:24:10 +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
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