belikor
6421cecafb
daemon: fix --claim_id
with lbrynet claim search
...
For some reason, when using `claim_search`
with `--claim_id`, the arguments dictionary will also
contain `claim_ids` with an empty list, even if we didn't specify it.
```
lbrynet claim search --claim_id=8945573bcfcb7f8276187dfbb93545eac4ebf71a
```
Using both `claim_id` and `claim_ids` will raise a `ValueError`
exception so the daemon won't return a valid result
even if the claim ID is in fact valid.
So if `claim_id` exists, we need to discard `claim_ids`
if it is empty, before proceeding with the rest of the code.
On the other hand, if `claim_ids` is used, and `claim_id` is absent,
there will be no problem as `claim_id` won't be added to the dictionary.
```
lbrynet claim search --claim_ids=8945573bcfcb7f8276187dfbb93545eac4ebf71a
```
2021-07-19 22:24:43 -05:00
Victor Shyba
bce299ccc7
fix docopt typo
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
fe469ae57f
create appropriate script for scripthash address
2021-06-02 11:34:21 -04:00
Victor Shyba
8c4b0037f5
API: add --remove_duplicates to claim_search
2021-05-27 20:14:12 -03:00
zeppi
2b950ff5dd
fix bug in collection_update --replace
2021-05-15 03:27:33 -03:00
Lex Berezhny
3d4321ee38
added --has_source/--has_no_source filters to claim_list
2021-04-23 10:24:48 -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
Lex Berezhny
6acf94a810
moved balance calculation to SQL
2021-04-14 11:24:58 -04:00
Lex Berezhny
c8781392be
added unit test for Access-Control HTTP headers
2021-04-06 17:12:05 -04:00
John Leith
b97164fcfb
adding access control headers
2021-04-06 17:12:05 -04:00
Victor Shyba
74df4fab83
change column to has_source and document both flags
2021-03-14 10:11:42 -04:00
Victor Shyba
74660704e3
fix update
2021-03-14 10:11:42 -04:00
Victor Shyba
e27e49e9dc
call update only once
2021-03-14 10:11:42 -04:00
Victor Shyba
34ed729c59
there is no 'sd_hash' parameter for this API
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
Alex Grintsvayg
cbc76adcaa
only return unspent txos if is_spent flag is not used. fixes #2923
2021-03-13 06:44:20 -05:00
Lex Berezhny
7bb873dad9
removed connection_status field from the status command, use wallet.connected instead to determine if SDK is connected
2021-03-09 13:27:36 -05:00
Lex Berezhny
fcad76fc51
lint
2021-03-04 00:03:16 -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
Patrick Keane
48c64143e3
Add no_totals argument to claim search
2021-02-26 10:41:15 -05:00
Patrick Keane
a8712422bc
Update daemon.py
2021-02-21 23:45:18 -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
7486ee9537
do not tx._reset() in generate_channel_private_key
2021-02-08 09:56:03 -05:00
Lex Berezhny
4a20ccc28e
tx._reset() the transaction after more internal changes
2021-02-08 09:56:03 -05:00
Lex Berezhny
f80dd2b307
tx._reset() the transaction after internal changes
2021-02-08 09:56:03 -05:00
Lex Berezhny
b208cf6d32
significant performance improvement when creating transactions and with txo spend specifically
2021-02-08 09:56:03 -05:00
Alex Grin
bedcfc154b
Merge branch 'master' into fix-collectionChannel
2021-02-02 11:25:52 -05:00
Victor Shyba
f6cfe266e0
specify Returns correctly for docs gen
2021-02-01 19:19:46 -05:00
zeppi
aca57ffc62
allows cli to accept channel_id for collections
2021-01-26 10:02:01 -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
f941950ee2
fix comment_create docs
2020-12-07 21:13:43 -05:00
Jack Robison
ab067d1d3a
fix unclean closing of blockchain.db
2020-10-26 16:23:28 -04:00
Lex Berezhny
4c5429af15
fix lint
2020-10-16 12:03:01 -04:00
Alex Grintsvayg
0a0ac3b7c9
pass-through for new support_sum api
2020-10-16 12:03:01 -04:00
jessop
7384609e74
support comment pinning
2020-10-10 13:02:38 -04:00
jessop
0231139b01
support anonymous react_list
2020-09-27 16:36:51 -04:00
jessop
d6ee6446dd
react list takes comment_ids
2020-09-26 15:21:26 -04:00
Lex Berezhny
eb5d2198fc
lint
2020-09-24 20:09:46 -04:00
Lex Berezhny
34e44ebd1c
minor cleanup and lint fixes
2020-09-24 20:03:22 -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
991987ed76
docopt fix
2020-08-19 12:08:41 -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
Lex Berezhny
91194bf422
doc fix
2020-08-04 14:12:40 -04:00