Commit graph

2111 commits

Author SHA1 Message Date
Ivan Vilata-i-Balaguer
c9f0155473 Remove unnecessary imports from network stress test 2016-05-17 09:13:28 +02:00
Ivan Vilata-i-Balaguer
0977ef398b Move seed note running out of user thread, still locking 2016-05-17 09:13:28 +02:00
Ivan Vilata-i-Balaguer
a9d0272e88 Start seed node in stress test, not working yet (locking) 2016-05-17 09:13:28 +02:00
Ivan Vilata-i-Balaguer
fdc0eafc67 Add skeleton for network stress unit test 2016-05-17 09:13:28 +02:00
Manfred Karrer
e910233b4c Add null check 2016-05-16 21:32:42 +02:00
Manfred Karrer
cfd2e837e9 Add null check 2016-05-16 21:32:19 +02:00
Manfred Karrer
c538ad1ba6 Merge remote-tracking branch 'origin/Development' into Development 2016-05-16 11:27:40 +02:00
Manfred Karrer
c1ac65345d Add try/catch around offerBookListItems.clear(); 2016-05-16 11:26:46 +02:00
Manfred Karrer
d7f609a970 Added Moin 2016-05-16 11:26:22 +02:00
Manfred Karrer
c745bb37a7 Merge pull request #434 from ivilata/PeerManagerInstanceMaxConn
Per-instance max connections in PeerManager
2016-05-14 12:10:59 +02:00
Manfred Karrer
7c5c533027 Added Gridcoin 2016-05-14 11:50:17 +02:00
Manfred Karrer
f37b069340 Added OKCash 2016-05-14 11:40:25 +02:00
Manfred Karrer
1dae1dd096 Use long instead of int for bytes in statistics 2016-05-12 23:46:05 +02:00
Manfred Karrer
1335238591 Check for crypto currency before fiat (ESP -> Spanish pesetas as it was an old fiat ISO code), refactor repeated code 2016-05-11 00:16:09 +02:00
Manfred Karrer
42cbe6e2ca Fix wrong equal check, check for cryptocurrency before fiat 2016-05-11 00:10:28 +02:00
Manfred Karrer
37c7993d19 Merge pull request #442 from ivilata/DemoteKeepaliveWarning
Demote keepalive warning to debug entry
2016-05-10 11:37:49 +02:00
Ivan Vilata-i-Balaguer
bd0f78b10a Demote keepalive warning to debug entry
The error is pretty obscure for a normal user to see in console, and it just reflects a network condition or some delay in the communication with another node, which may be relatively frequent.

