No description
Find a file
2018-12-28 12:15:03 -05:00
api simplify logging 2018-09-27 14:10:27 -04:00
blobex add price field to download response 2018-11-06 14:52:12 -05:00
claim claim decoding example 2018-11-08 15:52:47 -05:00
cmd claim decoding example 2018-11-08 15:52:47 -05:00
crypto add crypto package 2018-05-13 21:09:40 -04:00
dht the beginning of a jsonrpc client 2017-09-12 12:04:45 -04:00
errors dont double-log 500s, allow errors.Base() to take args 2018-09-27 13:40:11 -04:00
img add/update readme 2018-08-02 08:12:45 -04:00
jsonrpc updated lbryschema dependencies. 2018-11-09 18:46:35 -05:00
lbrycrd small refactor 2018-10-25 14:20:44 -04:00
null remove .idea from gitignore 2018-02-23 09:26:23 -05:00
query small refactor 2018-10-25 14:20:44 -04:00
stop Added package documentation and removed sync creation in New since it is not needed unless the stopper is initialized with NewDebug 2018-12-28 12:15:03 -05:00
stream fully match python's stream creation and decoding 2018-10-23 16:41:19 -04:00
travis update dependencies 2018-06-11 17:42:00 -04:00
util small refactor 2018-10-25 14:20:44 -04:00
validator -Added API Server to lbry.go 2018-05-27 11:30:04 -04:00
.gitignore remove .idea from gitignore 2018-02-23 09:26:23 -05:00
.travis.yml add travis CI 2018-06-11 17:53:30 -04:00
Gopkg.lock updated lbryschema dependencies. 2018-11-09 18:46:35 -05:00
Gopkg.toml updated lbryschema dependencies. 2018-11-09 18:46:35 -05:00
LICENSE create LICENSE file 2018-02-22 13:14:48 -05:00
main.go seed rand, add dht command 2018-02-27 13:31:19 -05:00
Makefile automatically split balance into multiple addresses 2017-11-02 11:20:22 -04:00
README.md add/update readme 2018-08-02 08:12:45 -04:00

Build Status

LBRY in Golang

lbry.go is a set of tools and projects implemented in Golang. See each subfolder for more details

Installation

No installation required for lbry.go

Usage

See individual subfolders for usage instructions

Running from Source

Go

Make sure you have Go 1.10.1+

Lbrycrd

not strictly necessary, but recommended

  • Install lbrycrdd (https://github.com/lbryio/lbrycrd/releases)

  • Ensure ~/.lbrycrd/lbrycrd.conf file exists with username and password. If you don't have one, run:

    mkdir -p ~/.lbrycrd
    echo -e "rpcuser=lbryrpc\nrpcpassword=$(env LC_CTYPE=C LC_ALL=C tr -dc A-Za-z0-9 < /dev/urandom | head -c 16 | xargs)" > ~/.lbrycrd/lbrycrd.conf
    
  • Run ./lbrycrdd -server -daemon -txindex. If you get an error about indexing, add the -reindex flag for one run. You will only need to reindex once.

building lbry.go

clone the repository

go get -u github.com/lbryio/lbry.go
cd "$(go env GOPATH)/src/github.com/lbryio/lbry.go"

run make from the root directory to build the binary

Contributing

Contributions to this project are welcome, encouraged, and compensated. For more details, see lbry.io/faq/contributing

GO strictly enforces a correct syntax therefore you might need to run go fmt from inside the each working directory.

When using an IDE like Goland you should set up file watchers such as to automatically format your code and sort your imports.

alt text

License

See LICENSE

Security

We take security seriously. Please contact security@lbry.io regarding any issues you may encounter. Our PGP key is here if you need it.

Contact

The primary contact for this project is @nikooo777 (niko@lbry.io)