HenrikJannsen
f28e3960da
Rename *ValueItem to *ValueReportingItem
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 17:26:50 -05:00
HenrikJannsen
3ae52dbb52
Add proto to seed node
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 17:26:08 -05:00
HenrikJannsen
53c031dfaf
Refactor: Move SeedNodeReportingService to reporting package
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 17:10:33 -05:00
HenrikJannsen
1b10cc22db
Refactor: Move monitor package from core to seedNode and rename to reporting
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 17:10:02 -05:00
HenrikJannsen
1e32d86b23
Only log errors if shutdown is not in progress.
...
I want to avoid to risk changes with not calling error handlers/listeners in those cases
as not 100% sure if that could have unintended effects.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 17:08:40 -05:00
HenrikJannsen
6addd27a33
Add params to newCachedThreadPool method.
...
Use executor at httpClient builder.
Use httpClient.sendAsync.
Add keep-alive header.
Add RejectedExecutionHandler.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 17:06:01 -05:00
HenrikJannsen
21c6c52ec8
Make fields final.
...
Remove setter of key.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 17:02:30 -05:00
Alejandro García
4f34be0a33
Merge pull request #6452 from ripcurlx/update-app-signatures
...
Update app signatures for v1.9.7
2022-12-11 18:36:00 +02:00
Alejandro García
77afb2d62c
Merge pull request #6450 from jmacxx/dispute_min_payout
...
Change minimum payout at mediation from 2.5% to 5% of trade amount.
2022-12-11 18:26:56 +02:00
Alejandro García
6c7764fc33
Merge pull request #6451 from HenrikJannsen/avoid_sending_repeated_block_related_report_data
...
Avoid sending repeated block related report data
2022-12-11 17:38:00 +02:00
Christoph Atteneder
d1dc6c75af
Merge pull request #6453 from Emzy/remove-bitcoin-node
...
Remove KanoczTomas Bitcoin node, because it is permanet offline.
2022-12-11 15:43:51 +01:00
Stephan Oeste
9e50066567
Remove KanoczTomas Bitcoin node, because it is permanet offline.
2022-12-11 15:28:32 +01:00
HenrikJannsen
3920e81f1c
Add try catch at send (to cover case when thread pool is exhausted)
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-10 19:26:45 -05:00
HenrikJannsen
491c6a0861
Add onDaoStateBlockCreated method
...
Use onDaoStateBlockCreated instead of onDaoStateHashesChanged to avoid multiple calls when we receive hashes from other nodes.
Add daoStateMonitoringService listener after blockchain parsing is completed
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-10 19:19:29 -05:00
jmacxx
e2a23ee196
Change minimum payout at mediation from 2.5% to 5% of trade amount.
...
Implements bisq-network/proposals#397
2022-12-10 10:37:52 -06:00
Alejandro García
1d67af6f40
Merge pull request #6449 from alvasw/introduce_gradle_version_catalog
...
Introduce Gradle Version Catalog
2022-12-09 19:47:39 +02:00
Alejandro García
cd3b69c0a6
Merge pull request #6446 from alvasw/upgrade_gradle
...
Update to Gradle 7.6
2022-12-09 19:47:06 +02:00
Alejandro García
2d607cd092
Merge pull request #6433 from jmacxx/user_trade_limits
...
User defined trade limit, Part II.
2022-12-09 19:46:34 +02:00
Alejandro García
67f4d34ae4
Merge pull request #6432 from HenrikJannsen/improve-seednode-monitoring
...
Improve seednode monitoring
2022-12-09 19:46:01 +02:00
HenrikJannsen
f98cd04fd8
Use LongValueItem instead of IntegerValueItem
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-09 08:54:28 -05:00
Alva Swanson
de600ddb30
Introduce Gradle Version Catalog
...
To simplify the build.gradle file, this change moves all version variables to
Gradle's version catalog.
2022-12-09 15:45:57 +02:00
Alva Swanson
80b10c88f6
Update to Gradle 7.6
2022-12-09 15:45:57 +02:00
HenrikJannsen
3308e35e8c
Add newCachedThreadPool to Utilities
...
Use newCachedThreadPool instead of getThreadPoolExecutor
Utilities.getThreadPoolExecutor use a BlockingQueue which prevents the intended
behaviour to increase the pool size to the max value.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-08 09:56:11 -05:00
jmacxx
6f8bb00704
Apply code review suggestions.
2022-12-08 08:16:11 -06:00
HenrikJannsen
f4775f89b0
Add SeedNodeReportingService
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-07 13:23:28 -05:00
HenrikJannsen
3a4ed1fc01
Add seedNodeReportingServerUrl option
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-07 11:51:49 -05:00
HenrikJannsen
2c84f07ada
Add value objects and protobuf definitions
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-07 11:51:08 -05:00
HenrikJannsen
3caf2c2b64
Change visibility (will be used from monitor project).
...
Remove log, change log level.
Add getters
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-07 11:50:24 -05:00
HenrikJannsen
f4536b6a56
Add CompletableFutureUtil
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-07 11:47:51 -05:00
HenrikJannsen
96f7db9c80
Print log path
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-07 11:47:38 -05:00
HenrikJannsen
37c711a8aa
Add distTar.enabled = false
to build
...
Helps to speed up the build.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-07 11:47:14 -05:00
HenrikJannsen
a1bbac41ea
Provide commit hash to seed node.
...
Provide full hash without truncating
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-07 11:46:26 -05:00
HenrikJannsen
a925017e4b
Rename readCommitHash to findCommitHash, make it static and return optional.
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-07 11:03:08 -05:00
Alva Swanson
27c4440166
Update to Gradle 7.6
2022-12-07 13:42:38 +02:00
Alejandro García
39db3cc98b
Merge pull request #6445 from jmacxx/backup_zip_logfiles
...
Fix FileTransferSession tests.
2022-12-07 12:00:40 +02:00
jmacxx
09a7a09ec3
Fix FileTransferSession tests.
2022-12-06 20:33:48 -06:00
Alejandro García
555742d5b4
Merge pull request #6443 from alvasw/enforce_gradle_dependency_verification
...
Enforce gradle dependency verification
2022-12-06 22:21:52 +02:00
Alejandro García
fc83aa73de
Merge pull request #6442 from alvasw/reenable_verbose_console_logging
...
Reenable verbose dependency verification (failure report)
2022-12-06 22:20:51 +02:00
Alejandro García
3deda88832
Merge pull request #6441 from alvasw/fix_gradle_dependency_verification
...
Fix broken Gradle Dependency Verification
2022-12-06 22:19:49 +02:00
Alejandro García
0e9c537647
Merge pull request #6440 from jmacxx/backup_zip_logfiles
...
Feature to zip logfiles to home directory.
2022-12-06 22:18:58 +02:00
Alejandro García
3d34631b83
Merge pull request #6439 from bisq-network/dependabot/github_actions/actions/setup-java-3.7.0
...
Bump actions/setup-java from 3.6.0 to 3.7.0
2022-12-06 22:18:08 +02:00
Alva Swanson
d637517d7d
Enforce Gradle Dependency Verification
...
We had some issues with the Gradle Dependency Verification and nobody
noticed it because it was not enforced by Gradle. Supply chain attack
are sadly a real threat that should not be underestimated.
2022-12-06 21:21:39 +02:00
Alva Swanson
2dc4072133
Reenable verbose dependency verification (failure report)
...
The built-in Gradle dependency verification XML writer does not find all
our libraries for some unknown reason. I had to compute and add multiple
hashes manually. It seems like it is OS related and the CI output helped
to fix the problem. The console output makes it hard to fix issues
because we cannot access the generated HTML file. This change reenables
the verbose failure report.
2022-12-06 21:18:22 +02:00
Alva Swanson
90070c80c7
Fix broken Gradle Dependency Verification
...
The following artifacts failed verification:
- javafx-base-16-linux.jar (org.openjfx:javafx-base:16) from repository MavenRepo
- javafx-controls-16-linux.jar (org.openjfx:javafx-controls:16) from repository MavenRepo
- javafx-fxml-16-linux.jar (org.openjfx:javafx-fxml:16) from repository MavenRepo
- javafx-graphics-16-linux.jar (org.openjfx:javafx-graphics:16) from repository MavenRepo
- protoc-3.19.1-linux-x86_64.exe (com.google.protobuf:protoc:3.19.1) from repository MavenRepo
- protoc-gen-grpc-java-1.42.1-linux-x86_64.exe (io.grpc:protoc-gen-grpc-java:1.42.1) from repository MavenRepo
- jackson-base-2.12.1.pom
- protoc-3.19.1-windows-x86_64.exe
- protoc-gen-grpc-java-1.42.1-windows-x86_64.exe
- junit-bom-5.7.0.pom
- javafx-base-16-win.jar
- javafx-controls-16-win.jar
- javafx-fxml-16-win.jar
- javafx-graphics-16-win.jar
2022-12-06 20:34:17 +02:00
jmacxx
bddbe6b7ae
Feature to zip logfiles to home directory.
2022-12-05 09:14:12 -06:00
dependabot[bot]
ac17bfad7c
Bump actions/setup-java from 3.6.0 to 3.7.0
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](de1bb2b0c5...19eeec562b
)
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 14:04:03 +00:00
Christoph Atteneder
5dc006ec9b
Merge pull request #6435 from jmacxx/add_shutdown_guard
...
Prompt to confirm before shutting down.
2022-12-05 10:45:02 +01:00
Christoph Atteneder
c381006248
Merge pull request #6438 from jmacxx/fix_filtermanager_npe
...
Fix NPE in seednode.
2022-12-05 10:40:04 +01:00
jmacxx
75f224c67c
Check filterWarningHandler is set before use.
2022-12-04 21:10:06 -06:00
jmacxx
0e3314ce14
Prompt to confirm before shutting down. Has dont show again option.
2022-12-02 15:35:27 -06:00