LBC // Setting up a full node with libbitcoin

server | install | source | source-full | client | wallet

tested on debian11

Firewall

    vi /etc/nftables.conf

            iif $nic tcp dport 9091 accept
            iif $nic tcp dport 9092 accept
            iif $nic tcp dport 9093 accept
            iif $nic tcp dport 9094 accept

    systemctl reload nftables.service

Operations

we simply keep the default during the sync

    bs --help
    bs --settings | grep -v ^# | less
    bs --settings | grep ^directory

    mkdir lbc/
    cd lbc/
    screen -S lbc
    bs --initchain

it takes quite some amount of power so let’s reduce the load a little bit

    nice -n 19 bs

status

pgrep -a bs
netstat -lntup

this should grow after a while

du -sh blockchain/

Additional notes

make sure ~USER/lbc/ is NOT backed up daily unless you got deduplication or incremental backups in place.

Resources

A C++ Bitcoin toolkit library for asynchronous apps https://libbitcoin.info/

Libbitcoin Server https://en.bitcoin.it/wiki/Libbitcoin_Server

Community Servers https://github.com/libbitcoin/libbitcoin-server/wiki/Community-Servers

Command Line https://github.com/libbitcoin/libbitcoin-server/wiki/Command-Line

Libbitcoin version3 released - oldest alternative full node implementation (written from scratch) https://www.reddit.com/r/Bitcoin/comments/5yduv9/libbitcoin_version3_released_oldest_alternative/

server conf

I need some help for the initial settings of the configuration #399 https://github.com/libbitcoin/libbitcoin-server/issues/399

Server Settings https://github.com/libbitcoin/libbitcoin-server/wiki/Server-Settings

Small Server Performance https://github.com/libbitcoin/libbitcoin-server/wiki/Small-Server-Performance

full node

https://bitcoin.stackexchange.com/questions/113942/minimum-disk-space-required-for-running-a-full-node

misc

New Litecoin Full Node & Developer Library: Libbitcoin adds LTC support https://medium.com/feathercoin/new-litecoin-full-node-as-a-gift-from-feathercoin-665e0cce52e4

Libbitcoin Node configuration file https://github.com/libbitcoin/libbitcoin-node/blob/master/data/bn.cfg

[fw] https://docs.like.co/validator/likecoin-chain-node/setup-a-node


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun