Jonathan Moody
|
78a28de2aa
|
Align style of generate() with generate_and_wait().
|
2022-09-08 18:13:26 -04:00 |
|
Jonathan Moody
|
a7c7ab7f7b
|
Correct the terminal height we wait for in generate().
|
2022-09-08 18:13:26 -04:00 |
|
Jonathan Moody
|
988f288715
|
Lint fix for _es_height checks.
|
2022-09-08 18:13:26 -04:00 |
|
Jonathan Moody
|
38e9b5b432
|
Wait for _es_height in addition to db_height.
|
2022-09-08 18:13:26 -04:00 |
|
Victor Shyba
|
0d6125de0b
|
add sd_hash prober
|
2022-09-07 12:03:11 -03:00 |
|
Victor Shyba
|
be06378437
|
add method for getting the node_id from a known peer on peer manager
|
2022-09-07 12:03:11 -03:00 |
|
Victor Shyba
|
d61accea1a
|
simplify bucket refresh loop
|
2022-08-11 21:14:56 -03:00 |
|
Victor Shyba
|
e887453aa5
|
remove unused last_accessed
|
2022-08-11 20:39:51 -03:00 |
|
Victor Shyba
|
c3e4f0b988
|
add 'is_bootstrap_node' conf
|
2022-08-11 20:38:42 -03:00 |
|
Victor Shyba
|
318728aebd
|
add bootstrap flag to routing table
|
2022-08-11 20:38:42 -03:00 |
|
Victor Shyba
|
d8c1aaebc2
|
routing table: mark private methods
|
2022-08-11 20:38:42 -03:00 |
|
Victor Shyba
|
d7b65c15d2
|
return none instead of raising
|
2022-08-11 20:38:42 -03:00 |
|
Victor Shyba
|
972db80246
|
move add peer logic to routing table
|
2022-08-11 20:38:42 -03:00 |
|
Victor Shyba
|
0d343ecb2f
|
simplify iterative find constructor
|
2022-08-11 20:38:42 -03:00 |
|
Lex Berezhny
|
01cd95fe46
|
v0.110.0
|
2022-08-11 10:58:16 -04:00 |
|
Lex Berezhny
|
6dc57fc02c
|
revert version
|
2022-08-11 10:20:58 -04:00 |
|
Lex Berezhny
|
10df0c1fba
|
disable Hotbit and UPBit exchange rate feeds
|
2022-08-11 10:19:54 -04:00 |
|
Lex Berezhny
|
ec751e5add
|
v0.110.0
|
2022-08-10 13:52:46 -04:00 |
|
Lex Berezhny
|
3e3974f813
|
lint
|
2022-08-08 14:55:44 -04:00 |
|
Lex Berezhny
|
ec82486e15
|
removed go hub dependency
|
2022-08-08 14:55:44 -04:00 |
|
Lex Berezhny
|
e16f6b07b8
|
revert release
|
2022-08-08 13:02:12 -04:00 |
|
Lex Berezhny
|
9a842c273b
|
v0.110.0
|
2022-08-08 08:46:32 -04:00 |
|
Lex Berezhny
|
1dc2f0458b
|
fix lint
|
2022-08-01 10:04:24 -04:00 |
|
Lex Berezhny
|
3924b28cc3
|
raise not implemented error when importing unencrypted wallet
|
2022-08-01 10:04:24 -04:00 |
|
Lex Berezhny
|
020487b6a0
|
account merge bug fix from upstream
|
2022-08-01 10:04:24 -04:00 |
|
zeppi
|
14037c9b2f
|
help string edits
|
2022-08-01 10:04:24 -04:00 |
|
zeppi
|
0cb37a5c4b
|
linting
|
2022-08-01 10:04:24 -04:00 |
|
zeppi
|
fa5f3e7e55
|
change api for data first, password optional, return (str)
|
2022-08-01 10:04:24 -04:00 |
|
zeppi
|
059890e4e5
|
wallet import export feature
|
2022-08-01 10:04:24 -04:00 |
|
Jonathan Moody
|
9654d4f003
|
Obtain "amount" from new_txo.amount when calling save_supports().
|
2022-08-01 09:10:49 -04:00 |
|
Jonathan Moody
|
956b52a2c1
|
Refactor _old_get_temp_claim_info(), eliminating "bid" arg. Obtain the value from txo.amount.
|
2022-08-01 09:10:49 -04:00 |
|
Lex Berezhny
|
2e975c8b61
|
lint
|
2022-07-26 22:18:29 -04:00 |
|
Lex Berezhny
|
656e299100
|
migrate key addresses on changed accounts after sync apply
|
2022-07-26 22:18:29 -04:00 |
|
Lex Berezhny
|
ba60aeeebc
|
migrate certificates after importing new account
|
2022-07-18 10:36:21 -04:00 |
|
Jonathan Moody
|
dc427ecf6c
|
Correct collection_update, account_fund docstrings. Regenerate api.json using generate_json_api.py.
|
2022-07-07 21:33:43 -04:00 |
|
Lex Berezhny
|
8becf1f69f
|
v0.109.0
|
2022-06-08 12:40:35 -04:00 |
|
Victor Shyba
|
582f79ba1c
|
do not consider pending blobs on disk space query
|
2022-06-08 12:25:38 -04:00 |
|
Lex Berezhny
|
fe61b90610
|
reposts can have title, description and tags
|
2022-06-08 10:35:22 -04:00 |
|
Alex Grintsvayg
|
571e71b28e
|
add tracker.lbry.grin.io
|
2022-06-06 11:29:09 -04:00 |
|
Jack Robison
|
2313d30996
|
fix reconnect test
|
2022-05-27 11:59:18 -04:00 |
|
Jack Robison
|
ac7e94c6ed
|
pylint
|
2022-05-27 09:59:11 -04:00 |
|
Jack Robison
|
ea8adc5367
|
update scribe env and fix tests
|
2022-05-27 09:58:13 -04:00 |
|
Victor Shyba
|
0ea8ba72dd
|
Env->ServerEnv from scribe changes
|
2022-05-26 14:28:33 -04:00 |
|
Victor Shyba
|
da30f003e8
|
update lbcwallet url
|
2022-05-25 12:17:57 -03:00 |
|
Victor Shyba
|
6257948ad7
|
update lbcd url
|
2022-05-25 12:17:28 -03:00 |
|
Jonathan Moody
|
e5e9873f79
|
Simplify by eliminating AsyncGenerator base and generator function. Remove any new places enforcing max_results.
|
2022-05-20 17:23:39 -04:00 |
|
Jonathan Moody
|
530f9c72ea
|
Fix lint error lbry/utils.py
|
2022-05-20 17:23:39 -04:00 |
|
Jonathan Moody
|
fad84c771c
|
Support official contextlib.aclosing() when it's available.
|
2022-05-20 17:23:39 -04:00 |
|
Jonathan Moody
|
fe07aac79c
|
Define and use lbry.utils.aclosing() in lieu of official contextlib.aclosing().
|
2022-05-20 17:23:39 -04:00 |
|
Jonathan Moody
|
91a6eae831
|
Fix lint issue in iterative_find.py.
|
2022-05-20 17:23:39 -04:00 |
|
Jonathan Moody
|
5852fcd287
|
Don't wait on running_tasks after cancel(). Sometimes a CancelledError exception is received, which is unhelpful, and complicates shutting down the generator.
|
2022-05-20 17:23:39 -04:00 |
|
Jonathan Moody
|
4767bb9dee
|
Wrap "async for" over IterativeXXXFinder in try/finally ensuring aclose().
|
2022-05-20 17:23:39 -04:00 |
|
Jonathan Moody
|
82d7f81f41
|
Correct call to _aclose() in response to TransportNotConnected.
|
2022-05-20 17:23:39 -04:00 |
|
Jonathan Moody
|
b036961954
|
Tighten up IterativeFinder logic to respect max_records better, and wait after task cancel().
Also make IterativeFinder a proper AsyncGenerator. This gives it an offically recognized aclose() method and could help with clean finalization.
|
2022-05-20 17:23:39 -04:00 |
|
Victor Shyba
|
4ab29c4d5f
|
tests: fix hub url
|
2022-05-20 16:50:09 -03:00 |
|
Victor Shyba
|
03b0d5e250
|
tracker client: extract default timeout and concurreny. Bump concurrency to 100
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
629812337b
|
changes from review
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
e54cc8850c
|
return KademliaPeers directly into the queue instead of exposing Announcement abstraction
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
7cba51ca7d
|
update tests, query with port 0, filter bad ports earlier, make unit tests more reliable
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
3dc145fe68
|
make peer list query trackers
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
7d560df9fd
|
use same arg name as overriden datagram_received (linting)
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
235cc5dc05
|
results are indexed by ip, setdefault after resolve
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
c276053301
|
move server implementation to tracker module
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
2e85e29ef1
|
peer id PREFIX is a constant
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
1169a02c8b
|
make client server updatable from conf
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
a7cea4082e
|
tracker:log DNS errors as warning instead of trace
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
7e6ea97499
|
make peer id according to BEP20
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
3c46cc4fdd
|
expire connection id quicker as some trackers have it set low
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
6e5c7a1927
|
use cache_concurrent to avoid requesting the same connection_id multiple times
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
4e09b35012
|
remove unused import and dead code
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
16a2023bbd
|
stop tasks before removing transport
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
99fc7178c1
|
better way to batch announce + handle different intervals for different trackers
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
d4aca89a48
|
handle multiple results from multiple trackers
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
2918d8c7b4
|
tracker component is running only if the task is alive
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
407c570f8b
|
tests: lower timeout, add test with bad and good mixed
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
0e4f1eae5b
|
reduce timeout to 10, fix lints
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
eccf0e6234
|
fix reusing result interval from failed expired attempt
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
a3da041412
|
fix exceptions on shutdown, stop using cancel_tasks
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
2f1617eee4
|
less verbose on timeouts, dont count timeouts, fix stop
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
05124d41ae
|
only log when really announcing, stop counting cached ones
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
42fd1c962e
|
stop tracker tasks on shutdown
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
47e432b4bb
|
make it less verbose, only log after all events are fired
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
61c99abcf1
|
avoid readding the same hash when tracker is busy with too many files
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
28fdd62945
|
move concurreny control to lower layer
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
3855db6c66
|
pause announcer for 1 minute each round
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
30acde0afc
|
at most 10 announces concurrently
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
2d9c5742c7
|
cache results, save interval on tracker
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
43e50f7f04
|
fix subscribe_hash
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
888e9918a6
|
improve timeout handling
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
9e9a64d989
|
evented system for tracker announcements
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
7acaecaed2
|
managed_stream: remove unused imports
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
2344aca146
|
fix component property
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
7b425eb2ac
|
add tracker announcer component
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
30e8728f7f
|
use tracker on download
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
3989eef84b
|
return whole announcement so the caller knows the interval
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
dc6f8c4fc4
|
add arg to announce stopped, removing the announcement
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
2df8a1d99d
|
make a helper function to announce
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
4ea858fdd3
|
add new conf: tracker_servers
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
006391dd26
|
move udp server to test file, add link to BEP15
|
2022-05-11 21:13:29 -03:00 |
|
Victor Shyba
|
4a0bf8a702
|
add torrent udp tracker client, server and tests
|
2022-05-11 21:13:29 -03:00 |
|