Leaving a TODO comment to check if this can cause issues.
2016-05-10 08:28:54 +02:00
Manfred Karrer
d99b5ade5e Publish arbitrator after bootstrap completed 2016-05-09 16:34:43 +02:00
Manfred Karrer
cb1de4a9c9 Added Pinkcoin 2016-05-09 15:45:48 +02:00
Manfred Karrer
a59dfbf2ea Add Jumbucks 2016-05-08 23:14:19 +02:00
Manfred Karrer
cbac2d2a22 Deactivate detailed logging for seed node 2016-05-08 22:02:27 +02:00
Manfred Karrer
5b7bff1a89 Add null check 2016-05-08 22:01:57 +02:00
Manfred Karrer
625a249051 Change refresh/republish time 2016-05-08 12:59:13 +02:00
Manfred Karrer
dc3c630770 Change TTL from 4 to 6 min. 2016-05-08 12:58:34 +02:00
Manfred Karrer
f14facfef1 Improve error msg 2016-05-07 13:18:04 +02:00
Manfred Karrer
538751b9da Add log 2016-05-07 13:17:41 +02:00
Ivan Vilata-i-Balaguer
a1f98f2495 Rename former constant-like fields to camel case in `PeerManager` 2016-05-06 10:58:01 +02:00
Ivan Vilata-i-Balaguer
3aac3a3865 Rearrange connection limit lines in `PeerManager` 2016-05-06 10:58:01 +02:00
Ivan Vilata-i-Balaguer
f0b0b69b24 Change access of max connections constant to private in tests 2016-05-06 10:58:00 +02:00
Ivan Vilata-i-Balaguer
fd37b8999b Do pass max connections to `PeerManager`, new constructor signature
Remove calls to now instance private ``PeerManager.setMaxConnections()``.  Static fields regarding connection limits are now private instance fields.
2016-05-06 10:57:11 +02:00
Ivan Vilata-i-Balaguer
dc90a950cb Pass max connections to `SeedNode.createAndStartP2PService()`
Still keep calls to ``PeerManager.setMaxConnections()`` until it is retired.
2016-05-06 10:11:44 +02:00
Ivan Vilata-i-Balaguer
f0aec0d55c Add internal `P2PService` constructor with (unused) maximum connections argument
The value of ``P2PService.MAX_CONNECTIONS_DEFAULT`` is taken from the static block invocation of ``PeerManager.setMaxConnections()``.
2016-05-06 10:09:58 +02:00
Ivan Vilata-i-Balaguer
a50bf41803 Remove unnecessary class reference 2016-05-06 09:00:21 +02:00
Manfred Karrer
a8d221162a Rename ETH (Ethereum to Ether) 2016-05-06 00:09:55 +02:00
Manfred Karrer
1eb38d5a19 Added Maker 2016-05-06 00:03:23 +02:00
Manfred Karrer
3bf861561b Fix sorting of date 2016-05-05 14:03:57 +02:00
Manfred Karrer
afb8c18d31 Fix ArrayIndexOutOfBoundsException at remove 2016-05-05 13:52:33 +02:00
Manfred Karrer
8bf4e88c1f Merge pull request #433 from ivilata/NewTimerRaceConditions
New timer race conditions
2016-05-05 13:37:07 +02:00
Manfred Karrer
b9dfa0a7a7 Merge branch 'master' into Development
# Conflicts:
#	common/pom.xml
#	common/src/main/java/io/bitsquare/app/Version.java
#	core/pom.xml
#	core/src/main/java/io/bitsquare/locale/CurrencyUtil.java
#	gui/pom.xml
#	jsocks/pom.xml
#	jtorctl/pom.xml
#	jtorproxy/pom.xml
#	network/pom.xml
#	package/linux/create_32bit_app.sh
#	package/linux/create_64bit_app.sh
#	package/mac/create_app.sh
#	package/windows/Bitsquare.iss
#	package/windows/create_32bit_app.bat
#	package/windows/create_app.bat
#	pom.xml
#	seednode/pom.xml
2016-05-05 13:30:18 +02:00
Manfred Karrer
bf8e3c3692 Add PlatinumBar 2016-05-05 13:10:33 +02:00
Ivan Vilata-i-Balaguer
846cdb743f Ignore data request message success or failure after a timeout 2016-05-05 10:40:59 +02:00
Ivan Vilata-i-Balaguer
00df057e09 Stop broadcasting after a timeout or cancellation 2016-05-05 10:32:52 +02:00
Ivan Vilata-i-Balaguer
0d32a3b5ce Move comment closer to timer creation
For consistency across classes.
2016-05-05 10:25:42 +02:00
Ivan Vilata-i-Balaguer
b814eff5f1 Move log message closer to actual sending 2016-05-05 10:23:57 +02:00
Ivan Vilata-i-Balaguer
e4ce976bab Avoid potential race condition on timer creation in `BroadcastHandler.broadcast()`
If the timer is created after sending the message and establishing callbacks, they may have already run on timer creation so it would be pointless (and issue a warning when triggered).

Currently there is no race condition because no callbacks are attached to the futures return by sending broadcast messages, but the timer is still created before in case they were added and for consistency with other classes.
2016-05-05 10:22:47 +02:00
Ivan Vilata-i-Balaguer
c3fa4831c5 Avoid race condition on timer creation in `RequestDataHandler.requestData()`
If the timer is created after sending the message and establishing callbacks, they may have already run on timer creation so it would be pointless (and issue a warning when triggered).
2016-05-05 10:05:17 +02:00
Ivan Vilata-i-Balaguer
b59e3ff0f8 Avoid race condition on timer creation in `GetPeersRequestHandler.handle()`
If the timer is created after sending the message and establishing callbacks, they may have already run on timer creation so it would be pointless (and issue a warning when triggered).
2016-05-05 09:45:28 +02:00
Ivan Vilata-i-Balaguer
704b985121 Avoid race condition on timer creation in `PeerExchangeHandler.sendGetPeersRequest()`
If the timer is created after sending the message and establishing callbacks, they may have already run on timer creation so it would be pointless (and issue a warning when triggered).
2016-05-05 09:36:49 +02:00
Ivan Vilata-i-Balaguer
4e95b6e6cb Avoid race condition on timer creation in `GetDataRequestHanler.handle()`
If the timer is created after sending the message and establishing callbacks, they may have already run on timer creation so it would be pointless (and issue a warning when triggered).
2016-05-05 09:13:34 +02:00
Manfred Karrer
68143f5b12 Added BigUp 2016-04-30 13:14:47 +02:00