Christoph Sturm
3666ed2911
Don't build debug strings when debug is not enabled.
2019-09-06 14:51:35 +02:00
Christoph Sturm
e5e49dc5bd
Don't build debug strings when debug is not enabled.
2019-09-06 14:51:24 +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 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
Christoph Sturm
1c0fe2673f
split pb.java file into separate files.
2019-07-25 13:40:02 +02:00
Christoph Sturm
b4a0d620fc
fix format string
2019-07-25 10:26:04 +02:00
Christoph Sturm
c3d21806c4
rename Clock to ClockWatcher
...
* this class is not a clock but it watches the clock, detects standby
and runs periodic tasks.
* there is already a jdk method called clock
First i thought it should be called PeriodicTaskManager, now i find
ClockWatcher more fitting.
2019-07-24 16:39:03 +02:00
Christoph Atteneder
7f26f20e79
Update data stores
2019-07-15 10:02:50 +02:00
Christoph Atteneder
d9e088f469
Merge pull request #2952 from freimair/envelope_of_envelopes
...
Envelope of envelopes #2
2019-07-12 10:29:22 +02:00
Florian Reimair
31a4ba3ff6
Only send bundle if necessary
2019-07-10 16:32:53 +02:00
Florian Reimair
b44cb452f9
Rename stuff
2019-07-10 16:31:58 +02:00
Christoph Atteneder
7b29511415
Merge pull request #2939 from freimair/envelope_of_envelopes
...
Bundle of envelopes
2019-07-08 19:45:34 +02:00
Florian Reimair
7b6c55808d
Formatting
2019-07-08 18:48:35 +02:00