Go to file
Niko Storni 6ac48c929b
changes that will never make it into master
re-added support for UCBerkeley
2018-10-02 20:55:13 -04:00
api simplify logging 2018-09-27 14:10:27 -04:00
cmd remove unused deps 2018-10-02 20:53:54 -04: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 add dupes patcher and database patcher 2018-09-26 16:27:32 -04:00
lbrycrd add regtest support 2018-07-12 08:24:43 -04:00
null remove .idea from gitignore 2018-02-23 09:26:23 -05:00
querytools fix package name 2018-02-22 13:26:13 -05:00
stop Update readme.md 2018-08-28 11:49:55 -04:00
travis update dependencies 2018-06-11 17:42:00 -04:00
util address review comments 2018-07-23 20:01:38 -04:00
validator -Added API Server to lbry.go 2018-05-27 11:30:04 -04:00
ytsync changes that will never make it into master 2018-10-02 20:55:13 -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 remove unused deps 2018-10-02 20:53:54 -04:00
Gopkg.toml remove unused deps 2018-10-02 20:53:54 -04: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)