Commit Graph

18342 Commits

Author SHA1 Message Date
Alejandro García
4ce102e372
Merge pull request #7185 from HenrikJannsen/fix-missing-snapshot-creation
Add missing snapshot creation in full DAO mode
2024-07-19 00:12:28 +00:00
Alejandro García
102becb752
Merge pull request #7170 from bisq-network/dependabot/github_actions/gradle/gradle-build-action-3.4.2
build(deps): bump gradle/gradle-build-action from 3.3.2 to 3.4.2
2024-07-19 00:11:53 +00:00
Alejandro García
34509c9eff
Merge pull request #7102 from runbtc/update-seednode-files
Update seednode files
2024-07-19 00:08:01 +00:00
HenrikJannsen
262840b6b8
Fix missing params in tests 2024-06-30 19:11:18 +07:00
HenrikJannsen
2478da1d26
Log time for hash created every 10 blocks
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-29 14:30:01 +07:00
HenrikJannsen
fd17a29361
Add useFullModeDaoMonitor to options
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-29 14:22:00 +07:00
HenrikJannsen
5a8c3bc5bf
Call maybeCreateSnapshot if is full DAO node
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-29 13:59:48 +07:00
HenrikJannsen
63f364424c
Refactor: Refactor statement and return early
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-29 13:32:39 +07:00
HenrikJannsen
143d1e9cc6
Refactor: Extract statement to var and return early
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-29 13:28:07 +07:00
HenrikJannsen
318803e4d9
Refactor: Invert readyForPersisting and rename it
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-29 13:25:21 +07:00
HenrikJannsen
7c521b018c
Refactor: Early return if not isSnapshotHeight and if blocks are empty. Inline statement
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-29 13:11:00 +07:00
HenrikJannsen
634d1fc944
Refactor: Invert isHeightAtLeastGenesisHeight method and rename it
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-29 13:03:15 +07:00
HenrikJannsen
1d6b6de42e
Refactor: Early return if !isHeightAtLeastGenesisHeight. Add log in isHeightAtLeastGenesisHeight
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-29 13:01:19 +07:00
HenrikJannsen
039d778eca
Merge pull request #7171 from devinbileck/reduce-javacv-lib-size
Resolve issues with javacv
2024-06-29 11:08:55 +07:00
HenrikJannsen
312022f41b
Merge branch 'master' into reduce-javacv-lib-size 2024-06-29 11:08:12 +07:00
dependabot[bot]
9c17667cbf
build(deps): bump gradle/gradle-build-action from 3.3.2 to 3.4.2
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 3.3.2 to 3.4.2.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/v3.3.2...v3.4.2)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-28 21:59:12 +00:00
Alejandro García
d95b07432d
Merge pull request #7184 from HenrikJannsen/do-not-clear-tor-files-at-update-to-new-version
Do not clear tor files at update to new version
2024-06-28 21:55:48 +00:00
Alejandro García
dc0e8d8616
Merge pull request #7183 from HenrikJannsen/5_refactor-ExecutableforAppWithP2P
Refactor ExecutableForAppWithP2p [E]
2024-06-28 21:55:30 +00:00
Alejandro García
e256337b1c
Merge pull request #7182 from HenrikJannsen/4_improve-seednode
Improve seednode [D]
2024-06-28 21:55:15 +00:00
Alejandro García
6963caba80
Merge pull request #7181 from HenrikJannsen/3_improve-resync-handling
Improve resync handling [C]
2024-06-28 21:54:54 +00:00
Alejandro García
9920595399
Merge pull request #7180 from HenrikJannsen/2_further-refactorings-and-improvements
Further refactorings and improvements [B]
2024-06-28 21:54:35 +00:00
Alejandro García
0660d1f0b3
Merge pull request #7179 from HenrikJannsen/1_renameing-and-cleanups
Various refactoring (renameing) and cleanups [A]
2024-06-28 21:54:05 +00:00
Alejandro García
24d6c7174c
Merge pull request #7178 from HenrikJannsen/remove-unused-test-resources
Remove unused test resources
2024-06-28 21:53:27 +00:00
Alejandro García
d35b609571
Merge pull request #7176 from HenrikJannsen/update-btc-nodes
Update btc nodes [3]
2024-06-28 21:50:08 +00:00
Alejandro García
fc9364f7dd
Merge pull request #7175 from HenrikJannsen/improve-logs-at-filter
Improve logs [2]
2024-06-28 21:48:38 +00:00
Alejandro García
c84f8a41b3
Merge pull request #7177 from HenrikJannsen/Deactivate-QrCodeProcessorTest
Deactivate QrCodeProcessorTest [1]
2024-06-28 21:46:02 +00:00
HenrikJannsen
88c7feb29c
Remove CLEAN_TOR_DIR_AT_RESTART flag at download of new version
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 21:46:21 +07:00
HenrikJannsen
59f2df9f2f
Move duplicated code to super class
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 21:41:41 +07:00
HenrikJannsen
ed5547ac97
Move AppSetupWithP2PAndDAO.start call to ExecutableForAppWithP2p
Refactor StatisticsMain

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 21:21:17 +07:00
HenrikJannsen
259f869e69
Create SeedNode when injector is available and pass injector to constructor.
Add initialize method to seedNodeReportingService

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 21:11:50 +07:00
HenrikJannsen
1f83c8e68c
Fix wrong param
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 20:56:11 +07:00
HenrikJannsen
94a9c8ac01
Instead of delaying the shutdown in case of a resync we delay the startup. This has the benefit that nodes cannot connect to the seed node while having inconsistant dao data.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 20:54:45 +07:00
HenrikJannsen
aa9d3a3123
Moe seed node specific code from ExecutableForAppWithP2p to SeedNodeMain.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 20:39:29 +07:00
HenrikJannsen
a9be3e96f9
Uncomment code for cleanupTorFiles.
Remove duplicated logs at cleanupTorFiles
2024-06-28 20:22:41 +07:00
HenrikJannsen
0c781311b4
Refactor: Move setResyncDaoStateFromResourcesHandler to startApplication
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 20:17:21 +07:00
HenrikJannsen
b4bbfe362d
Dont clean tor dir at startup
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 20:15:21 +07:00
HenrikJannsen
a79de681f6
Improve comments
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 20:12:28 +07:00
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