Jeffrey Picard
15a56ca25e
tons of small changes squashed together
2021-09-10 18:57:20 -03:00
Jeffrey Picard
9f65799a3d
uncomment tests, add remove_duplicates param
...
Cleanup prints and commented out code
remove print
don't do list claims
cleanup
2021-09-10 18:57:20 -03:00
Jeffrey Picard
886587848b
protobuf changes
...
more protobuf changes (fix imports)
2021-09-10 18:57:20 -03:00
Jeffrey Picard
a97fc6dba8
cleanup and reorgnazing some stuff
...
Fixing tests
relabel failing tests properly
run all the tests for the hub
cleanup HubNode
2021-09-10 18:57:20 -03:00
Jeffrey Picard
c124e88d12
grpc client for python
2021-09-10 18:57:20 -03:00
Jeffrey Picard
17f3870296
Add tests for hub
...
Have the basic starting /stopping / querying. Still don't have the hub
jsonrpc stuff working right and from the looks of it I need to clearify
some of the logic in the claim search function itself because it's not
returning the correct number of claims anyways.
get the integration working with grpcurl
Got tests working, still need to port the rest of them
ported all of the claim search tests
still a few failing due to not having inflation working, and there's something weird
with limit_claims_per_channel that needs to be fixed.
2021-09-10 18:57:20 -03:00
Cristian Vicas
45bf6c3bf3
Drop comment_* apis.
...
Refactored dangling functions.
Added unit test.
2021-09-02 11:38:29 +03:00
Cristian Vicas
fef0cc764d
Drop comment_* apis
...
Removed the comment API
Removed tests for the comment API
Removed the documentation section
Removed the comment server configuration
2021-09-02 08:51:00 +03:00
Lex Berezhny
51d21d8c86
working disk cleanup
2021-08-16 14:15:12 -04:00
Lex Berezhny
b4c3307cdf
fixed tests
2021-08-13 10:32:46 -04:00
Lex Berezhny
4e8d10cb44
disk space manager and status API
2021-08-13 10:32:46 -04:00
Lex Berezhny
a08d84c1df
make libtorrent optional and skip test which depends on it
2021-08-13 10:07:06 -04:00
Victor Shyba
152dbfd5d1
reflect fee_currency, fee_amount and duration on repost searches
2021-08-09 18:33:47 -03:00
Victor Shyba
a56d14086b
reflect media_type on repost searches
2021-08-09 18:33:47 -03:00
Victor Shyba
aee87693f8
reflect stream_type on repost searches
2021-08-09 18:33:47 -03:00
Victor Shyba
72712d6047
raise and disconnect if too many parameters are used on search
2021-08-09 15:07:44 -03:00
Victor Shyba
3108543ae5
3 missing fields
2021-07-22 16:25:55 -03:00
Victor Shyba
1d9dbd40ec
increase flush counter to 32 bits
2021-07-07 18:39:38 -03:00
Victor Shyba
309e957a85
add concurrent_hub_requests conf
2021-06-24 21:21:19 -03:00
Victor Shyba
91323a21cf
add hub_timeout and propagate it to network code
2021-06-24 21:02:41 -03:00
Lex Berezhny
761bc6ba4c
revert release and fix test
2021-06-22 13:32:41 -04:00
Lex Berezhny
227fb0ae9b
network integration test fix
2021-06-22 11:07:58 -04:00
Lex Berezhny
b12ff5b503
test fixes
2021-06-22 11:07:58 -04:00
Lex Berezhny
7d49b046d4
added support to config for determining if value is set and implemented hub selection logic
2021-06-22 11:07:58 -04:00
Lex Berezhny
73e239cc5f
client side hub discovery pub/sub and hub metadata stored, removed old peers implementation
2021-06-22 11:07:58 -04:00
Lex Berezhny
ad670f721a
working client peer hub
2021-06-22 11:07:58 -04:00
Lex Berezhny
028a4a70cf
wallet server federation, client portion
2021-06-22 11:07:58 -04:00
Lex Berezhny
77d7960347
increase lbc exchange rate threshold
2021-06-18 11:26:30 -04:00
Lex Berezhny
39821146bd
increase lbc threshold in exchange rate integration tests even more
2021-06-17 10:23:33 -04:00
Lex Berezhny
7d505a41ac
drop sqlite indexes from test
2021-06-15 18:22:42 -04:00
Lex Berezhny
7b39527863
update exchange rate threshold in integration tests due to significant drop in LBC price
2021-06-15 15:58:59 -04:00
Victor Shyba
235cebd14a
fix test value
2021-06-02 12:05:36 -04:00
Victor Shyba
a638aa9d53
add and test support for support_create anonymous --comment
2021-06-02 12:05:36 -04:00
Victor Shyba
67cce0ef7e
test+implement --comment for support_create
2021-06-02 12:05:36 -04:00
Lex Berezhny
3805ff4a0c
fix purchase test
2021-06-02 11:34:21 -04:00
Lex Berezhny
464cfd475e
properly format scripthash address on output
2021-06-02 11:34:21 -04:00
Lex Berezhny
fe469ae57f
create appropriate script for scripthash address
2021-06-02 11:34:21 -04:00
Victor Shyba
3974df4a62
fix interaction between two modes
2021-05-27 20:14:12 -03:00
Victor Shyba
2c6f763ef2
test picking oldest when originals doesnt match
2021-05-27 20:14:12 -03:00
Victor Shyba
ca28de02d8
test and implementation for remove_duplicates on post-search filtering
2021-05-27 20:14:12 -03:00
Victor Shyba
bfc15ea029
handle limit being 0 and skip reordering if 0/none
2021-05-27 20:14:12 -03:00
Victor Shyba
3784db3308
test collections update with --replace
2021-05-15 03:27:33 -03:00
zeppi
2b950ff5dd
fix bug in collection_update --replace
2021-05-15 03:27:33 -03:00
Victor Shyba
cc02a0efc2
fix es migration bug, expand test case
2021-05-13 19:00:53 -03:00
Victor Shyba
43a1385b79
test sync helper
2021-05-13 19:00:53 -03:00
Victor Shyba
d5f722792f
fix and test has_source for channel reposts
2021-05-07 15:03:37 -03:00
Victor Shyba
0f02906c9b
fix has_source for reposted channels
2021-05-07 15:03:37 -03:00
Jack Robison
b5dfce7861
Revert "finished switch from using hash # in URLs to colon :"
...
This reverts commit 888aa558
2021-05-07 11:31:28 -04:00
Jack Robison
17deb136db
Revert "StreamCommands"
...
This reverts commit 2a8ccb06
2021-05-07 11:29:45 -04:00
Victor Shyba
3c67bb90d7
don't fail when a single one go on maintenance and set completion event regardless of failures
2021-05-04 22:22:07 -03:00
Lex Berezhny
2a8ccb065b
StreamCommands
2021-04-28 16:21:01 -04:00
Lex Berezhny
888aa5586b
finished switch from using hash # in URLs to colon :
2021-04-28 16:21:01 -04:00
Lex Berezhny
f729490c6b
pending claims ordered towards top in claim_list
2021-04-23 11:00:58 -04:00
Lex Berezhny
3d4321ee38
added --has_source/--has_no_source filters to claim_list
2021-04-23 10:24:48 -04:00
Lex Berezhny
e54c31d2d5
fix bug in how reserved balance is calculated
2021-04-16 11:17:51 -04:00
Lex Berezhny
f8814881a1
ability to set sd_hash, file_name and file_hash when updating a stream claim
2021-04-14 19:52:50 -04:00
Victor Shyba
cc2852cd48
new implementation for limit_claims_per_channel
2021-04-14 18:32:16 -04:00
Lex Berezhny
467637a9eb
fix test
2021-04-14 11:24:58 -04:00
Victor Shyba
aa727cb9b1
show channels regardless of no_source
2021-03-30 09:47:08 -04:00
Victor Shyba
b8c9a99f20
fix no_source for reposts
2021-03-30 09:47:08 -04:00
Victor Shyba
6a35a7ba4c
expand content filtering tests for no_totals
2021-03-19 19:58:13 -03:00
Victor Shyba
73884b34bc
apply no_totals
2021-03-19 19:58:13 -03:00
Victor Shyba
c3e426c491
fix search by channel for invalid channel
2021-03-19 19:58:13 -03:00
Victor Shyba
1783ff2845
dont delete claims on reorg
2021-03-19 19:58:13 -03:00
Victor Shyba
da8a8bd1ef
filter+fts and tests for edge cases
2021-03-19 19:58:13 -03:00
Victor Shyba
0a194b5b01
claim_ids query
2021-03-19 19:58:13 -03:00
Victor Shyba
5d3704c7ea
reader mode
2021-03-19 19:58:13 -03:00
Victor Shyba
9924b7b438
reposts and tag inheritance
2021-03-19 19:58:13 -03:00
Victor Shyba
aa37faab0a
use porter analyzer with weights on full text search
2021-03-19 19:58:13 -03:00
Victor Shyba
996686c1da
claim search and resolve translated to ES queries
2021-03-19 19:58:13 -03:00
Lex Berezhny
140d163895
removed redundant comment
2021-03-14 10:11:42 -04:00
Victor Shyba
74df4fab83
change column to has_source and document both flags
2021-03-14 10:11:42 -04:00
Victor Shyba
a54e9b64aa
add no_source claim_search filter
2021-03-14 10:11:42 -04:00
Victor Shyba
74660704e3
fix update
2021-03-14 10:11:42 -04:00
Victor Shyba
7439893a2a
fix get for sourceless claims
2021-03-14 10:11:42 -04:00
Victor Shyba
adaeeca3fd
let file_path be optional
2021-03-14 10:11:42 -04:00
Jack Robison
dac75563d3
add --no_file_path param to publish
, stream_create
, and stream_update
2021-03-14 10:11:42 -04:00
Lex Berezhny
69a9cb383d
oops
2021-03-12 13:29:55 -05:00
Lex Berezhny
4343073c00
clients can connect to wallet server even when they are not reachable by UDP
2021-03-12 13:29:55 -05:00
Lex Berezhny
62fa85c0a4
fix test
2021-03-09 13:27:36 -05:00
Lex Berezhny
97e6e1684e
simplifying
2021-03-04 00:03:16 -05:00
zeppi
183fb9f9ff
provide --resolve tag for collection claim, separate from resolving its contents
...
bugfix and docs generation
review changes
2021-03-04 00:03:16 -05:00
Lex Berezhny
0cec80f676
fixes transaction signing bug when tx had no change outputs
2021-03-01 11:20:08 -05:00
Lex Berezhny
b153e4bb9f
added support to claim_search for filtering collections via --claim_type
2021-02-16 11:08:54 -05:00
Lex Berezhny
75ecea265d
ensures content purchase fails appropriately when exchange rate is not available
2021-02-11 13:57:33 -05:00
Lex Berezhny
dee494e12f
converting from USD, BTC to LBC is now done via several exchange rate providers: Bittrex, Cryptonator, CoinEx, hotbit and UPbit
2021-02-10 22:14:13 -05:00
Lex Berezhny
39e78ff17e
updated exchange rate manager to use v3 bittrex API (old one is deprecated)
2021-02-03 14:15:19 -05:00
zeppi
4905e65f14
fix comment tests and json generat
2021-02-01 19:19:46 -05:00
Lex Berezhny
ccb250b410
txo_list --resolve now works for signed supports by resolving the signing channel
2021-01-26 20:53:36 -05:00
Lex Berezhny
eedcc2034d
fixes #3166
2021-01-25 10:56:48 -05:00
Lex Berezhny
3fe0db4a7d
fix integration tests
2021-01-22 07:51:13 -05:00
Lex Berezhny
8b55814ab2
fixes #2943 bug where get forced user to purchase their own priced stream
2021-01-22 07:51:13 -05:00
Jack Robison
158cc2f660
skip test_single_server_payment
2021-01-21 19:29:59 -05:00
Jack Robison
1066a31acd
fix test
2021-01-21 18:46:28 -05:00
Jack Robison
eff2fe7a1b
update tests
2021-01-21 16:20:01 -05:00
Jack Robison
36fd1b91ae
cache server features
2021-01-21 14:37:08 -05:00
Jack Robison
519614b2fd
skip libtorrent component in tests
2021-01-21 14:37:08 -05:00
Lex Berezhny
bf0118c8ef
added support for --not_channel_id to txo_list commands
2021-01-21 14:03:59 -05:00
Victor Shyba
0a53ad5721
use the comment api signing implementation
2021-01-04 18:04:06 -03:00
Victor Shyba
6da6bdc863
adds jsonrpc_channel_sign signing api
2021-01-04 18:04:06 -03:00
Jack Robison
f309a65cb4
fix
2021-01-01 15:25:31 -05:00
Jack Robison
3467d1fed0
fix tests
2020-12-03 22:16:28 -05:00
Jack Robison
eab3b65629
calculate notifications for all subscriptions instead of per session
2020-12-03 19:15:15 -05:00
Jack Robison
982f2c9634
fix test
2020-11-20 10:57:28 -05:00
Jack Robison
a9de1ce8e0
fix fs_transactions
2020-11-19 12:40:46 -05:00
Lex Berezhny
39202a3d79
old sequence resolution test
2020-11-17 11:24:29 -05:00
Jack Robison
bbed9b94c1
null language filtering for claim search
2020-11-05 21:23:49 -05:00
Jack Robison
853885e2ff
debug
2020-11-05 19:25:34 -05:00
Lex Berezhny
6826cc311d
update test to use new url spec
2020-10-30 11:37:54 -04:00
jessop
7384609e74
support comment pinning
2020-10-10 13:02:38 -04:00
Jack Robison
8dc654b513
add language table and indexes
2020-09-28 14:45:51 -04:00
jessop
d6ee6446dd
react list takes comment_ids
2020-09-26 15:21:26 -04:00
jessop
bf2f4bc040
wip
2020-09-24 17:47:59 -04:00
jessop
9dc4559aba
new comment and reactions api
2020-09-23 16:43:28 -04:00
Lex Berezhny
2d7443d454
slight cleanup
2020-08-19 13:59:26 -04:00
Lex Berezhny
ec24ebf2cf
added --limit_claims_per_channel argument to claim_search to only return up to the specified number of claims per channel
2020-08-19 10:51:31 -04:00
Jack Robison
22540390e1
break the wallet server with chris45 test
2020-07-02 18:57:36 -04:00
Jack Robison
a056cd78f7
remove loggly
2020-06-24 11:13:29 -04:00
Jack Robison
bc9f33c2e0
fix test
2020-06-08 18:06:58 -04:00
Jack Robison
ae53062518
integration test for sqlite coin chooser
2020-06-05 20:06:42 -04:00
Lex Berezhny
03595052ce
fix regular support create tests
2020-06-05 16:08:25 -04:00
Lex Berezhny
c03e30a01f
added support for signed supports
2020-06-05 15:49:18 -04:00
Jack Robison
c22482f907
channel private key generation in a thread pool
2020-05-11 14:54:31 -04:00
Victor Shyba
53382b7e15
wait started event
2020-05-07 04:04:55 -03:00
Victor Shyba
a7c2408c0a
fix and test delete with torrents
2020-05-07 04:04:55 -03:00
Victor Shyba
ce1eabaed6
fix moving to a new btih
2020-05-07 04:04:55 -03:00
Victor Shyba
f602541ede
fix not knowing a torrent exists
2020-05-07 04:04:55 -03:00
Victor Shyba
abaac8ef48
fixes from rebase, install libtorrent from s3
2020-05-07 04:04:54 -03:00
Victor Shyba
4d47873219
working file list after torrent get
2020-05-07 04:04:54 -03:00
Victor Shyba
cf985486e5
torrent test and misc fixes
2020-05-07 04:04:54 -03:00
Victor Shyba
27739e0364
fix save from resolve
2020-05-07 04:04:54 -03:00
Victor Shyba
698ee271d6
stream manager component becomes file manager component
2020-05-07 04:04:54 -03:00
Jack Robison
797364ee5c
refactor prometheus metrics
2020-05-02 15:01:07 -04:00
Jack Robison
36c05fc4b9
move wallet server prometheus
...
-only run wallet server metrics for the wallet server
2020-05-01 12:54:35 -04:00
Lex Berezhny
9a6326b027
fix for claim_list incorrectly handling --is_spent flag
2020-04-22 10:36:09 -04:00
Lex Berezhny
f5d7570102
fix issue with --exclude_internal_transfers where it was filtering out sent payments
2020-04-16 17:55:49 -04:00
Jack Robison
e81b51a647
support claim_id
, channel_claim_id
, and outpoint
args in file_list
being lists
2020-04-13 13:19:25 -04:00
Oleg Silkin
006494b1fa
hide_comments
now returns lists for both hidden
and visible
comments
2020-04-07 19:17:27 -04:00
Jack Robison
d615f6761a
automatically batch large resolve requests
2020-04-06 12:03:33 -04:00
Jack Robison
87cdf1e3a0
improve test_reorg_change_claim_height
2020-04-05 16:58:36 -04:00
Jack Robison
57fd47022e
test_reorg_change_claim_height
2020-04-03 13:39:44 -04:00
Jack Robison
5eafd3bf6b
feedback
2020-04-03 13:39:44 -04:00
Jack Robison
e4fb2f4680
test_reorg_dropping_claim
2020-04-03 13:39:44 -04:00
Jack Robison
a4909f54e4
test reorg count metric
2020-04-03 13:39:44 -04:00
Lex Berezhny
6474c86d32
cleaned up *_list commands
2020-04-01 20:44:34 -04:00
Lex Berezhny
769ea8cdfe
added --is_spent filter to txo list/sum commands
2020-03-31 23:08:51 -04:00
Lex Berezhny
f9aa95c987
default to None for all values in wallet_status when wallet_manager not started yet
2020-03-31 17:22:13 -04:00
Lex Berezhny
a5d06fb4a4
wallet_status no longer fails if wallet component has not started
2020-03-31 16:20:13 -04:00
Lex Berezhny
558ac24f7e
fix test
2020-03-31 11:29:58 -04:00
Jack Robison
267e7096cc
add test for rechecking ffmpeg installation
2020-03-30 19:11:04 -04:00
Lex Berezhny
886d1e8a19
added --include_full_tx option to txo_list
2020-03-30 18:15:13 -04:00
Lex Berezhny
48d2497eb2
added txo_spend command to support liquidating large number of txos (eg. tips)
2020-03-30 17:47:38 -04:00
Lex Berezhny
a8153627c6
move on_read.first to earlier
2020-03-30 17:02:08 -04:00
Lex Berezhny
ed38966edb
add test to verify we listen to on_ready before it actually triggers
2020-03-30 15:26:04 -04:00
Lex Berezhny
85551d1e54
remove no-op test, segwit is always on now
2020-03-30 15:17:25 -04:00
Lex Berezhny
151805121c
increase wallet server payment test timeout
2020-03-29 20:00:23 -04:00
Jack Robison
d46d012f8c
Revert "delete live bittrex test"
...
This reverts commit f70343bb
2020-03-26 20:31:39 -04:00
Jack Robison
f70343bb63
delete live bittrex test
2020-03-26 17:50:31 -04:00
Brannon King
71f8965393
re-use ffprobe info in stream_type
...
avoid duplicate args
handle review comment
2020-03-26 16:20:12 -04:00
Jack Robison
86242139da
update tests
2020-03-26 13:56:51 -04:00
Victor Shyba
460bdc4148
move wallet_syncing to wallet status is_syncing
2020-03-26 11:43:48 -04:00
Victor Shyba
1052126522
add wallet_syncing status
2020-03-26 11:43:48 -04:00
Lex Berezhny
5e2ddbfd86
txo_plot returns lbc instead of dewies
2020-03-26 01:13:09 -04:00
Lex Berezhny
e5bf6a5bfc
added txo_plot command to allow plotting txo sums over time
2020-03-26 00:37:13 -04:00
Victor Shyba
a08cbf412d
on_ready.wait so we start after tx syncs
2020-03-23 12:26:07 -03:00
Lex Berezhny
0bd65356f9
increase timeout in usage payment test
2020-03-23 11:06:29 -04:00
Victor Shyba
19c0a81c42
fix bad usages of hash and some tests
2020-03-22 23:31:47 -03:00
Victor Shyba
9fc7f9904b
fix tests, delete old code
2020-03-22 23:31:47 -03:00
Victor Shyba
ec8e243323
estimate timestamps instead of using block headers
2020-03-22 23:30:11 -03:00
Victor Shyba
af0e9368d4
headers get now async
2020-03-22 23:30:11 -03:00
Lex Berezhny
73a91d5569
added --include_received_tips to claim_list/txo_list
2020-03-22 17:22:15 -04:00
Lex Berezhny
b11184de68
fix purchase_create
2020-03-22 12:23:21 -04:00
Lex Berezhny
61d02fc5d7
fix to prevent transaction cache from leaking some information about outputs between unrelated wallets
2020-03-22 11:45:40 -04:00
Lex Berezhny
b5c24d6a48
fixing unit tests
2020-03-22 01:29:26 -04:00
Lex Berezhny
bdd2ac2c25
renamed some flags
2020-03-22 01:13:26 -04:00
Lex Berezhny
9749da46ae
added flags to resolve: --include_purchase_receipt, --include_is_my_output, --include_my_supports, --include_my_tips
2020-03-21 23:44:57 -04:00
Lex Berezhny
7cb530c334
added --channel_id and --order_by to txo_list
2020-03-20 23:19:26 -04:00
Lex Berezhny
5e0324cc91
added --reposted_claim_id to txo_list
2020-03-20 20:22:57 -04:00
Lex Berezhny
6293e227ea
added txo_sum command
2020-03-20 19:08:47 -04:00
Lex Berezhny
d6d83a5c76
integration test fix
2020-03-20 19:08:47 -04:00
Lex Berezhny
dd21803598
working --is_my_input_or_output --is_my_input --is_my_output etc
2020-03-20 19:08:47 -04:00
Brannon King
bf11bcc084
fixed transcoding tests for non-async execute
...
status ordering broke path check
2020-03-18 12:43:27 -06:00
Brannon King
5ab634e375
support search path for ffmpeg
2020-03-18 12:00:52 -06:00
Victor Shyba
9561f93594
disable tracemalloc after test finishes so it doesnt slow down everything else
2020-03-16 11:29:16 -03:00
Victor Shyba
d44d5c3304
enable/disable instead of set
2020-03-16 06:40:22 -03:00
Victor Shyba
ec541e2057
lint and improve tests
2020-03-11 19:56:37 -03:00
Victor Shyba
8169bf6b97
top objects api
2020-03-11 19:56:37 -03:00
Victor Shyba
56c8ad1221
start/stop tracemalloc over api
2020-03-11 19:56:37 -03:00
Lex Berezhny
8ef2647fa9
is_received
2020-03-08 23:11:03 -04:00
Lex Berezhny
3ff9e99416
added txo_list command
2020-03-08 16:22:49 -04:00
Lex Berezhny
c3d96184b6
fix test
2020-03-06 20:35:26 -05:00
Lex Berezhny
c255c606a7
added is_spent attribute to transaction outputs
2020-03-06 20:12:38 -05:00
Brannon King
98e6a066f4
add unit test and debug output
2020-03-06 15:53:09 -05:00
Brannon King
19ce0ab246
ogg -> ogv, ignore files that aren't video
2020-03-03 21:38:30 -07:00
Lex Berezhny
05228529b0
fix tests
2020-03-03 20:26:07 -05:00
Lex Berezhny
a02b251c9b
when using --resolve with local claim list commands, update resolved result with local metadata (such as is_mine and is_mine)
2020-02-29 09:42:11 -05:00
Oleg Silkin
f0c18ccbe7
Removes testing for anonymous comments, fixes up existing asserts
2020-02-26 19:59:38 -05:00
Lex Berezhny
7de8670616
blocked original repost causes all reposts to also be blocked
2020-02-22 12:49:20 -05:00
Lex Berezhny
8c7908b200
reposts inherit the tags of the original claim
2020-02-22 12:23:11 -05:00
Lex Berezhny
039bc0208a
fix tests
2020-02-21 22:22:28 -05:00