Commit graph

7693 commits

Author SHA1 Message Date
Manfred Karrer
d57f6ad3d2
Fix startup behaviour.
Call fillListFromProtectedStore and fillListFromAppendOnlyDataStore
at start. The listeners are not triggered as registered after we have
received the initial data. So we need to read the P2P network data at
the start method.
2019-01-03 14:00:19 +01:00
Manfred Karrer
abb34230a3
Change handling of addListeners and start calls
We add first all listeners at all services and then call the start methods.
Some services are listening on others so we need to make sure that the
listeners are set before we call start as that might trigger state change
which triggers listeners.

- Change order of ballotListService and proposalService to reflect
dependency.
2019-01-03 13:58:58 +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
5c747d71d9
Use lambda 2019-01-03 10:51:41 +01:00
Manfred Karrer
a6a974ef5c
Remove final qualifier 2019-01-03 10:51:19 +01:00
Manfred Karrer
9f27fefe22
Add number of blocks in comment 2019-01-03 10:30:42 +01:00
Manfred Karrer
a7be0c4d31
Improve error logs 2019-01-03 10:16:26 +01:00
Manfred Karrer
1b17109b6b
Add more logs 2019-01-03 00:23:33 +01:00
Manfred Karrer
cbc559c7ee
Only log warning if mainnet 2019-01-02 02:02:07 +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
b48984c8f5
Add comment 2019-01-02 00:07:31 +01:00
Manfred Karrer
d35adf68ae
Comment out debug logs 2019-01-02 00:06:00 +01:00
Manfred Karrer
4c3a721535
Improve logging 2019-01-02 00:05:14 +01:00
Manfred Karrer
0dadc05233
Add toString methods 2019-01-02 00:04:55 +01:00
Manfred Karrer
b81909925d
Merge pull request #2161 from CaveSpectre11/list-gamblecoin-asset
List GambleCoin (GMCN)
2019-01-01 23:34:05 +01:00
Manfred Karrer
a960533524
Merge pull request #2185 from BravoIndia/patch-3
Update displayStrings.properties (error & bug report message)
2019-01-01 23:29:53 +01:00
BravoIndia
48cf173b27
Update displayStrings.properties
Clarifying/correcting grammar of bug report message.
2018-12-31 16:17:05 +07:00
Manfred Karrer
d013e7d8a5
Merge pull request #2181 from freimair/monitor
Bisq Network Monitor: Babysteps
2018-12-30 11:05:57 +01:00
Florian Reimair
32650f13ac Merge branch 'ManfredKarrer-monitor-nits' into monitor 2018-12-30 10:56:18 +01:00
Florian Reimair
decd648a41 Merge branch 'monitor-nits' of git://github.com/ManfredKarrer/bisq into ManfredKarrer-monitor-nits 2018-12-30 10:44:41 +01:00
Florian Reimair
cfec7146a2 Merge branch 'master' into monitor 2018-12-30 09:52:10 +01:00
Manfred Karrer
674a0bb129
Merge pull request #2009 from freimair/use-same-address-for-native-and-external-tor
Use same private_key in NewTor and RunningTor mode + Hiddenservice Fix
2018-12-29 15:05:33 +01:00
Manfred Karrer
b18c0b0ecd
Ignore tests
- Revert spelling error as misspelling was used for test
- Add TODO for failing test (timing issue, seems to fail just sometimes)
- Set @Disable to test classes which take longer as Tor is started
2018-12-29 14:46:06 +01:00
Manfred Karrer
e39f91aab5
Update hashes 2018-12-29 14:44:18 +01:00
Manfred Karrer
579d1f101d
Use 1.1.10 instead of $logbackVersion
$logbackVersion causes build errors.
2018-12-29 14:18:37 +01:00
Manfred Karrer
69b168eaee
Add guava 2018-12-29 14:16:10 +01:00
Manfred Karrer
1c58d89465
Apply code inspection
- Fix spelling
- Remove exception throw clause which was never thrown
- Add not null preconditions
- Remove unneeded types in diamonds
- Add final
- Fix java doc
- Make Reporter constructor protected (abstract)
2018-12-29 14:13:26 +01:00
Florian Reimair
36612185e1 Removed unused dummy Metric 2018-12-29 14:04:33 +01:00
Manfred Karrer
cb533f4364
Update gitignore
- Add /monitor/TorHiddenServiceStartupTimeTests/* and
/monitor/monitor-tor/*
2018-12-29 13:54:08 +01:00
Manfred Karrer
2d8ca8c0f9
Add monitor directory as parent for test directories
- Apply reorg imports and reformat to test classes
2018-12-29 13:53:30 +01:00
Manfred Karrer
2762d74c8f
Rename TorRoundtripTime to TorRoundTripTime 2018-12-29 13:44:57 +01:00
Manfred Karrer
d4db4d882b
Reformat code, organize imports, fix spelling 2018-12-29 13:41:18 +01:00
Florian Reimair
f329370bae Fixed compiation error as in: Commit of shame 2018-12-29 13:20:13 +01:00
Florian Reimair
59e52851f7 Dependencies and Buildfile cleanup 2018-12-29 11:37:48 +01:00
Florian Reimair
7cf083bb11 Readme, Javadoc, cleanup 2018-12-29 11:26:53 +01:00
Manfred Karrer
1f8675c728
Merge pull request #2182 from oscarguindzberg/remove-unused-classes
Remove Networks and AbstractBitcoinNetParams since they are not used
2018-12-29 10:06:10 +01:00
Manfred Karrer
76c1b4fde1
Merge pull request #2172 from sqrrm/dao-scrolling
Fix icon handling in vote result table, fix #2141
2018-12-29 10:01:48 +01:00
Oscar Guindzberg
eff0db051c Remove Networks and AbstractBitcoinNetParams since they are not used 2018-12-28 17:31:49 -03:00
Florian Reimair
ada2e586e5 Pretty up config file 2018-12-28 19:12:39 +01:00
Florian Reimair
26f6088f9f Graphite reporter is available 2018-12-28 17:35:30 +01:00
Florian Reimair
a7d86f3352 Refactored metric infrastructure 2018-12-28 17:33:52 +01:00
Florian Reimair
09e02ba6c9 Refactored Metric 2018-12-28 13:28:59 +01:00
Florian Reimair
973bcf5a79 Introduce reporter concept 2018-12-28 13:27:09 +01:00
sqrrm
9fc76a4cfc
Fix icon handling in vote result table, fix #2141 2018-12-25 22:07:11 +01:00
CaveSpectre11
1a5cac9f98
Merge branch 'master' into list-gamblecoin-asset 2018-12-25 13:08:02 -05:00
Manfred Karrer
5cc3c57d52
Merge pull request #2159 from CaveSpectre11/list-ucc-asset
List UnitedCommunityCoin (UCC)
2018-12-25 12:15:58 +01:00
Manfred Karrer
bb46ea0fcb
Merge pull request #2158 from CaveSpectre11/list-idapay-asset
List IdaPay (IDA)
2018-12-23 14:04:04 +01:00
Manfred Karrer
d2d92a1db9
Merge pull request #2157 from CaveSpectre11/list-dextro-asset
List Dextro (DXO)
2018-12-23 14:03:50 +01:00
Manfred Karrer
bcceac532d
Merge pull request #2150 from FourtyTwo/master
List FourtyTwo (FRTY)
2018-12-23 14:03:33 +01:00
Manfred Karrer
9afd8b1f10
Merge pull request #1970 from HyperspaceApp/list-spacecash
List SpaceCash (XSC)
2018-12-23 14:02:25 +01:00