AlessandroSpallina
|
96490fdb15
|
Merge branch 'master' into master
|
2022-03-29 13:50:57 +02:00 |
|
Victor Shyba
|
5a0c225c6f
|
v0.107.0
|
2022-03-28 15:56:06 -03:00 |
|
Lex Berezhny
|
c3e524cb8b
|
Merge pull request #3588 from lbryio/scribe
move `lbry.wallet.server` to new project called `scribe`, switch from using `lbrycrd` to `lbcd` in integration tests
|
2022-03-28 00:14:54 -04:00 |
|
Jack Robison
|
9faf6e46ca
|
move lbry.wallet.server to new project called scribe
switch from using lbrycrd to lbcd
|
2022-03-27 23:33:26 -04:00 |
|
Victor Shyba
|
e89acac235
|
Merge pull request #3585 from lbryio/fix_blob_db_queries
Fixes bugs on disk space management and stream recovery
|
2022-03-24 21:01:14 -03:00 |
|
Victor Shyba
|
200761ff13
|
make added_on a required parameter on BlobInfo, fix callers
|
2022-03-24 19:51:48 -03:00 |
|
Victor Shyba
|
cb78e95e3d
|
add missing space on query, typo
|
2022-03-23 13:40:01 -03:00 |
|
AlessandroSpallina
|
f01cf98d62
|
fix #3530 added error log when tcp port is already in use
|
2022-03-22 17:17:41 +01:00 |
|
Victor Shyba
|
c9c2495611
|
if a blob file exists but is pending on db, fix on startup
|
2022-03-21 21:58:36 -03:00 |
|
Victor Shyba
|
aac72fa512
|
fix bug where recovery doesnt update blob status
|
2022-03-21 21:33:33 -03:00 |
|
Victor Shyba
|
c5e2f19dde
|
fix bug where added_on is always 0 for downloads
|
2022-03-21 04:38:51 -03:00 |
|
Victor Shyba
|
34bd9e5cb4
|
exclude sd blobs from calculation and make them be picked last on removal
|
2022-03-21 04:26:27 -03:00 |
|
Lex Berezhny
|
ad489ed606
|
Merge pull request #3581 from lbryio/deterministic_channel_keys_post_unlock
eagerly load deterministic channel keys immediately after wallet is unlocked
|
2022-03-14 12:36:04 -04:00 |
|
Lex Berezhny
|
bb541901d9
|
fix tests
|
2022-03-13 21:30:38 -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
|
f69747bc89
|
timeout is now supported on dht tests
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
441cc950aa
|
fix and enable test_blob_announcer
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
a76a0ac8c4
|
simplify dht mock and restore clock after accelerating
|
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
|
89ed04f8a7
|
fix test_announces
|
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 |
|