Commit Graph

369 Commits

Author SHA1 Message Date
Alva Swanson
75f3eb0ba0
seednode-docker: Expose Bisq Node Port 2023-10-10 22:33:52 +02:00
Alva Swanson
857c70497a
seednode-docker: Connect to Bitcoin Core on host 2023-10-10 22:31:24 +02:00
Alva Swanson
e742dd77ed
seednode-docker: Auto restart services 2023-10-10 20:32:19 +02:00
Alva Swanson
d30b3768f2
seednode-docker: Add Persistence 2023-10-10 20:11:25 +02:00
Alejandro García
7a02900edb
Merge pull request #6901 from alvasw/seednode_docker_connect_bisq_to_tor_container
seednode-docker: Connect Bisq and Tor container
2023-10-09 18:33:13 +00:00
Alva Swanson
64ee4f4a3b
seednode-docker: Connect to Bisq container to Tor container 2023-10-09 14:56:21 +02:00
Alva Swanson
2ae1abb9c4
seednode: Remove old Dockerfile 2023-10-09 14:54:29 +02:00
Alva Swanson
c457206859
seednode: Add external Tor to docker-compose.yml 2023-10-05 21:39:23 +02:00
Alva Swanson
86a359426d
seednode-docker: External Tor Dockerfile 2023-10-05 21:34:01 +02:00
Alva Swanson
521a7ebb92
seednode-docker: Support all environment variables 2023-10-03 23:24:18 +02:00
Alejandro García
3d7a4ca8aa
Merge pull request #6889 from alvasw/gradle_dynamic_docker_image
seednode: Create dynamically slim docker image
2023-10-02 16:47:33 +00:00
Alejandro García
4c8abaab9f
Merge pull request #6888 from alvasw/seednode_multistage_docker_build
seednode-docker: Switch to multi-stage build
2023-10-02 16:46:28 +00:00
Alejandro García
b3248ad8c8
Merge pull request #6887 from alvasw/seednode_kubernetes
seednode: Create Production Kubernetes File
2023-10-02 16:45:15 +00:00
Alva Swanson
c2875169c1
seednode: Create dynamically slim docker image 2023-09-28 15:54:02 +02:00
Alva Swanson
ed7587bc22
seednode-docker: Switch to multi-stage build 2023-09-28 14:43:35 +02:00
Alva Swanson
84921c6fe3
seednode: Enable distTar task 2023-09-28 14:43:08 +02:00
Alva Swanson
5a7056d303
seednode: Create Production Kubernetes File 2023-09-28 00:18:14 +02:00
Alva Swanson
b9554df5d9
seednode: Create Production Dockerfile 2023-09-28 00:17:02 +02:00
Alva Swanson
c8f686ba56
Apply AppStartPlugin to all desktop applications 2023-09-10 22:10:09 +02:00
Alva Swanson
4d98a28151
Remove shadowJar Plugin 2023-09-10 18:31:09 +02:00
Alva Swanson
9ce8f83719
Gradle: Centralize application setup 2023-08-05 15:14:04 +02:00
Alva Swanson
457c6f8a34
seednode: Remove shadowJar plugin 2023-08-05 14:59:53 +02:00
Alva Swanson
fa0f2072ba
seednode: Remove jar manifest attributes 2023-08-05 14:59:15 +02:00
Alva Swanson
b54fec0940
seednode: Move build configuration to its own build.gradle 2023-08-05 14:47:01 +02:00
Alejandro García
d95dc58a06
Bump version number for v1.9.12 2023-06-30 23:55:18 +02:00
Alejandro García
31b427c92e
Bump version number for v1.9.11 2023-06-22 14:35:22 +03:00
napoly
e19ffe2308
Upgrade JUnit4 to JUnit5 Jupiter 2023-05-04 20:04:49 +02:00
Alejandro García
4b4adbc2db
Bump version number for v1.9.10 2023-04-02 11:09:10 +10:00
Alejandro García
b1e2cb03ad
Merge pull request #6568 from alvasw/gradle_apply_central_bisq_java_conventions
Gradle apply central bisq java conventions
2023-02-05 22:43:48 +00:00
Alva Swanson
b2870ccee3
Delagate thread pool shutdown to Guava MoreExecutors 2023-02-05 22:09:56 +01:00
Alva Swanson
c1c4caf87f
Gradle: Apply bisq.java-conventions to all projects 2023-02-05 22:02:13 +01:00
Alejandro García
2705244e64
Merge branch 'master' into release/v1.9.9 2023-01-12 15:01:22 +00:00
Alejandro García
c55ecfa2d4
Bump version number for v1.9.9 2023-01-07 15:18:15 +02:00
HenrikJannsen
12e8b46859
Report size or faults of GetDataResponse and GetBlocksResponse.
Remove Unspecified and use optional instead.
Add reporting for data requests and hash requests.
Report commit hash only if present.
Report messages only if an enum entry is present.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-27 17:54:09 -05:00
HenrikJannsen
c3acd5fb4a
Handle OutOfMemoryError to cause a shutdown at seed node 2022-12-27 17:54:01 -05:00
Christoph Atteneder
cdb9fe44c1
Bump version number for v1.9.8 2022-12-22 08:44:13 +01:00
HenrikJannsen
30afccb2d6
Use ThreadPoolExecutor with custom set queueCapacity instead of CachedThreadPool
The previously used newCachedThreadPool carries higher risk for execution exceptions if exceeded.

Originally we had only one executor with a corePoolSize of 15 and a maximumPoolSize of 30 and queueCapacity was set to maximumPoolSize.
This was risky when the 15 corePool threads have been busy and new messages or connection creation threads are
queued up with potentially significant delay until getting served leading to timeouts.
Now we use (if maxConnections is 12) corePoolSize of 24, maximumPoolSize 36 and queueCapacity 10. This gives
considerable headroom. We also have split up the executors in 2 distinct ones.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-19 16:50:55 +01:00
Christoph Atteneder
68ea90a1fb
Bump version number for v1.9.7 2022-12-14 10:36:20 +01:00
HenrikJannsen
8c65da9c85
Add thread index format
Add name param to newCachedThreadPool

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-13 20:35:49 -05:00
HenrikJannsen
071a352443
Remove rejectedExecutionHandler at newCachedThreadPool.
It is more convenient to handle the RejectedExecutionException in the calling code to get more context for error logging.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-13 17:33:31 -05:00
HenrikJannsen
84584d38ac
The connection:keep-alive header is restricted in java and would require a jvm option to allow it.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-13 17:33:30 -05:00
HenrikJannsen
f28e3960da
Rename *ValueItem to *ValueReportingItem
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 17:26:50 -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
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
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
HenrikJannsen
f98cd04fd8
Use LongValueItem instead of IntegerValueItem
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-09 08:54:28 -05: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
HenrikJannsen
f4775f89b0
Add SeedNodeReportingService
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-07 13:23:28 -05:00