Commit Graph

18369 Commits

Author SHA1 Message Date
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
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
f0a2602868
Hide value of banned accounts
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 14:11:41 +07:00
HenrikJannsen
0e306d6556
Printe hex of ownerPubKe
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 14:11:20 +07:00
Devin Bileck
dd255d00cf
Disable QrCodeProcessorTest on macOS 2024-06-27 23:26:58 -07:00
Devin Bileck
bde24b20d8
Revert "Downgrade javacv to resolve UnsatisfiedLinkError on macOS"
This reverts commit fa3c3e6735.
2024-06-27 23:21:01 -07:00
HenrikJannsen
c9653d530d
Update
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 13:07:11 +07:00
HenrikJannsen
c4c51b6d3a
Remove unstable nodes, add old node from devin
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 13:07:06 +07:00
HenrikJannsen
0457bd41a5
Remove unused test resources
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 12:41:13 +07:00
HenrikJannsen
6734a85f24
Add seednodes for inventory requests (monitor)
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 12:24:42 +07:00
HenrikJannsen
56679e3c08
Add new btc nodes, remove unstable nodes
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 12:24:41 +07:00
HenrikJannsen
79d43fea51
Improve logs
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2024-06-28 12:23:37 +07:00