Skip to content
forked from BP-WG/bp-node

Daemons and tools for Bitcoin transaction index based on LNPBP-5. Future: full bitcoin node

License

Notifications You must be signed in to change notification settings

UkolovaOlga/bp-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bpd: Bitcoin protocol daemon written in Rust

bpd replaces Bitcoin Core in parts of its outdated JSON API and different indexing servers (like Electrum) for efficient and extended queries against bitcoin blockchain (see the drawing below).

The daemon is made with focus on:

  • non-blocking/async IO and APIs
  • ZMQ APIs for the clients
  • efficient indexing with LNPBP-5 standard
  • native miniscript support
  • arbitrary complex queries against bitcoin transactions and their parts
  • layer 2/3 protocols in mind
  • native support for the new rust Lightning network node lnp-node

The repository also contains a tool for building initial blockchain index.

NB: This is (not yet) a full validating node!

Software architecture

Installation

You need to install nightly rust version and have PostgreSQL with default access settings

rustup install nightly
rustup default nightly
git clone https://github.com/LNP-BP/bp-node
cd bp-node
./setup.sh
cargo build

Usage

Assuming your bitcoin core directory is /var/lib/bitcoin you may simply run

./target/debug/bp-index -v -v -v -v

otherwise you may provide custom location & database settings with specific flags.

About

Daemons and tools for Bitcoin transaction index based on LNPBP-5. Future: full bitcoin node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 93.3%
  • TSQL 3.7%
  • PLpgSQL 2.3%
  • Shell 0.7%