Alva Swanson
6fdf2a2178
p2p: Switch to 'bisq.javafx' Gradle Plugin
2023-08-04 13:04:45 +02:00
Alva Swanson
edd43638f3
p2p: Move build configuration to its own build.gradle
2023-08-04 13:04:01 +02:00
Alejandro García
0c3e5a8c5e
Use new burningman accounting file from full accounting node
...
PR #6740 was a diff against master (instead against the release/v1.9.11
branch). The previous merge into the release branch corrupted the
acounting file.
2023-06-30 22:43:25 +02:00
Alejandro García
23bea7a711
Merge branch 'master' into release/v1.9.11
2023-06-28 20:03:54 +03:00
HenrikJannsen
e54ed375db
Update resource file with latest run from scratch
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-06-24 12:12:09 +02:00
HenrikJannsen
16bbef972f
Use new burningman accounting file recreated from scratch.
...
Remove old file.
The current accounting data are missing about 10% of transactions due to threading issues at processing the transactions in earlier versions.
2023-06-23 22:20:19 +02:00
Alejandro García
9f535bf163
Update data stores for v1.9.11
2023-06-22 15:45:34 +03:00
Alejandro García
a3f2d6e439
Merge pull request #6694 from alvasw/fix_broken_protected_storage_entry_test
...
Fix broken ProtectedStorageEntryTest
2023-05-13 15:35:04 +00:00
Alva Swanson
787da04539
Fix broken ProtectedStorageEntryTest
...
Relates to #6619
2023-05-10 18:00:01 +10:00
Alva Swanson
5f655f6d48
Fix broken P2PDataStoragePersistableNetworkPayloadTest
...
Relates to #6619
2023-05-10 17:48:21 +10:00
napoly
e19ffe2308
Upgrade JUnit4 to JUnit5 Jupiter
2023-05-04 20:04:49 +02:00
Alejandro García
26e68f8412
Update data stores for v1.9.10
2023-04-09 12:32:55 +02:00
Christoph Atteneder
b1110058c2
Update data stores for v1.9.10
2023-04-07 18:11:46 +02:00
Alejandro García
68124302db
Update BurningManAccountingStore for v1.9.10
2023-04-06 16:18:49 +10:00
Alejandro García
31008865c3
Update data stores for v1.9.10
2023-04-03 10:39:44 +10:00
Alva Swanson
4c6c9100b3
Implement NetworkStatisticsService
...
The NetworkStatisticsService is an attempt to decouple the network
statistic computation from the UI thread. Here, the
NetworkStatisticsService schedules repeating tasks on a
ScheduledExecutorService.
2023-02-15 20:35:58 +02:00
Alejandro García
bed76128b7
Merge pull request #6580 from alvasw/server_remove_redundant_is_stopped_bool
...
Server: Remove redundant isStopped boolean
2023-02-15 18:32:57 +00:00
Alejandro García
3dc3464114
Merge pull request #6581 from alvasw/rename_network_filter_to_ban_filter
...
Rename NetworkFilter to BanFilter
2023-02-15 18:24:55 +00:00
Alva Swanson
d411ae1252
Remove unused ConnectionListener.onError(...) method
2023-02-12 20:44:38 +02:00
Alva Swanson
f9a0e5d6d0
Rename NetworkFilter to BanFilter
2023-02-12 20:30:58 +02:00
Alva Swanson
81a224bfea
Server: Remove redundant isStopped boolean
...
We can track the server status with the interrupted status of the
server thread. The isStopped boolean is not needed.
2023-02-12 20:23:25 +02:00
Alejandro García
b4822761a8
Merge pull request #6578 from alvasw/server_extract_running_check_to_is_active_method
...
Server: Extract isStopped check to method
2023-02-12 18:13:49 +00:00
Alejandro García
f00152d42f
Merge pull request #6577 from alvasw/server_switch_to_atomic_is_stopped_bool
...
Server: Switch to atomic isStopped boolean
2023-02-12 18:13:05 +00:00
Alejandro García
4a4e13c5da
Merge pull request #6576 from alvasw/move_server_thread_to_server_class
...
NetworkNode: Move server threading logic to server
2023-02-12 18:12:13 +00:00
Alva Swanson
2127e0745c
Server: Extract isStopped check to method
2023-02-11 22:19:43 +02:00
Alva Swanson
3cd24d67ed
Server: Switch to atomic isStopped boolean
2023-02-11 21:41:50 +02:00
Alva Swanson
ee2157aa24
NetworkNode: Move server threading logic to server
2023-02-11 21:40:55 +02:00
Alva Swanson
20c7dc3777
Connection: Rename singleThreadExecutor to executorService
2023-02-07 11:58:56 +01:00
Alva Swanson
b1e16f2748
Connection: Pass uid to executor service name
2023-02-07 11:58:10 +01: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
Alejandro García
c61bd70ead
Merge pull request #6562 from alvasw/move_get_single_thread_executor_to_own_utils
...
Move SingleThreadExecutors to its own Utils class
2023-02-05 22:42:02 +00:00
Alva Swanson
53837bf00b
Move SingleThreadExecutors to its own Utils class
2023-02-05 22:11:35 +01:00
Alva Swanson
06f24a1b79
Connection: Call centralized thread pool shutdown await method
2023-02-05 22:10:43 +01:00
Alva Swanson
c1c4caf87f
Gradle: Apply bisq.java-conventions to all projects
2023-02-05 22:02:13 +01:00
Alva Swanson
7e984f86ca
Broadcaster: Shutdown executor
2023-02-05 13:38:50 +01:00
Alejandro García
8dbdecd6f1
Merge pull request #6549 from alvasw/fix_mailbox_message_service_thread_leak_explosion
...
Fix MailboxMessageService thread leak/explosion
2023-02-03 15:15:39 +00:00
Alva Swanson
10c46a3163
Fix MailboxMessageService thread leak/explosion
...
Each time when MailboxMessageService.onAdded(...) got called with
multiple mailbox entries a new thread got created. That thread was never
shutdown. This change explicitly creates a new Thread and sets its
result with a SettableFuture. After its computation the thread
terminates.
2023-01-31 17:02:09 +02:00
Alva Swanson
871656b18d
Make ProtoOutputStream thread-safe
...
Before SynchronizedProtoOutputStream created a new thread and made a
blocking call to ProtoOutputStream.writeEnvelope(...). Each connection
had an instance of SynchronizedProtoOutputStream, so we had a redundant
thread per connection. This change makes ProtoBufOutputStream
thread-safe and reduces the number of thread per connection as a
side effect.
2023-01-30 17:50:06 +02:00
Alejandro García
0a24f4c2d4
Merge pull request #6543 from alvasw/sychronized_proto_output_stream_try_graceful_shutdown_first
...
Sychronized proto output stream try graceful shutdown first
2023-01-28 19:24:32 +00:00
Alejandro García
b87de3dcbd
Merge pull request #6542 from alvasw/connection_close_proto_outputstream_before_socket
...
Connection: Close protoOutputStream before closing socket
2023-01-28 19:23:43 +00:00
Alva Swanson
7524425e74
SychronizedProtoOutputStream: Try graceful shutdown first
...
ProtoOutputStream is not thread-safe. This change tries to close the
stream on the same thread first. Before forcefully killing it after a
timeout.
2023-01-27 17:14:17 +02:00
Alva Swanson
9e8b54054a
Connection: Create shutdown timeout constant
2023-01-27 17:14:17 +02:00
Alva Swanson
e593adb602
Connection: Close protoOutputStream before closing socket
...
The protoOutputStream depends on the sockets OutputStream. Closing the
socket before closing the protoOutputStream will always trigger an
IOException.
2023-01-27 17:08:08 +02:00
Alva Swanson
6a8fb05156
Centralize all ExecutorService creations in Utilities
2023-01-27 16:15:24 +02:00
Alejandro García
d859f391bf
Merge pull request #6510 from HenrikJannsen/improve_connection_logs
...
Improvements in connection and increase timeout
2023-01-12 16:33:40 +00:00
Alejandro García
fda3c45008
Merge pull request #6501 from HenrikJannsen/always_include_high_prio_payload_in_get_data_response
...
Always include high prio payload in get data response
2023-01-12 16:33:08 +00:00
HenrikJannsen
ef7bb81b29
truncate logged proto
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-01-06 22:18:21 -05:00
HenrikJannsen
69b0bfa676
remove stacktrace
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-01-06 22:12:55 -05:00
HenrikJannsen
7a147ff9e8
Reduce log level
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-01-06 21:59:24 -05:00
HenrikJannsen
4888ae15ea
Truncate to length 15 instead of 10
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-01-06 21:13:37 -05:00