Menu

Tree [8c65fb] main /
 History

HTTPS access


File Date Author Commit
 .github 2021-02-27 unknown unknown [834226] First commit
 .tx 2021-02-27 unknown unknown [834226] First commit
 build-aux 2021-02-27 unknown unknown [834226] First commit
 contrib 2021-02-27 unknown unknown [834226] First commit
 depends 2021-02-27 unknown unknown [834226] First commit
 doc 2021-02-27 Bitcoin-Black-Core Bitcoin-Black-Core [618689] Delete release-notes.md
 share 2021-02-27 unknown unknown [834226] First commit
 src 2021-02-27 unknown unknown [834226] First commit
 test 2021-02-27 unknown unknown [834226] First commit
 .gitattributes 2021-02-27 unknown unknown [834226] First commit
 .gitignore 2021-02-27 unknown unknown [834226] First commit
 .travis.yml 2021-02-27 unknown unknown [834226] First commit
 CONTRIBUTING.md 2021-02-27 unknown unknown [834226] First commit
 COPYING 2021-02-27 unknown unknown [834226] First commit
 INSTALL.md 2021-02-27 unknown unknown [834226] First commit
 Makefile.am 2021-02-27 unknown unknown [834226] First commit
 README.md 2021-02-27 Bitcoin-Black-Core Bitcoin-Black-Core [8c65fb] Update README.md
 autogen.sh 2021-02-27 unknown unknown [834226] First commit
 configure.ac 2021-02-27 unknown unknown [834226] First commit
 libbitcoinblackconsensus.pc.in 2021-02-27 unknown unknown [834226] First commit

Read Me

Use the following instructions to compile a daemon and GUI wallet for Ubuntu Server 18.04.

Update your Ubuntu machine.

sudo apt-get update

sudo apt-get upgrade

Install the required dependencies.

sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 curl libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libboost-all-dev libboost-program-options-dev libminiupnpc-dev libzmq3-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev unzip doxygen cmake libgmp3-dev

Install Berkeley DB.

sudo add-apt-repository ppa:bitcoin/bitcoin

sudo apt-get update

sudo apt-get install libdb4.8-dev libdb4.8++-dev

Install BLS signatures.

cd ~/

wget https://github.com/codablock/bls-signatures/archive/v20181101.zip

unzip v20181101.zip

cd bls-signatures-20181101

cmake .

sudo make install

Create a directory for the source code.

cd ~/

mkdir source_code

cd source_code

Download the source code

wget "https://bitcoinblackcore.com/bitcoinblackcore-source.tar.gz" -O bitcoinblackcore-source.tar.gz

tar -xzvf bitcoinblackcore-source.tar.gz

Execute the following commands to start compiling.

./autogen.sh

./configure

make

The compiling will take about 60 minutes depending on your system hardware.

Your compiled GUI wallet named bitcoinblack-qt can be found in the folder “src/qt” when compiling is finished.

Client tools bitcoinblack-cl, bitcoinblack-tx and the daemon bitcoinblackd can be found in the folder “src” when compiling is finished.

WINDOWS Build a 32-bit wallet

Install the following dependencies.

sudo apt install g++-mingw-w64-i686 mingw-w64-i686-dev

Set the default i686-w64-mingw32-gcc and i686-w64-mingw32-g++ compiler option to posix.

sudo update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix

sudo update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix

Build i686-w64-mingw32-g++.

PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g')

cd depends

The following command will take +/- 30 minutes to complete.

make HOST=i686-w64-mingw32

cd ..

Execute the following commands to compile the wallet.

./autogen.sh

CONFIG_SITE=$PWD/depends/i686-w64-mingw32/share/config.site ./configure --prefix=/

make

The compiling will take about 60 minutes depending on your system hardware.

WINDOWS Build a 64-bit wallet

Install the following dependencies.

sudo apt install g++-mingw-w64-x86-64

Set the default x86_64-w64-mingw32-g++ compiler option to posix.

sudo update-alternatives --config x86_64-w64-mingw32-g++

Build x86_64-w64-mingw32-g++.

PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g')

cd depends

The following command will take +/- 30 minutes to complete.

make HOST=x86_64-w64-mingw32

cd ..

Execute the following commands to compile the wallet.

./autogen.sh

CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/

make

The compiling will take about 60 minutes depending on your system hardware.