.github/workflows | ||
addrmgr | ||
blockchain | ||
btcec | ||
btcjson | ||
chaincfg | ||
claimtrie | ||
cmd | ||
connmgr | ||
database | ||
docs | ||
integration | ||
limits | ||
mempool | ||
mining | ||
netsync | ||
peer | ||
rpcclient | ||
txscript | ||
wire | ||
.gitignore | ||
btcd.go | ||
CHANGES | ||
config.go | ||
config_test.go | ||
doc.go | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
goclean.sh | ||
LICENSE | ||
log.go | ||
params.go | ||
README.md | ||
resourceLogging.go | ||
rpcadapters.go | ||
rpcclaimtrie.go | ||
rpcserver.go | ||
rpcserverhelp.go | ||
rpcwebsocket.go | ||
sample-lbcd.conf | ||
server.go | ||
service_windows.go | ||
signal.go | ||
signalsigterm.go | ||
upgrade.go | ||
upnp.go | ||
version.go |
lbcd
lbcd is a full node implementation of LBRY's blockchain written in Go (golang).
This project is currently under active development and is in a Beta state while we ensure it matches LBRYcrd's functionality. The intention is that it properly downloads, validates, and serves the block chain using the exact rules (including consensus bugs) for block acceptance as LBRYcrd. We have taken great care to avoid lbcd causing a fork to the blockchain.
Note: lbcd does NOT include wallet functionality. That functionality is provided by the lbcwallet and the LBRY SDK.
Security
We take security seriously. Please contact security regarding any security issues. Our PGP key is here if you need it.
We maintain a mailing list for notifications of upgrades, security issues, and soft/hard forks. To join, visit https://lbry.com/forklist
Requirements
All common operating systems are supported. lbcd requires at least 8GB of RAM and at least 100GB of disk storage. Both RAM and disk requirements increase slowly over time. Using a fast NVMe disk is recommended.
lbcd is not immune to data loss. It expects a clean shutdown via SIGINT or SIGTERM. SIGKILL, immediate VM kills, and sudden power loss can cause data corruption, thus requiring chain resynchronization for recovery.
For compilation, Go 1.16 or newer is required.
Installation
Acquire binary files from https://github.com/lbryio/lbcd/releases
To build from Source on Linux/BSD/MacOSX/POSIX:
- Install Go according to its installation instructions.
- Use your favorite git tool to acquire the lbcd source.
- lbcd has no non-Go dependencies; it can be built by simply running
go build .
- lbcctl can be built similarly:
Both GoLand and VS Code IDEs are supported.
Usage
By default, data and logs are stored in ~/.lbcd/
To enable RPC access a username and password is required. Example:
./lbcd --notls --rpcuser=x --rpcpass=y --txindex &
./lbcctl --notls --rpcuser=x --rpcpass=y getblocktemplate
Contributing
Contributions to this project are welcome, encouraged, and compensated. The integrated github issue tracker is used for this project. All pull requests will be considered.
License
lbcd is licensed under the copyfree ISC License.