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
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
Florian Reimair
7a942cfbd7
Cleanup
2019-07-08 16:23:36 +02:00
Florian Reimair
3fb8be3481
Rename
2019-07-08 09:33:50 +02:00
Florian Reimair
8dd993fd54
Still maintain DoS protection
2019-07-06 14:24:12 +02:00
Florian Reimair
0733379141
Split on resulting message size
2019-07-06 14:23:24 +02:00
Florian Reimair
bdc860be9f
Optimized memory footprint of DoS protection
2019-07-05 09:19:41 +02:00
Florian Reimair
f73fa94984
Use EnvelopeOfEnvelopes message type
2019-06-24 16:59:56 +02:00
Florian Reimair
b101035d99
Sketch of businesslogic regarding EnvelopeOfEnvelopes
2019-06-24 16:55:58 +02:00
Florian Reimair
16392f5f0a
Added EnvelopeOfEnvelopes Network Message
2019-06-24 16:53:53 +02:00
Devin Bileck
ac66c97728
Fix AckMessage failure
...
When taking an offer, ack messages for
OfferAvailablilityRequest/Response were failing to be sent with the
following error.
> Jun-23 22:35:38.129 [JavaFX Application Thread] ERROR
> b.c.o.a.OfferAvailabilityProtocol: AckMessage for
> OfferAvailabilityResponse failed. AckMessage=AckMessage{
> uid='8779f9ae-22e9-4f16-bbbb-4da89fe23cdf',
> senderNodeAddress=localhost:3333,
> sourceType=OFFER_MESSAGE,
> sourceMsgClassName='OfferAvailabilityResponse',
> sourceUid='df1a50c5-c6e7-4c81-8ad4-a100d622a053',
> sourceId='pexluolj-2e5e5d9f-5aca-4a3d-b66a-60b72afe3d2c-112',
> success=true,
> errorMessage='null'
> } NetworkEnvelope{
> messageVersion=12
> }, makersNodeAddress=localhost:3632, errorMessage=We did not send the
> EncryptedMessage because the peer does not support the capability.
2019-06-23 22:50:38 -07:00
Christoph Atteneder
abc0909ffe
Merge pull request #2870 from freimair/monitor-bsqblocks
...
Monitor knows about the DAO
2019-06-06 14:02:16 +02:00
Florian Reimair
afcc7c00f5
Renamed classes
2019-06-05 19:39:54 +02:00
Florian Reimair
4e5cd50e64
Increase max message size until a greater refactoring
2019-06-05 17:50:59 +02:00
Florian Reimair
7442d2a428
Fix NullPointerEx in Monitor
2019-06-05 17:50:58 +02:00
Christoph Atteneder
fbd49a2cce
Update stores
2019-06-04 10:14:58 +02:00
Manfred Karrer
96138e759b
Cleanups
2019-05-11 12:55:29 +02:00
Manfred Karrer
fa07957c24
Call setAllowDisconnectSeedNodes from LiteNode after blocks received
...
Instead of the 3 minutes delay we set the flag from the lite node once
the blocks are received. We delay 20 seconds to allow multiple getBlocksRequests
to finish.
2019-05-11 12:55:09 +02:00
Manfred Karrer
a8b1524d8d
Fix issue with too early disconnect to seeds
...
As soon we are over our connection target we start disconnecting seed
nodes though that can be too early as getBlocks requests are still
pending. We delay the disconnect seed handling to 3 minutes after our
first connection so give it enough time to receive the getBlocksResponse.
2019-05-11 12:22:59 +02:00
Christoph Atteneder
1d18029b1c
Update dbs
2019-05-02 18:00:35 +02:00
Manfred Karrer
1008e9bc51
Add UTF8 for getBytes calls
...
Fixes https://github.com/bisq-network/bisq/issues/2729
2019-04-17 19:56:21 -05:00
Manfred Karrer
ab0c81804c
Make GetBlocksRequest implement SendersNodeAddressMessage and SupportedCapabilitiesMessage
...
When we request at startup the blocks from a seed which has not yet
received out capabilities or node address we will not get a response.
We do not want to depend on the state in the getData domain in the
p2p network by using only a seed which has already responded but we
prefer to make sure the seednode will get all the data by our request
to be able to respond.
2019-04-16 22:52:20 -05:00
Manfred Karrer
7e0a7a4f02
Only set capabilities if not null
2019-04-16 22:48:32 -05:00
Manfred Karrer
b0fef9819b
Add check for nullable senderNodeAddress
2019-04-16 22:33:46 -05:00
Manfred Karrer
ba4a3a8918
Avoid logging calls from monitor nodes
...
Monitor nodes have only one capability set. We don't want to get tons
of logs from those (trade statistics, account witness,....).
2019-04-16 15:09:52 -05:00
Manfred Karrer
2410f38796
Apply formatting (no code change)
2019-04-16 15:07:14 -05:00
Christoph Atteneder
1664a72788
Update Mainnet dbs and remove old test dbs
2019-04-15 14:13:53 +02:00
Christoph Atteneder
27a2772875
Update DBs
2019-04-08 11:11:00 +02:00
Manfred Karrer
e86238d840
Remove unneeded db files, add trade stats
2019-04-01 13:48:12 -05:00
Christoph Atteneder
38728a1132
Update DBs
2019-04-01 15:43:53 +02:00
Manfred Karrer
4d56ce9a10
Apply ExtraDataMapValidator for all extraDataMap fields
2019-03-31 17:35:14 -05:00
Manfred Karrer
9b2c5a2d2a
Increase timeouts
...
See discussion at https://github.com/bisq-network/bisq/issues/2547
2019-03-25 12:44:54 -05:00
Manfred Karrer
eb8feece58
Add missing @EqualsAndHashCode(exclude = {"date"})
...
Was unintendely removed in latest refactorings
2019-03-22 20:44:37 -05:00
Manfred Karrer
68894ea2ce
Update db files
2019-03-22 12:25:45 -05:00
Manfred Karrer
b20cb39e5a
Update db files
2019-03-22 12:19:17 -05:00
Manfred Karrer
628705787f
Merge pull request #2552 from freimair/refactor_capabilities
...
Refactor capabilities
2019-03-18 14:08:40 -05:00
Manfred Karrer
a7dacbf4d5
Merge pull request #2538 from devinbileck/fix-handling-exception-during-tor-setup
...
Fix exception handling during Tor setup
2019-03-18 14:00:25 -05:00
Florian Reimair
afc241c52a
Renamed hasCapabilities to isEmpty
2019-03-18 12:59:09 +01:00
Florian Reimair
ede3a3c721
Introduced Capabilities.addAll
2019-03-18 12:55:19 +01:00
Florian Reimair
837b4dffb3
Refactor Capabilities for Peer
2019-03-18 12:46:32 +01:00
Florian Reimair
7a03aba02e
Refactor Capabilities for Connection
2019-03-18 12:29:09 +01:00
Manfred Karrer
0b152466f4
Add updated db files
2019-03-16 12:43:12 -05:00
Manfred Karrer
e93358428d
Remove db store file
2019-03-16 12:09:03 -05:00
Manfred Karrer
ccbb5780ab
Add peer to log
2019-03-15 22:58:04 -05:00
Devin Bileck
8ccbe9e39e
Fix exception handling during Tor setup
...
A recent change in the netlayer is now seeing exceptions wrapped in
a TorCtlException if an error occurs while setting up Tor.
So when an issue such as "Auth cookie not created" (#2398 ) occurs,
which was previously raised as an IOException, it was restarting Tor
rather than showing the error message to the user.
2019-03-14 16:33:39 -07:00
Manfred Karrer
03023d6338
Remove myAddress from docs and scripts as it is not used/needed anymore
2019-03-08 10:58:53 -05:00
Florian Reimair
b27befed63
--myAddress property is not needed anymore
2019-03-07 17:08:49 +01:00
Florian Reimair
de93a6fa1b
Revert "Revert 2473067b090603dec983fa18995453bdd6d8de94"
...
This reverts commit a9ee15d9f6
.
2019-03-07 17:08:49 +01:00
Manfred Karrer
80fa5c029f
Merge pull request #2507 from freimair/monitor
...
Monitor tweaks, fixes and a new Metric
2019-03-07 10:46:41 -05:00
Florian Reimair
9f464b3d50
Remove HS from Snapshot Metrics
2019-03-07 12:51:54 +01:00
Manfred Karrer
13dfadddcb
Change log level for log when msgThrottle is triggered
2019-03-06 22:46:02 -05:00
Manfred Karrer
9638f58f7b
Add callSuper = true to EqualsAndHashCode in Peer
2019-03-06 18:39:43 -05:00
Florian Reimair
4bafea83ee
Inline declaration of default value
2019-03-06 09:50:30 +01:00
Florian Reimair
22b4ef921b
Use Lombok Getter
2019-03-06 09:50:30 +01:00
Florian Reimair
7c5210856b
Capabilities optimizations
2019-03-06 09:50:11 +01:00
Florian Reimair
24501178e4
Removed closeConnectionReason from class scope
2019-03-06 09:35:06 +01:00
Florian Reimair
3bb38b81ce
Compressed shutdown members
2019-03-06 09:35:06 +01:00
Florian Reimair
b85075affe
Removed superfluous imports
2019-03-06 09:35:06 +01:00
Florian Reimair
b501a203f4
Removed field that is only used once
2019-03-06 09:35:06 +01:00
Florian Reimair
d21bf3d710
Merged methods that did the same
2019-03-06 09:35:06 +01:00
Florian Reimair
0320261901
Simplified connection shutdown
2019-03-06 09:35:06 +01:00
Florian Reimair
4d21d25fa9
Get rid of 'InputHandler' in 'Connection' class
2019-03-06 09:35:06 +01:00
Florian Reimair
7fa5c190aa
Get rid of 'sharedModel' in 'Connection' class
2019-03-06 09:35:06 +01:00
Florian Reimair
ed799b7018
Removed duplicate and superfluous code
2019-03-06 09:29:46 +01:00
Florian Reimair
00872427de
Get rid of Capability ordinals
...
github.com/AlDanial/cloc v 1.80 T=0.19 s (5.3 files/s, 5.3 lines/s)
-------------------------------------------------------------------------------
files blank comment code
-------------------------------------------------------------------------------
same 0 0 913 3405
modified 28 0 6 145
added 1 18 36 58
removed 0 9 3 103
-------------------------------------------------------------------------------
2019-03-06 09:29:26 +01:00
Manfred Karrer
92b91ba391
Merge pull request #2500 from ManfredKarrer/remove-dev-logging
...
Remove Log.traceCall methods
2019-03-05 11:52:21 -05:00
Manfred Karrer
b711f571a4
Cleanup some log.debug calls
2019-03-05 11:24:07 -05:00
Manfred Karrer
1d0fdf4c55
Cleanup some log.trace calls
2019-03-05 11:11:04 -05:00
Manfred Karrer
7fd2030003
Remove Log.traceCall methods
...
Florian reported that they consume quite a bit of performance.As
they have not been used for development testing since long we should
better remove those.
2019-03-05 10:32:39 -05:00
Christoph Atteneder
5c69d75192
Update data stores
2019-03-05 16:24:55 +01:00
Manfred Karrer
c65decfeaf
Add prog args for connection parameters
...
- Add program args: msgThrottlePerSec, msgThrottlePer10Sec,
sendMsgThrottleTrigger and sendMsgThrottleSleep
- Add ConnectionConfig class with static injected field in Connection
- Cleanups
2019-03-04 00:57:29 -05:00
Manfred Karrer
744bbe6ad7
Use class name instead of NetworkEnvelope in messageTimeStamps
...
- NetworkEnvelope was only used to print the class name if we exceed
throttle limits. Should reduce memory footprint
2019-03-03 23:39:55 -05:00
Manfred Karrer
a9ee15d9f6
Revert 2473067b09
...
Seed nodes do not connect to correct network. The PR needs to be better
tested and fixed.
2019-02-27 14:00:05 -05:00
Manfred Karrer
2473067b09
Merge pull request #2464 from freimair/seedNodeRepo_refactoring
...
Seed node repo refactoring
2019-02-27 13:18:06 -05:00
Florian Reimair
03a20a05f7
Fixed memory leak in message throttle mechanism
2019-02-27 16:08:33 +01:00
Florian Reimair
282b0f2ef2
Refactor SeedNodeRepo stuff
2019-02-25 14:51:38 +01:00
Manfred Karrer
c5d741e0bb
Add db files for dao
2019-02-21 15:01:37 -05:00
Manfred Karrer
c0e56f1732
Remove dao DB files, add trade stats for dao_testnet
2019-02-19 18:58:54 -05:00
Christoph Atteneder
9d10184f83
Update Mainnet DBs
2019-02-18 18:04:13 +01:00
Manfred Karrer
4e42b56b96
Cleanups
2019-02-14 17:08:11 -05:00
Devin Bileck
3f6d81c20b
Improve handling when unable to connect to tor
...
Issue: If an IOException is raised when attempting to create
tor and the hidden service, the application will just quit without
any indication to the user. One particular scenario where this occurs
is mentioned in https://github.com/bisq-network/bisq/issues/2398 .
Cause: There is an explicit statement to exit the application when an
IOException is raised.
Fix: Rather than just exit the application, show an error message
and inform the user what went wrong.
2019-02-08 13:57:25 -08:00
Manfred Karrer
dcf40bcfb5
Refactor: Add handler, make onMissedSecondTick default
2019-02-05 20:43:46 +01:00
Oscar Guindzberg
52e36187d1
Remove libdohj dependency
2019-02-05 09:33:58 -03:00
Manfred Karrer
e292cab799
Improve logs
2019-01-21 18:20:04 +01:00
Manfred Karrer
951c878090
Update DaoStateStore
2019-01-08 15:25:42 +01:00
Christoph Atteneder
cd5ead91c5
Update DataStateStore db on Testnet
2019-01-08 11:28:36 +01:00
Christoph Atteneder
a664989a75
Update dbs (except DaoStateStore which had less file size)
2019-01-08 09:37:57 +01:00
Manfred Karrer
a8626025c2
Add db storage files
2019-01-04 00:32:20 +01:00
Manfred Karrer
0b30b69355
Fix handling of case when no seed node is available.
...
In regtest we got incorrectly onNoPeersAvailable called if the first
seed node in our list was not available. It triggered a
onAllServicesInitialized and led to incorrect behaviour in case we
received data from the second seednode. One bug was that we did not
clone the remaining nodes list in the for loop which led that the list
was empty for each delayed call. The other bug was that we did not
check if there is another connection attempt open when we got a
connection fault from the not available seed.
2019-01-03 12:31:56 +01:00
Manfred Karrer
ccd90e763d
Add peer address to error log
...
- Add full toString method to Connection.SharedModel
2019-01-02 00:34:19 +01:00
Manfred Karrer
d35adf68ae
Comment out debug logs
2019-01-02 00:06:00 +01:00
Florian Reimair
b38f31239a
Use same private_key in NewTor and RunningTor mode
2018-12-21 13:46:32 +01:00
Christoph Atteneder
c87f29a0ec
Update local stores
2018-12-13 10:05:57 +01:00
Florian Reimair
c255099763
Singleton proxy restores original behaviour
2018-12-07 09:59:55 +01:00
Florian Reimair
f134b278ff
Fixed TorNetworkNode tests
2018-12-07 09:54:10 +01:00
Florian Reimair
fdd6e7186c
Stream-isolation for Tor available
2018-12-06 21:25:51 +01:00
Florian Reimair
615992d6d9
Preparations for Tor stream isolation
2018-12-06 21:14:22 +01:00
Manfred Karrer
dd18c6e8c7
Remove log for duration
2018-12-05 00:38:52 +01:00
Manfred Karrer
145f03733c
Add trade statistic db files for testnet and regtest
...
- gives testnet and regtest a more realistic environment (most assets
would be disabled due lack of trade activity otherwise as testnet and
regtest ahs dao enabled)
2018-12-02 19:43:20 +01:00
Manfred Karrer
fb26d3d0b8
Update db files
2018-12-02 19:41:54 +01:00
Manfred Karrer
ef794b3a82
Update store db files
2018-11-26 20:01:31 +01:00
Florian Reimair
e4568a3b3b
Use lombok log API
2018-11-25 16:58:19 +01:00
Florian Reimair
3a44b36118
Rolling backup for external Tor
2018-11-25 10:40:18 +01:00
Florian Reimair
6eeda23f31
Refactored TorMode classes
2018-11-25 10:40:18 +01:00
Florian Reimair
18cfc1a138
Corrected JavaDoc
2018-11-25 10:39:44 +01:00
Florian Reimair
f3f7625fa4
Corrected log message
2018-11-25 10:04:17 +01:00
Florian Reimair
717796103d
Fixed tests as in: commit of shame
2018-11-17 18:44:10 +01:00
Florian Reimair
f0bfb3825a
Declutter TorNetworkNode some more
2018-11-17 18:42:18 +01:00
Florian Reimair
64c6e3d783
Connect with CookieAuthentication
2018-11-17 18:03:10 +01:00
Florian Reimair
139ec518fc
Connect with PasswordAuthentication
2018-11-17 18:03:10 +01:00
Florian Reimair
63f8bbf8c5
Connect to external Tor with NullAuthentication
2018-11-17 18:03:10 +01:00
Florian Reimair
aa584acb92
Declutter TorNetworkNode
2018-11-17 18:03:10 +01:00
Florian Reimair
68d813fc0c
Refactored TorNetworkNode
2018-11-17 18:02:49 +01:00
Manfred Karrer
27dea71bfd
Optimize processing of initial trade statistics and witness data
...
We changed the earlier behaviour with delayed execution of chunks of the list as it caused
worse results as if it is processed in one go.
Main reason is probably that listeners trigger more code and if that is called early at
startup we have better chances that the user has not already navigated to a screen where the
trade statistics are used for UI rendering.
We need to take care that the update period between releases stay short as with the current
situation before 0.9 release we receive 4000 objects with a newly installed client, which
causes the application to stay stuck for quite a while at startup.
2018-11-09 20:43:07 -05:00
Florian Reimair
7b98445eb9
use program arguments instead of system properties
2018-11-08 14:56:44 +01:00
Florian Reimair
5ab801cad2
readability
2018-11-08 10:13:29 +01:00
Florian Reimair
3d53c2584a
comply to coding conventions
2018-11-07 19:44:17 +01:00
Florian Reimair
03683a7ecd
got rid of magic strings
2018-11-07 17:13:51 +01:00
Florian Reimair
7b07a1585b
custom override of torrc
2018-11-07 17:13:51 +01:00
Florian Reimair
a46328fa41
custom torrc file available
2018-11-07 17:13:51 +01:00
Chris Beams
2f7c5f1150
Pull up remaining p2p config to root
2018-11-04 17:46:03 +01:00
Chris Beams
1cdb39ab60
Pull up JesusMcCloud repo to root
...
Not all subprojects need it, but most do.
2018-11-04 14:28:14 +01:00
Chris Beams
4e1fa914a2
Pull up common repositories to root build.gradle
2018-11-04 14:20:55 +01:00
Chris Beams
95c8b8ddfa
Pull up application and configuration of java plugin
2018-11-04 14:20:55 +01:00
Chris Beams
3c1c402d40
Remove use of maven plugin
...
It is no longer necessary to publish Maven metadata about common, core
and other submodules as they are no longer managed as separate libraries
in separate repositories. The only way these modules should be getting
referenced is from within applications in this repository such as
desktop, statsnode, etc. Essentially, we're no longer publishing our
libraries for public consumption.
2018-11-04 13:19:06 +01:00
Devin Bileck
0e3166f6b9
Merge remote-tracking branch 'upstream/master' into fix-typos
2018-10-23 23:43:13 -07:00
Manfred Karrer
0c5df1061c
Change delay for storage from 2 sec to 200 ms
2018-10-17 10:52:37 -05:00
Manfred Karrer
a308469ac6
Support for persisted bsqState as resource file
...
- Move DecryptedBallotsWithMerits list and EvaluatedProposal list to
BsqState
- Use StoreService for handling persistence of snapshots
2018-10-16 23:21:11 -05:00
Manfred Karrer
8e46b1760f
Add new storage type to p2p library
...
- We introduce a new basic storage type for reading from a resource file
if available and reading initial db file if available. That is required
for the snapshots of the DaoState which will be shipped with the source
code.
- We separate the support for maps to MapStoreService
2018-10-16 23:16:52 -05:00
Devin Bileck
35f0fcf914
Fix typos in PeerManager
2018-10-11 23:54:19 -07:00
Manfred Karrer
adcb254b2f
Fix issue with isBootstrapped
...
- Add check for isBootstrapped before calling
processProtectedMailboxStorageEntry
- Add call of to maybeProcessAllMailboxEntries at
onUpdatedDataReceived and onTorNodeReady
2018-10-04 14:57:51 -05:00
Manfred Karrer
3d8d8cc760
Improve logs
...
- Remove logging of 'SupportedCapabilities is empty...' in Peer
- Add log of number of peesWithNoCapabilitiesSet at persistedPeerList
2018-10-04 14:54:38 -05:00
Manfred Karrer
0728d04b02
Improve logs, don't show popups in dev mode
2018-10-04 11:33:44 -05:00
Manfred Karrer
d31d569160
Don't throw exception at delayedRemoveEntryFromMailbox
...
- We saw that we get a NetworkNotReadyException called but it is unclear
why that can happen as that method should be only called after bootstrap
flag is set. But anyway that is not a critical issue as it only removes
the mailboxMessage and in case we are nto well connected it would get
removed by the TTL.
2018-10-04 11:32:53 -05:00
Manfred Karrer
e47c160a27
Merge branch 'master' into fix-multiple-btc-peers
2018-09-24 12:11:58 -05:00
Manfred Karrer
c4d45ceeca
Remove AbstractLitecoinParams
2018-09-23 17:50:58 -05:00
Manfred Karrer
615dd5132e
Rename addWeakRCapabilitiesListener to addWeakCapabilitiesListener
2018-09-23 10:02:14 -05:00
Christoph Atteneder
4c068af7b3
Use default security provider instead of Bouncy Castle
2018-09-14 16:02:58 +02:00
Christoph Atteneder
bd9a208977
Update source compatibility to Java 10
2018-09-07 11:35:45 +02:00
Christoph Atteneder
73e4ee5f47
Update lombok library
2018-09-05 18:54:18 +02:00
Christoph Atteneder
b8c7981049
Clean p2p build file
2018-09-05 11:02:02 +02:00
Chi Nul
91cb4a9c28
p2p: Drop now unnecessary files
2018-09-05 11:01:12 +02:00
Christoph Atteneder
27b6fa6a09
Merge p2p repository at eb22118
2018-09-05 10:52:42 +02:00