zeppi
|
b21c71a420
|
cleanup
|
2022-03-24 19:05:24 -04:00 |
|
zeppi
|
c8aa73a5d6
|
wip
|
2022-03-24 18:41:29 -04:00 |
|
zeppi
|
a24fbf81d7
|
es should fix
|
2022-03-24 18:07:22 -04:00 |
|
Lex Berezhny
|
ca4ba19a5e
|
fixes #3577
|
2022-03-13 20:42:34 -04:00 |
|
Victor Shyba
|
f05943ff79
|
implement announcer as a consumer task on gather
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
7ded8a1333
|
make active an explicit ordered dict
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
c2478d4add
|
remove unused search rounds
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
8b1009161a
|
better representation of kademliapeer on debug logs
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
868a620e91
|
add a way to wait announcements to finish so tests are reliable
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
a0e34b0bc8
|
make timeout handler immune to asyncio time tricks
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
612dbcb2f3
|
allow running some extra probes for k replacements
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
b3614d965d
|
remove all references to bottoming out
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
5d7137255e
|
no stop condition, let it exhaust
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
6ff867ef55
|
bottoming out is now warning and no results for peer search
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
c14915df29
|
don't probe peers too far from the top closest
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
7d4966e2ae
|
use a dict for the active queue
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
3876e0317d
|
log bottom out of peer search in debug, show short key id for find value
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
0b2b10f759
|
bump bottom out limit of peer search so people can use 100 concurrent announcers
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
9a79b33664
|
wait until k peers are ready. do not double add peers
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
af1a6edd15
|
only return good (contacted) peers
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
b78929f4d5
|
reset closest peer on failure
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
fb6e342043
|
add peers from shortlist regardless, but check from other nodes
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
0faa2d35da
|
bump split index to 2
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
511e57c231
|
fix distance sorting and improve logging
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
d762d675c4
|
closest peer is only ready when it was contacted and isn't known to be bad
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
3fdadee87c
|
dont probe and ignore bad peers
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
1aa4d9d585
|
simplify, genaralize to any size and fix tests
|
2022-02-28 13:06:51 -03:00 |
|
Victor Shyba
|
8019f4bdb3
|
stop after finding what to download
|
2022-02-28 13:06:51 -03:00 |
|
Victor Shyba
|
ca65c1ebc5
|
replace duplicated code
|
2022-02-28 13:06:51 -03:00 |
|
Victor Shyba
|
f0e47aae86
|
add get_colliding_prefix_bits, docs and tests
|
2022-02-28 13:06:51 -03:00 |
|
Victor Shyba
|
dc7cd545ba
|
extract method and avoid using hash builtin name
|
2022-02-28 13:06:51 -03:00 |
|
Victor Shyba
|
76bd59d82e
|
extract min_prefix_colliding_bits to a contanst
|
2022-02-28 13:06:51 -03:00 |
|
Victor Shyba
|
461687ffb4
|
check that the stored blob is at least 1 prefix byte close to peer id
|
2022-02-28 13:06:51 -03:00 |
|
Victor Shyba
|
dd5b9ca81b
|
add migrator to set head blobs should_announce=0
|
2022-02-20 22:33:57 -03:00 |
|
Victor Shyba
|
ec0d9f06c5
|
do not search for the head blob
|
2022-02-20 22:33:57 -03:00 |
|
Victor Shyba
|
03b59ac6fc
|
dont set head blob to announce on save
|
2022-02-20 22:33:57 -03:00 |
|
Victor Shyba
|
43ac3336d7
|
break tie by length
|
2022-02-20 22:24:04 -03:00 |
|
Victor Shyba
|
d12c78db74
|
fix and test case for blob_clean after disabling network storage
|
2022-02-20 22:24:04 -03:00 |
|
Victor Shyba
|
bb60c385d5
|
put back all the peers, get rid of re_add
|
2022-02-08 21:41:52 -03:00 |
|
Alex Grintsvayg
|
7c7a0d4bdf
|
let stream_update work on non-stream claims
|
2022-02-08 09:28:17 -05:00 |
|
Jeffrey Picard
|
e0ea6383e2
|
Update __init__.py
Update go hub binary to fix es sync test.
|
2022-02-04 12:17:19 -05:00 |
|
Lex Berezhny
|
cba9c16a06
|
fix
|
2022-02-04 12:07:41 -05:00 |
|
Lex Berezhny
|
dd68fb077b
|
prevent creation of change which is below the dust threshold of 1000 dewies
|
2022-02-04 12:07:41 -05:00 |
|
Victor Shyba
|
c0f512ace7
|
bump DHT peer manager cache to 16384
|
2022-02-02 16:54:42 -03:00 |
|
Victor Shyba
|
c9d637b4da
|
add gauge for queue size
|
2022-02-02 11:56:42 -03:00 |
|
Victor Shyba
|
ae3e8fadf5
|
count announcements and how many peers we were able to announce to
|
2022-02-02 11:56:42 -03:00 |
|
Eugene Dubinin
|
9b463a8cab
|
adds tests for guess_media_type
removes unnecessary comments
|
2022-01-29 20:49:42 +02:00 |
|
Eugene Dubinin
|
babc54a240
|
adjusts code style
|
2022-01-29 15:25:17 +02:00 |
|
Eugene Dubinin
|
5836a93b21
|
fixes KeyError on missing synonyms
|
2022-01-29 15:25:17 +02:00 |
|
Eugene Dubinin
|
557348e345
|
detect media_type from the file contents
|
2022-01-29 15:25:17 +02:00 |
|