Commit graph

634 commits

Author SHA1 Message Date
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
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
ae85d4e3a7 Add new seed node 2016-04-26 20:53:11 +02:00
Manfred Karrer
2c25c69beb Remove instable seed node 2016-04-26 17:33:06 +02:00
Manfred Karrer
171f61f60c Fix logging, increase throttle 2016-04-25 23:43:16 +02:00
Manfred Karrer
280574638f Add new seed node 2016-04-25 00:16:20 +02:00
Manfred Karrer
9f38374539 Fix wrong thread call on exite form sys tray 2016-04-23 03:36:55 +02:00
Manfred Karrer
b4edbe2986 Improve logging 2016-04-23 02:51:01 +02:00
Ivan Vilata-i-Balaguer
85283b8fd0 Create some constants for maximum number of connections 2016-04-20 10:03:27 +02:00
Ivan Vilata-i-Balaguer
45b1314099 Move implicit purge removal period to declared constant 2016-04-20 10:03:27 +02:00
Ivan Vilata-i-Balaguer
7a7b33fc76 Add comment about check allowed public keys for adding received message 2016-04-20 10:03:27 +02:00
Ivan Vilata-i-Balaguer
e8d289f577 Add comment about network node start 2016-04-20 10:03:27 +02:00
Ivan Vilata-i-Balaguer
4b5a393911 Add comment on purging sequence number map 2016-04-20 10:03:27 +02:00
Ivan Vilata-i-Balaguer
5d78918fb2 Extend comment on the role of Connection.InputHandler 2016-04-20 10:03:27 +02:00
Ivan Vilata-i-Balaguer
9b9fd678a8 Avoid getting current time on each usage on flooding avoidance computations
Also fix some log message wording.
2016-04-20 10:03:27 +02:00
Ivan Vilata-i-Balaguer
8f7f450429 Remove comma before first argument in string representation 2016-04-20 10:03:27 +02:00
Ivan Vilata-i-Balaguer
fc4babcfd7 Fix confusing comment 2016-04-20 10:03:27 +02:00
Ivan Vilata-i-Balaguer
c5d760b2a0 Replace manual checks with equivalent `Optional.ofNullable()` 2016-04-20 10:03:27 +02:00
Ivan Vilata-i-Balaguer
ad579bf7cc Clarify matching of seed node ports and network ids 2016-04-20 10:03:27 +02:00
Ivan Vilata-i-Balaguer
e6197938fe Read HTTP error stream before closing it
It wasn't causing problems, but it looks odd.
2016-04-20 10:03:27 +02:00
Ivan Vilata-i-Balaguer
51059fe6a9 Remove comma before first argument in string representation 2016-04-20 10:03:27 +02:00
Manfred Karrer
5a47ebbadc add comments 2016-04-19 18:17:49 +02:00
Manfred Karrer
613c80082a Increase take offer timeout 2016-04-19 12:24:11 +02:00
Manfred Karrer
fbc145e755 v0.4.2 2016-04-17 21:44:00 +02:00
Manfred Karrer
be05a52e40 increase max size for attachments 2016-04-17 17:42:28 +02:00
Manfred Karrer
c02f6481b2 v0.4.2, new seednodes 2016-04-16 22:36:34 +02:00
Manfred Karrer
b97506cf51 Add listeners if pricefeed is not available 2016-04-16 15:46:45 +02:00
Ivan Vilata-i-Balaguer
5e8731bb6e Duplicated check when sending direct message, check remote and local addresses 2016-04-15 13:23:25 +02:00
Manfred Karrer
c021ea8ea2 Fix bug when trader is offline and use password protection signing payout tx fails 2016-04-13 13:56:23 +02:00
Manfred Karrer
6e976cc351 Refactor checks for incoming data 2016-04-11 13:28:32 +02:00
Manfred Karrer
f0b3fa709d Small improvements... 2016-04-08 21:59:26 +02:00
Manfred Karrer
6f3f469287 Add rolling backup for to HS priv key 2016-04-08 20:40:12 +02:00
Manfred Karrer
565c44d94c Fix fee calculation, add adjustable non-trade mining fee 2016-04-06 23:26:27 +02:00
Manfred Karrer
5be80bf164 Increase simulation delay 2016-04-06 12:47:45 +02:00
Manfred Karrer
ae65561623 test update (WIP) 2016-04-06 11:38:59 +02:00
Manfred Karrer
e219331e28 Add test (WIP) 2016-04-06 11:00:42 +02:00
Manfred Karrer
7ce5beb54f Reorganize savingswallet 2016-04-06 00:28:43 +02:00
Ivan Vilata-i-Balaguer
184fc55636 Escape vertical bar when splitting seed node addresses in command line
Otherwise it is interpreted as a special regular expression character and all
characters are splitted apart, causing a ``NullPointerException`` after
further splitting on ``:``.
2016-04-05 12:45:37 +02:00
Manfred Karrer
4c0cc738e4 Add rolling backup 2016-04-05 03:31:22 +02:00
Manfred Karrer
37b31a5d0a Savings wallet (WIP) 2016-03-30 02:46:02 +02:00
Manfred Karrer
605cf27eaf Remove check for not empty seednodes (can be empty in some cases) 2016-03-20 19:23:17 +01:00
Manfred Karrer
e7967cc0e1 Add null checks 2016-03-20 19:08:37 +01:00