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
bfcb37c23f
Merge pull request #406 from ivilata/SeedNodeMonitor
...
Seed node monitor
2016-04-28 17:15:52 +02:00
Ivan Vilata-i-Balaguer
826a28a7eb
Raise maximum memory in seed node cron script
...
It seems to reach 350M easily.
2016-04-27 11:18:28 +02:00
Ivan Vilata-i-Balaguer
12f5317fac
Raise maximum connections in seed node init script
2016-04-27 11:17:40 +02:00
Ivan Vilata-i-Balaguer
c94f88a6b5
Update init and cron script references to v0.4.4 (first official beta)
2016-04-27 11:15:44 +02:00
Ivan Vilata-i-Balaguer
0fa63bc64d
Add instructions to setup monitor script
2016-04-27 11:14:12 +02:00
Ivan Vilata-i-Balaguer
479ad24501
Add monitor script to check for seed node connectivity and report issues
2016-04-27 11:01:49 +02:00
Manfred Karrer
d57fbdeca7
Merge pull request #391 from ivilata/InitAndCronScripts
...
Init and cron scripts
2016-04-21 13:51:16 +02:00
Ivan Vilata-i-Balaguer
e2653350c7
Lowering max RSS to trigger restart of seed node daemon
...
We haven't seen it get 512M, bt it seems to stabilise around 300M, so leave a
little room more.
2016-04-21 13:27:00 +02:00
Ivan Vilata-i-Balaguer
31aa5aa2c0
Add document on running a seed node as a daemon in a GNU/Linux server
2016-04-21 13:13:59 +02:00
Ivan Vilata-i-Balaguer
f58a0a2e1f
Add Cron script to watch seed node memory usage in GNU/Linux server
2016-04-21 13:12:49 +02:00
Ivan Vilata-i-Balaguer
9df0e577f7
Add init script for seed node in GNU/Linux server
2016-04-21 13:12:17 +02:00
Manfred Karrer
9f224dcac3
Merge pull request #388 from ivilata/ReviewNetworkCode
...
Review network code
2016-04-20 12:55:42 +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
1db81e3177
More informative warning messages, use constant for number of kept backups
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
0068ffa416
Some descriptive comments (not JavaDoc) to task classes
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
9bbf1f0e78
Merge branch 'master' into Development
2016-04-19 12:24:33 +02:00
Manfred Karrer
613c80082a
Increase take offer timeout
2016-04-19 12:24:11 +02:00
Manfred Karrer
565557b251
Fix wrong % calculation
2016-04-18 13:36:44 +02:00
Manfred Karrer
48ee5e7a9e
Cleanup
2016-04-18 00:25:46 +02:00
Manfred Karrer
ac6cad3ce0
Prepare v 0.4.3
2016-04-18 00:25:25 +02:00
Manfred Karrer
605e9288e4
change data version for v0.4.2
2016-04-17 22:10:42 +02:00
Manfred Karrer
fbc145e755
v0.4.2
2016-04-17 21:44:00 +02:00
Manfred Karrer
b6f368c1ec
Add eht dummy account
2016-04-17 20:49:38 +02:00
Manfred Karrer
b889e9dc14
Allow restore from seednode if wallet is not empty
2016-04-17 20:39:20 +02:00
Manfred Karrer
6726504bd0
Fix bug with too early removing address entries
2016-04-17 19:59:39 +02:00
Manfred Karrer
effea1f6b6
Fix dispute payout label
2016-04-17 19:57:24 +02:00
Manfred Karrer
5c3891fbe6
Improve wording
2016-04-17 19:32:40 +02:00
Manfred Karrer
822f64b13b
Improve UI
2016-04-17 17:43:37 +02:00
Manfred Karrer
be05a52e40
increase max size for attachments
2016-04-17 17:42:28 +02:00
Manfred Karrer
e671779414
Fix null pointers, use short id for payment request
2016-04-17 16:36:06 +02:00
Manfred Karrer
e0598ef050
move locked funds to available for failed trades
2016-04-17 15:59:22 +02:00