View in context in the libbitcoin Slack #general mirror.
./install.sh --prefix=$HOME/libbitcoin --build-boost --build-secp256k1 --disable-shared
bx version
nano ~/.bashrc export PATH="$HOME/libbitcoin/bin:$PATH" bx version
install.sh from the libbitcoin-node repo and the master branch.git clone https://github.com/libbitcoin/libbitcoin-system.git cd libbitcoin-system ./install.sh --prefix=$HOME/libbitcoin --build-boost --build-secp256k1 --disable-shared
libbitcoin-network is the p2p network stack, but has no connection to a database (i.e. can be used by wallets, etc).libbitcoin-node pulls together the other three and builds a chain off the network and stores it in the database.source ~/.bashrc mkdir -p ~/.config/bitcoin nano ~/.config/bitcoin/bn.cfg [database] directory = /home/satoshi/libbitcoin-data [node] network = mainnet mkdir ~/libbitcoin-data screen -S node bn
bn --settings shows all of the current config file settings. you don't need to set any of them.2025-10-11T19:24:23Z.0 Toggle: [a]pplication 2025-10-11T19:24:23Z.0 Toggle: [n]ews 2025-10-11T19:24:23Z.0 Toggle: [s]ession 2025-10-11T19:24:23Z.0 Toggle: [p]rotocol 2025-10-11T19:24:23Z.0 Toggle: [x]proxy 2025-10-11T19:24:23Z.0 Toggle: [r]emote 2025-10-11T19:24:23Z.0 Toggle: [f]ault 2025-10-11T19:24:23Z.0 Toggle: [q]uitting 2025-10-11T19:24:23Z.0 Toggle: [o]bjects 2025-10-11T19:24:23Z.0 Toggle: [v]erbose 2025-10-11T19:24:23Z.0 Option: [b]ackup the store 2025-10-11T19:24:23Z.0 Option: [c]lose the node 2025-10-11T19:24:23Z.0 Option: [e]rrors in store 2025-10-11T19:24:23Z.0 Option: [g]o network communication 2025-10-11T19:24:23Z.0 Option: [h]old network communication 2025-10-11T19:24:23Z.0 Option: [i]nfo about store 2025-10-11T19:24:23Z.0 Option: [m]enu of options and toggles 2025-10-11T19:24:23Z.0 Option: [t]est built-in case 2025-10-11T19:24:23Z.0 Option: [w]ork distribution 2025-10-11T19:24:23Z.0 Option: [z]eroize disk full error
2025-10-11T19:32:12Z.0 CONSOLE: 'bn -d'
2025-10-11T19:32:17Z.1 Outbound [123.100.246.80:8333] version (70016) /Satoshi:29.1.0/
2025-10-11T19:32:17Z.1 Outbound [159.89.121.240:8333] version (70016) /Satoshi:29.1.0/
2025-10-11T19:32:25Z.1 Outbound [203.11.72.30:8333] version (70016) /Satoshi:29.1.0/satoshi@ubuntu-bitcoin:~$ bn -d Hardware configuration... arm..... platform:0. intel... platform:1. avx512.. platform:0 compiled:0. avx2.... platform:1 compiled:0. sse41... platform:1 compiled:0. shani... platform:0 compiled:0. satoshi@ubuntu-bitcoin:~$
avx2?bx``satoshi@ubuntu-bitcoin:~$ bn -d
Hardware configuration...
arm..... platform:0.
intel... platform:1.
avx512.. platform:0 compiled:0.
avx2.... platform:1 compiled:0.
sse41... platform:1 compiled:0.
shani... platform:0 compiled:0.
satoshi@ubuntu-bitcoin:~$``grep -Eo "avx5|avx2|sse|sha" /proc/cpuinfo | sort -u2025-10-13T02:00:16Z.0 Please wait while network is starting... 2025-10-13T02:00:16Z.1 Candidate top [000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f:0]. 2025-10-13T02:00:16Z.1 Fork point (0) unassociated (0). 2025-10-13T02:00:16Z.1 Seeding because of insufficient (0 of 500) address quantity. 2025-10-13T02:00:16Z.1 Connecting to seed [seed.bitcoin.sipa.be:8333] 2025-10-13T02:00:16Z.1 Connecting to seed [dnsseed.bluematt.me:8333] 2025-10-13T02:00:16Z.1 Connecting to seed [dnsseed.bitcoin.dashjr-list-of-p2p-nodes.us:8333] 2025-10-13T02:00:16Z.1 Connecting to seed [seed.bitcoin.jonasschnelli.ch:8333] 2025-10-13T02:00:16Z.1 Connecting to seed [seed.btc.petertodd.net:8333] 2025-10-13T02:00:16Z.1 Connecting to seed [seed.bitcoin.sprovoost.nl:8333] 2025-10-13T02:00:16Z.1 Connecting to seed [dnsseed.emzy.de:8333] 2025-10-13T02:00:16Z.1 Connecting to seed [seed.bitcoin.wiz.biz:8333] 2025-10-13T02:00:16Z.1 Connecting to seed [seed.mainnet.achownodes.xyz:8333] 2025-10-13T02:00:32Z.1 Failed to connect seed address [dnsseed.bluematt.me:8333] operation timed out 2025-10-13T02:00:32Z.1 Failed to connect seed address [seed.bitcoin.wiz.biz:8333] operation timed out 2025-10-13T02:00:32Z.1 Failed to connect seed address [seed.mainnet.achownodes.xyz:8333] operation timed out 2025-10-13T02:00:32Z.1 Failed to connect seed address [dnsseed.emzy.de:8333] operation timed out 2025-10-13T02:00:32Z.1 Failed to connect seed address [seed.btc.petertodd.net:8333] operation timed out 2025-10-13T02:00:32Z.1 Failed to connect seed address [seed.bitcoin.sipa.be:8333] operation timed out 2025-10-13T02:00:32Z.1 Failed to connect seed address [dnsseed.bitcoin.dashjr-list-of-p2p-nodes.us:8333] operation timed out 2025-10-13T02:00:32Z.1 Failed to connect seed address [seed.bitcoin.jonasschnelli.ch:8333] operation timed out 2025-10-13T02:00:32Z.1 Failed to connect seed address [seed.bitcoin.sprovoost.nl:8333] operation timed out 2025-10-13T02:00:32Z.0 Node failed to start with error 'seeding unsuccessful'. 2025-10-13T02:00:32Z.1 Seed session complete. 2025-10-13T02:00:32Z.0 Please wait while network is stopping...
libbitcoin$ nslookup seed.bitcoin.sprovoost.nl 2>&1 | grep Address | cut -d' ' -f2 Address: 192.168.1.1#53 45.33.1.178 143.198.210.127 23.28.188.241 213.141.251.4 173.46.87.142 89.106.27.201 45.79.22.148 89.23.119.185 37.182.152.42 73.216.78.94 79.151.229.127 89.106.27.218 155.4.26.146 83.32.167.77 174.140.231.184 98.114.36.130 172.233.151.68 35.242.187.91 170.187.181.164 103.246.186.204 75.82.57.33 47.14.96.94 47.160.10.230 2a05:3580:dc0b:1600:28dc:ab23:609f:8c3 2a00:23a8:83b:2201:dc52:e0c7:9e99:a076 2600:1702:7aa0:10b0:266e:96ff:fe46:9060 2a02:220b:2000:f800:fb46:25d3:84c7:20c0 2a01:6380:fffe:73:10fb:d012:8581:b4d7 2601:84:c900:1b90:be24:11ff:fe8d:f86f 2a11:6100:0:5216:: 2003:e7:2f1d:2601:be24:11ff:fe4b:9928 2001:41d0:303:89af::1 2a02:aa10:480:6f00:5ccb:4df0:367f:c503 2804:14d:5c78:82db::1000 2600:1900:40a0:98ea:0:2:: 2605:59c2:14ae:2520:20c:29ff:fe23:a4fd libbitcoin$ nslookup seed.bitcoin.sprovoost.nl:8333 2>&1 | grep Address | cut -d' ' -f2 Address: 192.168.1.1#53
2025-10-13T02:07:33Z.0 Please wait while network is starting... 2025-10-13T02:07:34Z.1 Candidate top [00000000000000000001b7350b4b22eb496c952012d94773bdbb304c1bdda002:918789]. 2025-10-13T02:07:34Z.1 Fork point (550718) unassociated (0). 2025-10-13T02:07:34Z.1 Seeding because of insufficient (0 of 500) address quantity. 2025-10-13T02:07:34Z.1 Connecting to seed [seed.bitcoin.sipa.be:8333] 2025-10-13T02:07:34Z.1 Connecting to seed [dnsseed.bluematt.me:8333] 2025-10-13T02:07:34Z.1 Connecting to seed [dnsseed.bitcoin.dashjr-list-of-p2p-nodes.us:8333] 2025-10-13T02:07:34Z.1 Connecting to seed [seed.bitcoin.jonasschnelli.ch:8333] 2025-10-13T02:07:34Z.1 Connecting to seed [seed.btc.petertodd.net:8333] 2025-10-13T02:07:34Z.1 Connecting to seed [seed.bitcoin.sprovoost.nl:8333] 2025-10-13T02:07:34Z.1 Connecting to seed [dnsseed.emzy.de:8333] 2025-10-13T02:07:34Z.1 Connecting to seed [seed.bitcoin.wiz.biz:8333] 2025-10-13T02:07:34Z.1 Connecting to seed [seed.mainnet.achownodes.xyz:8333] 2025-10-13T02:07:34Z.1 Inbound [[2604:2dc0:145:c900::]:8333] version (70016) /Satoshi:29.0.0/ 2025-10-13T02:07:34Z.1 Accepted (1000>748>747) addresses from seed [[2604:2dc0:145:c900::]:8333]. 2025-10-13T02:07:34Z.1 Seed stop [[2604:2dc0:145:c900::]:8333] seeding complete 2025-10-13T02:07:34Z.0 Node is started. 2025-10-13T02:07:34Z.1 Accepting 100 peers on 2 bindings.
m <enter> for the options.i, didn't realise i had to type enter tooheader_organized.... 918318 27704 header_archived..... 918319 27982 header_organized.... 918319 27982 header_archived..... 918320 29198 header_organized.... 918320 29198 header_archived..... 918321 29250 header_organized.... 918321 29250
block_organized..... 899992 4062 block_confirmed..... 899993 4062 block_organized..... 899993 4062 block_confirmed..... 899994 4062 block_organized..... 899994 4062 block_confirmed..... 899995 4062 block_organized..... 899995 4062 block_confirmed..... 899996 4062 block_organized..... 899996 4062 block_confirmed..... 899997 4062 block_organized..... 899997 4062 block_confirmed..... 899998 4062 block_organized..... 899998 4062 block_confirmed..... 899999 4062 block_organized..... 899999 4062 block_confirmed..... 900000 4062 block_organized..... 900000 4062
block_organized..... 150070 1534 block_validated..... 150071 1536 block_confirmed..... 150071 1536 block_organized..... 150071 1536 block_validated..... 150072 1536 block_confirmed..... 150072 1536 block_organized..... 150072 1536
block_archived...... 150070 85 block_validated..... 150070 85 block_confirmed..... 150070 85 block_organized..... 150070 85
sudo sysctl vm.dirty_ratio=80 sudo sysctl vm.dirty_background_ratio=50 sudo sysctl vm.dirty_expire_centisecs=6000 sudo sysctl vm.dirty_writeback_centisecs=1000
block_organized..... 851185 43022 block_organized..... 851189 43487 block_organized..... 851190 43570 block_organized..... 851552 44175 block_organized..... 852078 44226(edited)
block_organized..... 898291 3862 block_confirmed..... 898292 3862 block_organized..... 898292 3862 block_confirmed..... 898293 3862 block_organized..... 898293 3862 block_confirmed..... 898294 3862 block_organized..... 898294 3862 block_confirmed..... 898295 3862 block_organized..... 898295 3862 block_confirmed..... 898296 3862 block_organized..... 898296 3862 block_confirmed..... 898297 3862 block_organized..... 898297 3862 block_confirmed..... 898298 3862 block_organized..... 898298 3862 block_confirmed..... 898299 3862 block_organized..... 898299 3862 block_confirmed..... 898300 3862 block_organized..... 898300 3862 block_confirmed..... 898301 3862 block_organized..... 898301 3862 block_confirmed..... 898302 3862 block_organized..... 898302 3862 block_confirmed..... 898303 3862 block_organized..... 898303 3862 block_confirmed..... 898304 3862 block_organized..... 898304 3862 block_confirmed..... 898305 3862 block_organized..... 898305 3862 block_confirmed..... 898306 3862 block_organized..... 898306 3862 block_confirmed..... 898307 3862 block_organized..... 898307 3862 block_confirmed..... 898308 3862 block_organized..... 898308 3862 block_confirmed..... 898309 3862 block_organized..... 898309 3862 block_confirmed..... 898310 3862 block_organized..... 898310 3862 block_confirmed..... 898311 3862full file
./install.sh --prefix=$HOME/libbitcoin --build-boost --build-secp256k1 --disable-shared --enable-avx2 --enable-shani --enable-sse41
On this call:
create_from_github bitcoin-core secp256k1 v0.7.0 yespush_directory "$BUILD_SRC_DIR"
this variable isn't assigned anywhere if [[ DISPLAY_VERBOSE ]]; then
VERBOSITY="VERBOSE=1"
fi
SEQUENTIAL=1
# Avoid setting -j1 (causes problems on single threaded systems [TRAVIS]).
if [[ $JOBS > $SEQUENTIAL ]]; then
make -j"$JOBS" "$@" $VERBOSITY
else
make "$@" $VERBOSITY
fiDISPLAY_VERBOSE is missing the $
> doesn't work for numbers, AFAIK. Should be -gtBUILD_SRC_DIR? It's not mentioned anywhere else