Commit graph

662 commits

Author SHA1 Message Date
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