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
24eb189b7f
skip component on test cli
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
Victor Shyba
fd73412f12
test_exchange_rate_manager: bump value
2022-05-11 20:28:06 -03:00
Lex Berezhny
63cef81015
fix scribe server version test
2022-04-08 13:22:51 -04:00
Lex Berezhny
9279865078
add sleep to transaction show test per jack suggestion
2022-04-08 12:59:25 -04:00
Lex Berezhny
fba7fc7aba
fix scribe server version test
2022-04-08 12:53:19 -04: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
16eb50a291
working jsonrpc_account_deposit
2022-04-08 09:57:15 -04:00
Lex Berezhny
ae79314869
wip
2022-04-08 09:57:15 -04:00
Lex Berezhny
0cbc514a8e
account_deposit command added which accepts time locked TXs
2022-04-08 09:57:15 -04:00
Lex Berezhny
5777f3e15c
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
cb78e95e3d
add missing space on query, typo
2022-03-23 13:40:01 -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
Lex Berezhny
bb541901d9
fix tests
2022-03-13 21:30:38 -04: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
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
89ed04f8a7
fix test_announces
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
d12c78db74
fix and test case for blob_clean after disabling network storage
2022-02-20 22:24:04 -03:00
Alex Grintsvayg
7c7a0d4bdf
let stream_update work on non-stream claims
2022-02-08 09:28:17 -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
Eugene Dubinin
9b463a8cab
adds tests for guess_media_type
...
removes unnecessary comments
2022-01-29 20:49:42 +02:00
Lex Berezhny
3a496902f8
wallet locking/unlocking no longer breaks deterministic channel keys
2022-01-24 09:45:08 -05:00
Lex Berezhny
aaa11c02bf
added integration test
2022-01-10 08:46:10 -05:00
Victor Shyba
5f5f39a4aa
enable and test prefix search for sd hash
2022-01-05 17:10:31 -03:00
Victor Shyba
0439616480
add test
2022-01-05 17:10:31 -03:00
Lex Berezhny
c80b30f070
test another signed claim by ytsync
2021-12-22 18:29:46 -05:00
Lex Berezhny
486d5c48b0
takeover tests fix
2021-12-22 18:29:46 -05:00
Lex Berezhny
4822792ee2
create nondetermnistic channel in test to replicate old test behavior
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
d33086c8f7
deleted extraneous test
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
Lex Berezhny
6bd9b3744d
progress, channel keys generate deterministically now
2021-12-22 18:29:46 -05:00
Lex Berezhny
f741b00768
progress on deterministic channel keys
2021-12-22 18:29:46 -05:00
Jeffrey Picard
1b322dc404
Update protobufs, go hub shim, and claim test.
2021-12-03 13:03:00 -05:00
Jack Robison
0d3ca80008
support lists of constraints for all range fields
2021-12-03 13:03:00 -05:00
Victor Shyba
e7458edb72
test case for stream_type search on claims missing source + fix
2021-12-01 18:42:47 -05:00
Brendon J. Brewer
3f6fe995b8
Rename trending
2021-11-16 10:59:10 -05:00
Jack Robison
54b522383a
improve tests
2021-11-15 00:58:18 -05:00
Jack Robison
90a7de3b5c
improve resolve tests
2021-11-15 00:58:18 -05:00
Jack Robison
85eddd2100
fix effective amount for resolve/ES being off while claims/supports are unactivated
2021-11-15 00:58:18 -05:00
Jack Robison
f5f8775c59
fix test_colliding_short_id
2021-11-10 13:02:28 -03:00
Victor Shyba
fa2ad88cc4
clear cache on test assertions
2021-11-09 14:27:06 -05:00
Victor Shyba
d6d0ebf8f4
cache space stats from running components so status is instant
2021-11-09 14:27:06 -05:00
Victor Shyba
1ff914a6f4
download from stored announcements and dont reannounce
2021-11-09 14:27:06 -05:00
Victor Shyba
5959b1be72
improve disk space manager status, include more info and unify space queries
2021-11-09 14:27:06 -05:00
Victor Shyba
d12a214c05
normal_blobs->stream_blobs, proactive->background
2021-11-09 14:27:06 -05:00
Victor Shyba
3a83052f2e
fix free space calculation, test it and give a margin of 10mb before starting so it doesnt insist when full
2021-11-09 14:27:06 -05:00
Victor Shyba
510b44ca92
move more logic out of the downloader component
2021-11-09 14:27:06 -05:00
Victor Shyba
b39c26fc86
announce orphan blobs manually, as that was done when save stream
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
d52748b09f
separated network seeding space metrics
2021-11-09 14:27:06 -05:00
Victor Shyba
34d18a3a9a
don't save streams for network blobs and bypass disk space manager
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
13667df374
download from DHT
2021-11-09 14:27:06 -05:00
Victor Shyba
8800d6985f
drop channel support, prepare to hook into DHT
2021-11-09 14:27:06 -05:00
Victor Shyba
364b8f2605
handle case where something that isn't a sd blob gets hit
2021-11-09 14:27:06 -05:00
Victor Shyba
67b9ea9deb
no api yet
2021-11-09 14:27:06 -05:00
Victor Shyba
b78f2336a7
download only blobs
2021-11-09 14:27:06 -05:00
Victor Shyba
c7ba637c7d
fix tests
2021-11-09 14:27:06 -05:00
Victor Shyba
8f88e28e50
test add/remove/list subscriptions
2021-11-09 14:27:06 -05:00
Victor Shyba
9cf6139557
fix and test main api
2021-11-09 14:27:06 -05:00
Victor Shyba
d556065a8b
download all blobs and check that on tests
2021-11-09 14:27:06 -05:00
Victor Shyba
951716f7dc
create downloader component and initial tests
2021-11-09 14:27:06 -05:00
Victor Shyba
1ddc7ddda3
with the fix we no longer need to restart the stream
2021-11-08 10:50:47 -05:00
Victor Shyba
903ed9f3dc
fix tests by checking there are actual blobs being deleted
2021-11-08 10:50:47 -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
07f76f7ad1
Added an integration test covering the following scenario:
...
On start, if download dir is non-writable - daemon terminates with a helpful message.
2021-10-26 11:17:52 +01: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
Jack Robison
1a74d6604d
skip loading tx/claim caches in the elastic sync script when not needed
2021-10-22 15:10:35 -04:00
Jack Robison
48505c2968
update trending with help from @eggplantbren
2021-10-21 00:17:12 -04:00
Jack Robison
a98ea1e66a
update sync script to handle ES falling behind leveldb on shutdown
2021-10-20 23:41:11 -04: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
Jack Robison
e35319e5a2
add CACHE_ALL_CLAIM_TXOS
hub setting
2021-10-19 15:53:20 -04:00