Florian Reimair
9f464b3d50
Remove HS from Snapshot Metrics
2019-03-07 12:51:54 +01: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