Skip to content

Instantly share code, notes, and snippets.

@Gnappuraz
Created May 6, 2019 12:46
Show Gist options
  • Select an option

  • Save Gnappuraz/e02c2781478b238a793d2e644923564a to your computer and use it in GitHub Desktop.

Select an option

Save Gnappuraz/e02c2781478b238a793d2e644923564a to your computer and use it in GitHub Desktop.
Prepare bitcoin dev node
sudp apt-get update
sudo apt-get install -y build-essential libtool autotools-dev automake pkg-config bsdmainutils python3
sudo apt-get install -y libboost-system-dev libboost-filesystem-dev libboost-chrono-dev \
libboost-program-options-dev libboost-test-dev libboost-thread-dev parallel python
./contrib/install_db4.sh `pwd`
export BDB_PREFIX=$(pwd)'/db4'
./autogen.sh
./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" --enable-debug
make CFLAGS='-g -O0' CXXFLAGS='-g -O0 -std=c++11' -j12;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment