Victor Shyba
b1db42acf4
download all blobs and check that on tests
2022-03-15 15:34:08 -03:00
Victor Shyba
fcbe8cf00b
create downloader component and initial tests
2022-03-15 15:34:08 -03:00
Victor Shyba
a1866c40f5
with the fix we no longer need to restart the stream
2022-03-15 15:34:08 -03:00
Victor Shyba
d78540f3cc
fix tests by checking there are actual blobs being deleted
2022-03-15 15:34:08 -03:00
Cristian Vicas
90aaf64b77
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.
2022-03-15 15:34:08 -03:00
FemtosecondLaser
77d58b82a0
Added an integration test covering the following scenario:
...
On start, if download dir is non-writable - daemon terminates with a helpful message.
2022-03-15 15:34:08 -03:00
FemtosecondLaser
a7af877e9e
Improved the readability of the tests.
2022-03-15 15:34:08 -03:00
FemtosecondLaser
25092f56be
Changed the tests to execute against a real file system instead of a fake one.
2022-03-15 15:34:08 -03:00
FemtosecondLaser
e55f9dd21e
renamed the test class to be more specific about the sut
2022-03-15 15:34:08 -03:00
FemtosecondLaser
6c10509705
removed redundant tests
...
renamed a test to be more specific about the kind of the precondition
2022-03-15 15:34:08 -03:00
FemtosecondLaser
bed2e253b2
Modified ensure_directory_exists() to check if the directory is writable by the process.
2022-03-15 15:34:08 -03:00
Jack Robison
b3705073a3
skip loading tx/claim caches in the elastic sync script when not needed
2022-03-15 15:34:08 -03:00
Jack Robison
755e8ce101
update trending with help from @eggplantbren
2022-03-15 15:34:08 -03:00
Jack Robison
fd2ab47a16
update sync script to handle ES falling behind leveldb on shutdown
2022-03-15 15:34:08 -03:00
Jack Robison
64509ca95d
add CACHE_ALL_CLAIM_TXOS
hub setting
2022-03-15 15:34:08 -03:00
Jack Robison
50e00192e8
sleeps
2022-03-15 15:34:08 -03:00
Jack Robison
8d72142390
fix setting references on txos in extra_txos
2022-03-15 15:34:08 -03:00
Jack Robison
172a0f0ac2
fix reposted channel being missing from resolve result
...
-improve names of the resolve related methods in `LevelDB`
2022-03-15 15:34:08 -03:00
Jack Robison
8031a55dbb
fix test
2022-03-15 15:34:08 -03:00
Jack Robison
1ddd29656e
move test_transaction_commands, test_internal_transaction_api , and test_transactions into their own runner
...
-move test_resolve_command to its own runner
2022-03-15 15:34:08 -03:00
Jack Robison
cb5c39a159
only save undo info for blocks within reorg limit
2022-03-15 15:34:08 -03:00
Jack Robison
aa80cf47b9
try to fix test_sqlite_coin_chooser
2022-03-15 15:34:08 -03:00
Jack Robison
e4e1d42e09
move test_claim_commands and test_resolve_command into new directory
2022-03-15 15:34:08 -03:00
Jack Robison
c2a5ff0ae3
block processor db refactoring
...
-access db through HubDB class, don't use plyvel.DB directly
-add channel count and support amount prefixes
2022-03-15 15:34:08 -03:00
Jack Robison
afa710dcb5
fix and add test for abandoning a controlling in the same block a new claim is made
2022-03-15 15:34:08 -03:00
Jack Robison
d0ed7593de
fix test_sqlite_coin_chooser
2022-03-15 15:34:08 -03:00
Jack Robison
65e39b8e76
fix test
2022-03-15 15:34:08 -03:00
Jack Robison
6155cda66f
add tests for takeovers from amount changes in updates before/on/after activation
2022-03-15 15:34:08 -03:00
Victor Shyba
a4be5eb1d8
fix blocking and filtering
2022-03-15 15:34:08 -03:00
Jack Robison
c8b6db4b84
fix test
2022-03-15 15:34:08 -03:00
Jack Robison
6e93c5bc0d
fix update that initiates takeover not being delayed
2022-03-15 15:34:08 -03:00
Jack Robison
a0e0039988
handle invalid release time
2022-03-15 15:34:08 -03:00
Jack Robison
3970e91766
name
and normalized
-> claim_name
and normalized_name
...
-update generated pb files
2022-03-15 15:34:08 -03:00
Jack Robison
c00912015a
claim search fixes
2022-03-15 15:34:08 -03:00
Jack Robison
0d19439982
fix release_time and creation_timestamp
2022-03-15 15:34:08 -03:00
Jack Robison
12f790ab01
delete unused code
2022-03-15 15:34:08 -03:00
Jack Robison
4e687c4fd8
test_spec_example
2022-03-15 15:34:08 -03:00
Jack Robison
72e45b5cb1
fix tests
2022-03-15 15:34:08 -03:00
Jack Robison
b59e0490a2
renormalization
2022-03-15 15:34:08 -03:00
Jack Robison
94754f2047
add trending integration test
2022-03-15 15:34:08 -03:00
Jack Robison
8f9e6a519d
refactor trending
2022-03-15 15:34:08 -03:00
Jack Robison
6cba95c148
fix claims not having non-normalized names
2022-03-15 15:34:08 -03:00
Jack Robison
f62d128621
update test
2022-03-15 15:34:08 -03:00
Jack Robison
91a86fd12f
merge conflicts
2022-03-15 15:34:08 -03:00
Victor Shyba
08d635322e
implement blocking and filtering
2022-03-15 15:34:08 -03:00
Jack Robison
528af27e4a
fix claim search by fee for claims without fees
2022-03-15 15:34:07 -03:00
Jack Robison
05b6bdb8f6
threadpool
2022-03-15 15:34:07 -03:00
Jack Robison
f55b6bdc71
fix abandoning signed claims in the same tx as their channel
...
-fix canonical/short url in es
2022-03-15 15:34:07 -03:00
Jack Robison
2180e24bc1
fix resolve by short id
2022-03-15 15:34:07 -03:00
Jack Robison
749e64b101
tests
2022-03-15 15:34:07 -03:00