Commit graph

599 commits

Author SHA1 Message Date
Niko Storni
2adb8af5b6 add funding accounts to channel create options 2022-08-15 22:41:00 +02:00
Mark Beamer Jr
9130630afe
Added additional functionality to allow for both objects and arrays to be returned from internal-apis client.
Also added a raw API url call and converted current call to a call to a resource so we are not restricted to that format to use the library.
2022-08-05 13:51:05 -04:00
Alex Grin
8e6d493fbf
Merge pull request #93 from andybeletsky/master
Add metadata to error returned by jsonrpc
2022-06-15 11:11:14 -04:00
Andrey Beletsky
e19facdded Add metadata to error returned by jsonrpc 2022-06-15 00:49:46 +07:00
Niko Storni
365d23f0e2 add support for deterministic pub keys
fix a couple of bugs
2022-06-10 18:18:26 +02:00
Niko Storni
e5ab0f883e update dependencies and go 2022-05-04 18:27:35 +02:00
Alex Grin
d0aeb0c22b
Merge pull request #91 from lbryio/bugfix/jeffreypicard/handle_colons_correctly 2022-03-21 14:25:39 -04:00
Jeffrey Picard
306db74279 We no longer use colons for sequence numbers in urls 2022-03-18 16:27:02 -04:00
Mark Beamer Jr
a0391bec79
Extend claim search for use in livestreaming 2022-02-08 16:00:38 -05:00
Alex Grin
5d62502bde
Update readme.md 2022-01-17 09:40:58 -05:00
Alex Grin
91ac7abf08
Merge pull request #90 from lbryio/fix_dht 2021-10-05 09:03:23 -04:00
Victor Shyba
8161f48c15 apply gofmt 2021-10-04 23:21:59 -03:00
Victor Shyba
d11230aaf8 show results over RPC 2021-10-03 04:53:41 -03:00
Victor Shyba
8fd87dfc31 parse page and always try to parse what is left as the result 2021-10-03 04:53:36 -03:00
Victor Shyba
4056c44c2e encode contacts as hex to be friendly on RPC return 2021-10-03 04:49:33 -03:00
Victor Shyba
dd451eb72b alpha was increased to 5 2021-10-03 04:49:04 -03:00
Alex Grin
a553e18d3b
Update readme.md 2021-09-28 10:15:05 -04:00
Niko Storni
3e18b74da0 fix stream by magic
upgrade to go 1.16
2021-08-24 11:46:06 -04:00
Mark Beamer Jr
55dceeaa4e
Add OAuth client for internal-apis to be used for odysee-apis 2021-08-08 14:09:19 -04:00
Mark Beamer Jr
a1177c17d3
Status error should default to internal server error. Otherwise it will trigger a nil pointer and subsequent panic. 2021-08-08 14:09:19 -04:00
Alex Grin
2b155597bf
Merge pull request #89 from jeffreypicard/add_utility_funcs 2021-06-25 10:50:58 -04:00
Jeffrey Picard
87bf89a109 Cleanup utility functions and add comments 2021-06-23 15:29:23 -04:00
Jeffrey Picard
931d786c52 Add utility functions from hub 2021-06-17 23:59:06 -04:00
Mark Beamer Jr
6516df1418
Add signing channel to transaction (transaction_show) 2021-04-16 15:53:22 -04:00
Mark Beamer Jr
3027fb9b98
Add transaction show API to library. 2021-04-15 16:03:45 -04:00
Niko Storni
ed51ece75c revert is_spent changes because booleans suddenly have a single state
present (doesn't matter if true or false) and missing.
TIL /s
2021-04-13 00:29:18 +02:00
Alex Grintsvayg
e00cdd0237
upgrade go-errors, which adds errors.Is compat 2021-04-02 14:24:09 -04:00
Alex Grintsvayg
6bc878d657
terminate stream after consuming all the data 2021-04-02 14:16:46 -04:00
Alex Grintsvayg
be64130ae1
json convenience method 2021-04-02 12:57:06 -04:00
Alex Grintsvayg
419e7c88a3
switch to io.Reader interface for stream creation 2021-04-01 17:01:49 -04:00
Mark Beamer Jr
988178df50
Move signature to keys package 2021-03-15 20:00:44 -04:00
Mark Beamer Jr
a365d63d16
Fix up PrivateKeyToDER function and add tests 2021-03-14 12:26:53 -04:00
Mark Beamer Jr
bd452c421f
Add PrivateKeyToDER function 2021-03-14 04:17:27 -04:00
Niko Storni
4c3372992c improve claim listing 2021-03-12 02:06:52 +01:00
Mark
3c99b84721
Merge pull request #86 from lbryio/cors
Cors
2021-03-10 21:04:16 -05:00
Mark Beamer Jr
d7e84c6b97
Add CORS to api server configuration 2021-03-10 20:55:59 -05:00
Mark Beamer Jr
4580a95b74
Add CORS to api server 2021-03-10 20:04:48 -05:00
Andrey Beletsky
29773829af
Merge pull request #85 from lbryio/lbryinc-errors
Lbryinc errors
2021-02-23 00:37:59 +07:00
Andrey Beletsky
ef1b43ac62 Do not treat server errors as API originated errors 2021-02-16 19:40:18 +07:00
Andrey Beletsky
39e5821760 Run gofmt on validate.go 2021-02-16 18:38:34 +07:00
Andrey Beletsky
cb68cb004e Fix travis go version 2021-02-16 18:34:53 +07:00
Andrey Beletsky
eb6bb93500 Discern API errors from transport level errors 2021-02-16 18:30:09 +07:00
Andrey Beletsky
d0df93ebac Update go to 1.15, update testify library 2021-02-16 18:29:41 +07:00
Alex Grintsvayg
8c41d8ccd9
add akins url parsing 2020-12-22 16:31:18 -05:00
Mark
e9753ffdc7
Merge pull request #84 from lbryio/stake_supports
Rename packages to represent stakes (claims || supports)
2020-11-18 15:36:19 -05:00
Mark Beamer Jr
69e03da94a
Add extraction of PrivateKey from pem 2020-11-18 01:30:50 -05:00
Mark Beamer Jr
b3f7657c1b
Rename packages to represent stakes (claims || supports) instead of just claim 2020-10-28 03:28:48 -04:00
Mark Beamer Jr
29574578c1
Add strings.go utility 2020-09-01 14:36:59 -04:00
Niko Storni
73382bb021 fix lbry.go dep ver 2020-09-01 19:58:08 +02:00
Niko Storni
69e2f6231c update modules 2020-09-01 19:55:06 +02:00