Commit Graph

956 Commits (475a50c9c127082f7b6bdf21b4405bdbeced68d9)

Author SHA1 Message Date
Zlatin Balevsky efae38a400
make sure hosts with successful attempts can be advertised 2020-10-21 06:10:14 +01:00
Zlatin Balevsky 38bf4f2ea2
start with optimistic profile if received from hostcache or a new successful connection has been made 2020-10-21 05:46:32 +01:00
Zlatin Balevsky 768673e979
purging of hopeless hosts 2020-10-21 05:21:32 +01:00
Zlatin Balevsky 07a87e6257
fix predicate 2020-10-21 04:06:00 +01:00
Zlatin Balevsky 2574f27fe8
Add determination of hopelessness, advertisability to hosts. Fix MuWire status panel 2020-10-21 03:57:45 +01:00
Zlatin Balevsky 6806542808
proper calculation of probabilities 2020-10-20 20:12:54 +01:00
Zlatin Balevsky 68f00042c6
fix toString 2020-10-20 20:12:37 +01:00
Zlatin Balevsky ae45570005
delete history of attempts when threshold reached, log profile probabilities 2020-10-20 19:46:32 +01:00
Zlatin Balevsky cc8e6e312b
update DB2CSV tool to export profiles 2020-10-20 19:15:57 +01:00
Zlatin Balevsky 5e1a796663
fix up sql 2020-10-20 19:02:49 +01:00
Zlatin Balevsky a4e2d28072
fix table and column names 2020-10-20 18:39:04 +01:00
Zlatin Balevsky b1f58b0948
add optimistic profiles to newly discovered hosts 2020-10-20 18:15:10 +01:00
Zlatin Balevsky a725837769
use the Markov chain in the hostcache 2020-10-20 18:11:04 +01:00
Zlatin Balevsky dd967cc0f0
wip on Markov chain 2020-10-20 16:46:30 +01:00
Zlatin Balevsky e5adcd181f
update test 2020-10-20 16:45:39 +01:00
Zlatin Balevsky 8798e83ab7
wip on Markov chain 2020-10-20 16:19:36 +01:00
Zlatin Balevsky 315f29c668
invert probability 2020-10-20 15:15:39 +01:00
Zlatin Balevsky 3b10640904
first pass at a Markov chain 2020-10-20 15:14:17 +01:00
Zlatin Balevsky 9389fbbc12
increase batch size 2020-10-20 10:05:37 +01:00
Zlatin Balevsky 0873d472e8
pass browse UUID from UI for correct dispatching. Allow multiple concurrent browses 2020-10-20 06:02:22 +01:00
Zlatin Balevsky ffc7f1748a
fix conversion logic 2020-10-19 17:43:05 +01:00
Zlatin Balevsky 798125e645
csv conversion tool 2020-10-19 17:14:56 +01:00
Zlatin Balevsky 52fb67b35c
use Timestamp intead of java.sql.Date 2020-10-19 17:14:37 +01:00
Zlatin Balevsky a7d25a1b75
verify hosts every hour, record results in db 2020-10-19 16:49:19 +01:00
Zlatin Balevsky 1ed74768fb
fix assignment 2020-10-18 19:48:45 +01:00
Zlatin Balevsky 7dd47c6fcb
better filtering of candidate hosts 2020-10-18 19:13:04 +01:00
Zlatin Balevsky 749bfaa532
more plumbing 2020-10-18 18:54:33 +01:00
Zlatin Balevsky 84f6091935
more of the plumbing for using DB/ML 2020-10-18 18:05:28 +01:00
Zlatin Balevsky 4a261ed724
split HostCache into base class and SimpleHostCache. Skeleton of H2HostCache. 2020-10-18 16:38:30 +01:00
Zlatin Balevsky 16c755e6c6
Release 0.7.7 2020-10-16 08:06:09 +01:00
Zlatin Balevsky 5bddfc10e9
assume all persisted sources were successful 2020-10-12 14:54:55 +01:00
Zlatin Balevsky 9fc2a0c4c5
show total up & down speeds 2020-10-11 17:42:47 +01:00
Zlatin Balevsky fca3478698
make excludePeerCaps configurable by the user, exclude KLMNO by default 2020-10-11 15:49:16 +01:00
Zlatin Balevsky e5815bed88
reuse header parsing code 2020-10-11 15:34:16 +01:00
Zlatin Balevsky 8f923ec06e
do not steal pieces from already queued requests 2020-10-11 15:32:56 +01:00
Zlatin Balevsky d4eb8631d0
check for updates later 2020-10-11 14:12:47 +01:00
Zlatin Balevsky 9e3a9e2737
Send browse results to UI in batches. Github issue #49 2020-10-10 16:18:50 +01:00
Zlatin Balevsky 45c2bec0ad
Release 0.7.6 2020-10-09 18:31:09 +01:00
Zlatin Balevsky ef34291124
use the new bandwidth tracker for downloads as well 2020-10-07 08:17:12 +01:00
Zlatin Balevsky 7cbf466b9b
move bandwidth smoothing logic in its own class, use it in uploader 2020-10-07 07:51:45 +01:00
Zlatin Balevsky 3e188f5d4a
Implement variable length request queue, size based on piece size 2020-10-06 22:49:46 +01:00
Zlatin Balevsky fdf3a46ad4
rework the upload speed smoothing to persist across requests 2020-10-06 20:28:00 +01:00
Zlatin Balevsky 56e02c4981
do not update speed reading if the sampling is too frequent 2020-10-06 20:25:56 +01:00
Zlatin Balevsky cac3ff0bcf
flush only the first GET request, let the passive flusher do the subsequent ones 2020-10-06 18:51:26 +01:00
Zlatin Balevsky ef71a42dd4
rewrite the smoothing of download speed 2020-10-06 17:47:26 +01:00
Zlatin Balevsky 0046694173
ignore InterruptedExceptions in chat links 2020-10-06 15:14:05 +01:00
Zlatin Balevsky e1ebb2208c
fix race condition that would cause new connections to stop being established 2020-10-06 12:38:31 +01:00
Zlatin Balevsky 034e706d17
Release 0.7.5 2020-10-05 07:03:18 +01:00
Zlatin Balevsky a8c91d4a3c
update unit test 2020-10-05 00:19:40 +01:00
Zlatin Balevsky 4b8e1705d8
pipeline download requests 2020-10-04 23:45:59 +01:00
Zlatin Balevsky 8dfb5cbd84
double ping interval 2020-10-04 13:05:00 +01:00
Zlatin Balevsky 72985bacb6
add ability to disable updates completely, intended for 3rd party packaging 2020-09-26 17:53:29 +01:00
Zlatin Balevsky 3387d22a6c
remove HOPELESS downloads from the download list via an event 2020-09-26 17:10:24 +01:00
Zlatin Balevsky 10bd566d58
Release 0.7.4 2020-09-25 16:51:40 +01:00
Zlatin Balevsky 964e315367
add a hopeless state for a download where all sources are hopeless 2020-09-23 14:17:40 +01:00
Zlatin Balevsky 140231e362
Give up on download sources after a number of attempts 2020-09-23 14:00:52 +01:00
Zlatin Balevsky c73a821c67
put verified sources in the responder cache as well 2020-09-23 11:30:20 +01:00
Zlatin Balevsky 0ebe00b526
reduce hopeless interval to 1hr and purge interval to 24hrs 2020-09-22 16:08:17 +01:00
Zlatin Balevsky b2a3bfce54
make sure we have the Persona of the altloc 2020-09-22 16:07:18 +01:00
Zlatin Balevsky c490a511bd
distinguish between discovered sources and verified sources. Only propagate and persist verified sources 2020-09-22 13:34:49 +01:00
Zlatin Balevsky cbaa3470d2
make responder cache size configurable 2020-09-22 12:17:27 +01:00
Zlatin Balevsky 84d61fccd5
cache recent responders and always forward queries to them. Thanks to qtm for the idea 2020-09-21 15:28:15 +01:00
Zlatin Balevsky a88db8f50f
FixedSizeFIFOSet 2020-09-21 15:13:44 +01:00
Zlatin Balevsky 5a38154e15
make sure the pongs uuid matches the last sent ping uuid 2020-09-20 18:42:26 +01:00
Zlatin Balevsky e5891de136
send and read up to 2 hosts per pong 2020-09-20 18:26:29 +01:00
Zlatin Balevsky 1e729bae1c
implement forgetting of hopeless hosts after some time 2020-09-20 17:49:07 +01:00
Zlatin Balevsky 3e6e0c7e9f
cache calls to System.currenTimeMillis() 2020-09-20 17:34:28 +01:00
Zlatin Balevsky 44af23c162
restrict forwarding of queries to sqrt of neighboring connections. Thanks to 'qtm' for the idea 2020-09-19 17:28:19 +01:00
Zlatin Balevsky a262c99efe
reduce limit on peer connections 2020-09-19 17:16:36 +01:00
Zlatin Balevsky 9eff723dd3
Release 0.7.3 2020-09-18 18:44:15 +01:00
Zlatin Balevsky 944cb29901
show error messages if the command is not in the appropriate room 2020-09-18 18:15:15 +01:00
Zlatin Balevsky f20b23434f
one more 2020-09-18 16:13:23 +01:00
Zlatin Balevsky 8d523a6265
update to api 2020-09-18 15:56:39 +01:00
Zlatin Balevsky 38b9ab5200
gui browse/feed/chat actions from upload table 2020-09-18 15:42:35 +01:00
Zlatin Balevsky f6fdf9e33f
parse browse/feed/chat headers on the uploader side 2020-09-18 14:59:58 +01:00
Zlatin Balevsky b729a89672
Advertise browse/feed/chat abilities in download headers 2020-09-18 14:50:49 +01:00
Zlatin Balevsky e531093b28
do not try to connect to hopeless hosts 2020-09-17 19:58:36 +01:00
Zlatin Balevsky b18772465c
limit the number of hosts read from each pong 2020-09-17 16:19:48 +01:00
Zlatin Balevsky 20aac03789
send an uuid with pings and echo it in pongs 2020-09-17 16:11:32 +01:00
Zlatin Balevsky 4cdb383b9f
fix minutes-to-milliseconds conversion of feed update interval in desktop gui. Make default feed update interval one hour 2020-09-16 14:37:08 +01:00
Zlatin Balevsky 9c6f6bf266
Make number of connections for ultrapeer a property 2020-09-16 12:30:41 +01:00
Zlatin Balevsky 31e0962b73
fix test target by excluding testng dependency 2020-09-14 14:38:12 +01:00
Zlatin Balevsky 253603cac7
add a log statement for infohash parsing 2020-09-12 14:37:54 +01:00
Zlatin Balevsky fec042ec36
check if watched directories disappeared while MW was down 2020-09-04 14:44:04 +01:00
Zlatin Balevsky af218a369c
migrate to groovy 3.0.4 2020-06-01 13:40:28 +01:00
Zlatin Balevsky f0aaa83b7f
clean up most of noise on console when running without a log file 2020-06-01 13:14:33 +01:00
Zlatin Balevsky c25546e1e1
Release 0.7.1 2020-05-29 12:06:53 +01:00
Zlatin Balevsky eb242b0889
reduce default speed smoothing interval 2020-05-29 11:14:56 +01:00
Zlatin Balevsky bf28278f72
Release 0.7.0 2020-05-26 19:03:05 +01:00
Zlatin Balevsky 6462675091
enable dual keys 2020-05-26 19:01:31 +01:00
Zlatin Balevsky 2fbab55f68
remove references to tunnelName variable 2020-05-25 19:44:50 +01:00
Zlatin Balevsky ec41985d31
Release 0.6.15 2020-05-17 22:36:08 +01:00
zzz 61340f346a
Signature must be constructed with the sigtype of the signing key 2020-05-10 06:26:35 -04:00
Zlatin Balevsky 992daa1e45
size limit on nicknames 2020-05-10 09:51:56 +01:00
Zlatin Balevsky 3b825263a7
Make the random port selection range match that of the I2P router 2020-05-08 17:37:06 +01:00
Zlatin Balevsky e1bf6c0821
prevent invalid characters in searchers of persisted files from breaking the loading process. Related to GitHub issue #45 2020-05-08 17:33:57 +01:00
Zlatin Balevsky a6eca11479
Release 0.6.14 2020-05-07 13:39:17 +01:00
Zlatin Balevsky 3116e20c7c
Fix i2np port change on every restart, github issue #45 2020-05-07 03:12:09 +01:00
Zlatin Balevsky d18cdb15cd
disallow certain characters in nicknames 2020-05-06 11:39:08 +01:00
Zlatin Balevsky 564db3473c
publish core to local maven repo 2020-05-05 16:01:23 +01:00