No description
e70b9af3e4
ReadFile checks the file size and allocates a bit more space than we expect we'll need. ReadAll uses Go's standard resizing algo, which doubles the underlying array each time you hit the end. So ReadAll ends up allocating 4MB for a full blob, while ReadFile allocates slightly over 2MB. |
||
---|---|---|
cluster | ||
cmd | ||
db | ||
internal/metrics | ||
meta | ||
peer | ||
prism | ||
publish | ||
reflector | ||
store | ||
updater | ||
wallet | ||
.gitignore | ||
.gometalinter.json | ||
.travis.yml | ||
config.tmpl | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
Makefile | ||
readme.md |
Reflector
A reflector cluster to accept LBRY content for hosting en masse, rehost the content, and make money on data fees (TODO). This code includes Go implementations of the LBRY peer protocol, reflector protocol, and DHT.
Installation
coming soon
Usage
coming soon
Running from Source
This project requires Go v1.11 or higher because it uses Go modules.
git clone git@github.com:lbryio/reflector.go.git
cd reflector.go
make
./bin/prism-bin
Contributing
coming soon
License
This project is MIT licensed.
Security
We take security seriously. Please contact security@lbry.com regarding any security issues. Our PGP key is here if you need it.
Contact
The primary contact for this project is @lyoshenka (grin@lbry.com)