Victor Shyba
318728aebd
add bootstrap flag to routing table
2022-08-11 20:38:42 -03:00
Lex Berezhny
656e299100
migrate key addresses on changed accounts after sync apply
2022-07-26 22:18:29 -04: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
c276053301
move server implementation to tracker module
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
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
407c570f8b
tests: lower timeout, add test with bad and good mixed
2022-05-11 21:13:30 -03:00
Victor Shyba
e299a9c159
tests: multiple trackers, simple case
2022-05-11 21:13:30 -03:00
Victor Shyba
cc4a578578
tests: add support for multiple trackers
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
9e9a64d989
evented system for tracker announcements
2022-05-11 21:13:30 -03:00
Victor Shyba
758f9deafe
fix unit tests
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
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
Lex Berezhny
a3d9d5bce7
fix transaction unit test
2022-04-08 11:05:45 -04:00
Lex Berezhny
94bf357817
cleanup paths
2022-04-08 10:56:18 -04:00
Daniel Krol
eca69391ef
Add wallet json-schema, validate in one test.
2022-04-08 10:56:18 -04:00
Lex Berezhny
84ef52cf4d
fix redeem scripthash test
2022-04-08 10:11:11 -04:00
Lex Berezhny
ae79314869
wip
2022-04-08 09:57:15 -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
200761ff13
make added_on a required parameter on BlobInfo, fix callers
2022-03-24 19:51:48 -03:00
Victor Shyba
aac72fa512
fix bug where recovery doesnt update blob status
2022-03-21 21:33:33 -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
1aa4d9d585
simplify, genaralize to any size and fix tests
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
03b59ac6fc
dont set head blob to announce on save
2022-02-20 22:33:57 -03:00
Eugene Dubinin
9b463a8cab
adds tests for guess_media_type
...
removes unnecessary comments
2022-01-29 20:49:42 +02:00
Lex Berezhny
c80b30f070
test another signed claim by ytsync
2021-12-22 18:29:46 -05:00
Lex Berezhny
569f1d42b1
fix tests
2021-12-22 18:29:46 -05:00
Lex Berezhny
1eaa195363
reduced crypto dependency in wallet to coincurve
2021-12-22 18:29:46 -05:00
Lex Berezhny
d815a6f02c
use ecdsa for signing/veryfing instead of coincurve due to compatibility issues
2021-12-22 18:29:46 -05:00
Lex Berezhny
8216f4a873
work in progress
2021-12-22 18:29:46 -05:00
Lex Berezhny
e4cc4521d9
channel key generation no longer arbitrarily bounded
2021-12-22 18:29:46 -05:00
Victor Shyba
510b44ca92
move more logic out of the downloader component
2021-11-09 14:27:06 -05:00
Victor Shyba
95b2c8d175
cleanup background downloader blobs from conf
2021-11-09 14:27:06 -05:00
Victor Shyba
4f1dc29df1
fix unit tests from component dependency chain changes
2021-11-09 14:27:06 -05:00
Victor Shyba
c7ba637c7d
fix tests
2021-11-09 14:27:06 -05:00
Cristian Vicas
42c4fc7557
Bug [ #2070 ] where blob_get RPC timed out.
...
Both stream.downloader and blob_exchange.downloader paths are adding the fixed_peers list to the DHT node.
Tested jsonrpc_blob_get daemon call.
Bug [#2070 ] where blob_get RPC timed out.
Both stream.downloader and blob_exchange.downloader paths are adding the fixed_peers list to the DHT node.
Tested jsonrpc_blob_get daemon call.
2021-11-08 10:49:48 -05:00
Lex Berezhny
ff21a92330
Merge pull request #3457 from FemtosecondLaser/feature/3270-check-default-download-dir-writable
...
Modified ensure_directory_exists() to check if the directory is writable by the process.
2021-10-27 11:00:13 -04:00
FemtosecondLaser
d87f9672fa
Improved the readability of the tests.
2021-10-23 13:12:49 +01:00
FemtosecondLaser
2b5838aa01
Changed the tests to execute against a real file system instead of a fake one.
2021-10-23 02:52:58 +01:00
FemtosecondLaser
837f91d830
renamed the test class to be more specific about the sut
2021-10-21 00:31:02 +01:00
FemtosecondLaser
9c5f5aefb0
removed redundant tests
...
renamed a test to be more specific about the kind of the precondition
2021-10-21 00:27:31 +01:00
FemtosecondLaser
6b8d4a444b
Modified ensure_directory_exists() to check if the directory is writable by the process.
2021-10-20 15:26:16 +01:00