Commit graph

784 commits

Author SHA1 Message Date
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
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
27b6fa6a09
Merge p2p repository at eb22118 2018-09-05 10:52:42 +02:00