Commit graph

950 commits

Author SHA1 Message Date
Christoph Sturm
e5e49dc5bd
Don't build debug strings when debug is not enabled. 2019-09-06 14:51:24 +02:00
Christoph Sturm
84f3ef818d More debug logging optimizing 2019-09-06 12:25:30 +02:00
Christoph Sturm
ecaf592a60 Implement reviewer suggestions also in NetworkNode 2019-09-06 12:00:13 +02:00
chimp1984
93e6d86e95
Remove CapabilityRequiringPayload from AckMessage
We do not have any old versions anymore which might not support
AckMessages, so we can remove it. It might also fix issues that
AckMessages are not sent as the capabilities are not known yet.
2019-09-06 11:33:34 +02:00
Christoph Sturm
a3bf6ab4cb Don't build debug strings when debug is not enabled. 2019-09-06 11:24:35 +02:00
Christoph Sturm
7173bb71b5 Don't build debug strings when debug is not enabled. 2019-09-06 11:14:19 +02:00
Christoph Sturm
4223036f47 name connection thread 2019-09-06 11:07:34 +02:00
Christoph Sturm
bcaac51830 Assign more thread names at thread creation. 2019-09-06 11:07:34 +02:00
Christoph Atteneder
285e5f236d
Merge pull request #3189 from gordonel/patch-1
Change trader-facing language to gender-neutral
2019-09-04 10:33:23 +02:00
battleofwizards
7719851658
Replace bouncycastle Hex with guava Hex
Hex encoding and decoding compatibility has been verified regarding
null, "", character case handling, and incorrect digits handling.
2019-09-03 13:54:32 +02:00
Gordon E
a25aeef9e7
Update GetDataRequestHandler.java 2019-09-03 12:16:15 +03:00
Gordon E
73d097566b
gender-neutral language change in P2PService.java 2019-09-03 12:06:51 +03:00
Christoph Atteneder
e2a17dcb8e
Update data stores 2019-09-02 11:14:59 +02:00
chimp1984
9db4d69276
Improve RequestDataHandler
- Remove processDelayedItems list as we do not delay anymore the data
items and protectedStoragePayloads do not get an extra treatment if
they are marked as LazyProcessedPayload.
- Add duration logging
- Replace checkArgument with an if check
- Apply code inspection
- Cleanup
2019-09-01 23:03:29 +02:00
chimp1984
40de3c528d
Improve logging
- Add better logs and duration measurements for expensive operations
- Convert debug logs to trace to avoid flooding the output in debug log
mode.
- Cleanups
2019-09-01 22:57:40 +02:00
chimp1984
adac3bd7e5
Do check after supportedCapabilities are applied 2019-08-29 18:21:38 +02:00
chimp1984
d7845d0eb1
Move check for empty capability.
- Move check for empty capability to connection class.
- Add MANDATORY_CAPABILITIES_NOT_SUPPORTED
- Add comment that capabilities can be empty
2019-08-29 18:15:17 +02:00
chimp1984
55092edb6c
Disconnect nodes which do not have the mandatory capability 2019-08-28 21:06:17 +02:00
chimp1984
ab4aa64424
Smal performance optimisations, cleanups 2019-08-28 20:51:01 +02:00
chimp1984
bb628dc851
Avoid that removed mailbox messages get added again 2019-08-28 20:31:06 +02:00
chimp1984
a0e690997a
Merge branch 'master_upstream' into Fix-small-P2P-network-issues
# Conflicts:
#	core/src/main/java/bisq/core/setup/CoreNetworkCapabilities.java
2019-08-28 19:49:18 +02:00
chimp1984
ca0a42ba42
Use node address for thread name; cleanup 2019-08-28 01:21:43 +02:00
chimp1984
72e291cf9c
Call supportedCapabilitiesListener on Userthread 2019-08-28 01:21:16 +02:00
chimp1984
f95a7f5d3f
Add missing listener notification and clean up class 2019-08-27 22:03:23 +02:00
wiz
f3f04ddad9
Update data storage on expired data removal 2019-08-28 01:55:52 +09:00
wiz
f5d75c4f60
Improve TempProposal processing (fixes #3143) 2019-08-27 22:36:37 +09:00
Florian Reimair
0731579a35
Merge pull request #3115 from christophsturm/only-add-kotlin
Apply kotlin plugin and convert one unused class to kotlin
2019-08-21 12:40:00 +02:00
sqrrm
f2f62c7033
Merge pull request #3112 from freimair/optimizations
Various optimizations
2019-08-20 22:08:19 +02:00
Christoph Sturm
26c053dae8 Apply kotlin plugin and convert one unused class to kotlin
just to check that everything works and to show how much simpler
kotlin code looks.
2019-08-20 16:07:07 +02:00
Florian Reimair
01e91cc35c
Adjust log levels of P2P connection class 2019-08-20 12:08:02 +02:00
Florian Reimair
53362868e0
Optimize initial tradestats processing 2019-08-20 11:14:43 +02:00
Florian Reimair
a56fc947e5
Use same seednodes for updatedDataReq 2019-08-20 11:06:40 +02:00
Christoph Sturm
2ccecd2738 fix formatting 2019-08-19 18:26:39 +02:00
Christoph Sturm
79b3e5baf3 inject storage where possible 2019-08-19 17:21:35 +02:00
Christoph Sturm
b543c7f148 remove unused test method 2019-08-19 17:08:20 +02:00
Christoph Sturm
b77cff9e26 inject CorruptedDataFilesHandler instead of making it static 2019-08-19 16:54:46 +02:00
Christoph Sturm
2383d7ea50 restore the test that was lost in a rebase of my test branch 2019-08-19 16:35:18 +02:00
Christoph Sturm
8a93edec65 comment out obsolete test 2019-08-14 17:58:04 +02:00
Christoph Sturm
d62d440068 start testing p2p data storage 2019-08-14 17:58:04 +02:00
Christoph Sturm
0babe82d09 remove jmockit 2019-08-13 19:47:40 +02:00
sqrrm
62cfaf09c3
Update resources 2019-08-07 23:08:21 +02:00
sqrrm
47c7910e88
Move Clock binding to P2PModule 2019-08-01 11:43:43 +02:00
sqrrm
360dc0b4e8
Merge pull request #3037 from christophsturm/inject-clock
inject clock for usage in isDateInTolerance
2019-07-30 16:12:48 +02:00
Christoph Sturm
c38ef06d04 inject clock for usage in isDateInTolerance 2019-07-30 15:27:32 +02:00
Christoph Sturm
2f26140b6d fix warnings 2019-07-30 13:07:12 +02:00
Christoph Atteneder
db25293d62
Merge branch 'master' of github.com:bisq-network/bisq into hotfix-for-v1.1.3
# Conflicts:
#	build.gradle
#	desktop/package/linux/Dockerfile
#	desktop/package/linux/package.sh
#	desktop/package/linux/release.sh
#	desktop/package/macosx/create_app.sh
#	desktop/package/macosx/finalize.sh
#	desktop/package/macosx/insert_snapshot_version.sh
#	desktop/package/windows/package.bat
#	desktop/package/windows/release.bat
#	relay/src/main/resources/version.txt
2019-07-29 19:00:37 +02:00
sqrrm
2570e9b728
Merge pull request #2999 from christophsturm/christoph/rename-clock
rename Clock to ClockWatcher
2019-07-29 14:39:22 +02:00
sqrrm
70b7660e6c
Merge pull request #3005 from christophsturm/christoph/split-pb
split the pb.java file into multiple files
2019-07-26 16:14:57 +02:00
Christoph Atteneder
4c8a0ea00b
Update data stores 2019-07-26 10:35:48 +02:00
Christoph Sturm
de4e1d7b58 move protobuf to proto package 2019-07-25 14:08:00 +02:00