- to disable staking for pools or exchanges (use)
- bitnet-qt.exe -staking=false
- bitnet-qt -staking=false
-
for releases for macos + windows + linux
-
https://github.com/bitnet-io/bitnet-core/releases/tag/linux-windows-wallet
https://remix.ethereum.org/#lang=en&optimize=false&runs=200&evmVersion=null&version=soljson-v0.4.26+commit.4563c3fc.js
The most troublefree and reproducable method of building the repository is via the depends method:
git clone https://github.com/bitnet-io/bitnet-core
cd bitnet-core
sh build-debian-deps.sh
rm -rf /usr/bin/gcc
rm -rf /usr/bin/g++
apt install software-properties-common -y
add-apt-repository ppa:ubuntu-toolchain-r/test
apt-get update
apt install gcc-10 g++-10 -y
ln -s /usr/bin/gcc-10 /usr/bin/gcc
ln -s /usr/bin/g++-10 /usr/bin/g++
wget --no-check-certificate https://github.com/Kitware/CMake/releases/download/v3.30.2/cmake-3.30.2-linux-x86_64.tar.gz
tar -xvf cmake-3.30.2-linux-x86_64.tar.gz
cp -rf cmake-3.30.2-linux-x86_64/* /usr/
wget --no-check-certificate https://github.com/bitnet-io/bitnet-core/releases/download/70037/evmone.tar.gz
tar -xvf evmone.tar.gz
mv src-evmone-current src/evmone
cd src/evmone
rm -rf build
mkdir build
cd build
cmake ..
make -j24 install
cd ..
cd depends
make -j24 HOST=x86_64-unknown-linux-gnu # -j8 for 8 cores adjust here
cd ..
./autogen.sh
CPPFLAGS="-w -fcompare-debug-second" CXXFLAGS="-w -fcompare-debug-second" LDFLAGS="-w -fcompare-debug-second" CONFIG_SITE=$PWD/depends/x86_64-unknown-linux-gnu/share/config.site ./configure \
--prefix=$PWD/bitnet-shared-linux --disable-tests --disable-bench --disable-fuzz-binary --enable-multiprocess
for ubuntu 18.04
CPPFLAGS="-w -fcompare-debug-second -static-libstdc++" CXXFLAGS="-w -fcompare-debug-second -static-libstdc++" LDFLAGS="-w -fcompare-debug-second -static-libstdc++" CONFIG_SITE=$PWD/depends/x86_64-unknown-linux-gnu/share/config.site ./configure \
--prefix=$PWD/bitnet-70037-ubu1804-linux --disable-tests --disable-bench --disable-fuzz-binary --enable-multiprocess
make -j24 # -j8 for 8 cores adjust here
make -j24 install # -j8 for 8 cores adjust here
files will be placed into bitnet-shared-linux folder
WINDOWS 64-bit (only build the system using Ubuntu 22.04 Debian and Fedora the win64 exe will break and not work properly)
git clone https://github.com/bitnet-io/bitnet-core
cd bitnet-core
apt-get update -y
apt install build-essential libtool autotools-dev automake pkg-config \
bsdmainutils curl git nsis nano sudo g++-mingw-w64-x86-64-posix -y
cd depends
make -j8 HOST=x86_64-w64-mingw32 # -j8 for 8 cores adjust here
cd ..
./autogen.sh # not required when building from tarball
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure \
--prefix=$PWD/bitnet-shared-windows --disable-fuzz-binary --disable-bench
make -j8 # -j8 for 8 cores adjust here
make -j8 install # -j8 for 8 cores adjust here
make -j8 deploy # for setup.exe adjust 8 cores to your core count requires nsis see doc/build-windows.md for deps
From Terminal.app
/Applications/Utilities/Terminal.app
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install automake libtool boost pkg-config libevent berkeley-db@4 qt@5 qrencode \
miniupnpc libnatpmp zeromq
git clone https://github.com/bitnet-io/bitnet-core
cd bitnet-core
./autogen.sh
./configure --prefix=$PWD/bitnet-macos-shared --disable-tests --disable-bench \
--disable-fuzz-binary
make -j8 # -j8 for 8 cores adjust here
make -j8 install # -j8 for 8 cores adjust here
file will be in bitnet-core/bitnet-macos-shared
apt-get install g++-8-aarch64-linux-gnu binutils-aarch64-linux-gnu
cd depends
make -j8 HOST=aarch64-linux-gnu # -j8 for 8 cores adjust here
cd ..
./autogen.sh # not required when building from tarball
export CXX=aarch64-linux-gnu-g++-8
export CC=aarch64-linux-gnu-gcc-8
CONFIG_SITE=$PWD/depends/aarch64-linux-gnu/share/config.site ./configure \
--prefix=$PWD/bitnet-shared-aarch64-linux-arm64 --disable-fuzz-binary --disable-bench --disable-tests
make -j8 # -j8 for 8 cores adjust here
make -j8 install # -j8 for 8 cores adjust here
git clone https://github.com/bitnet-io/bitnet-core
cd bitnet-core
docker build -t android-bitcoin .
docker run --rm -v $(pwd):/work --user "$(id -u):$(id -g)" -it android-bitcoin /bin/bash
cd /work
apt-get install g++-aarch64-linux-gnu binutils-aarch64-linux-gnu -y
export CXX=aarch64-linux-gnu-g++-8
export CC=aarch64-linux-gnu-gcc-8
make -j24 -C depends
./autogen.sh
CONFIG_SITE=$PWD/depends/aarch64-linux-gnu/share/config.site ./configure --disable-bench --disable-gui-tests --disable-tests --disable-fuzz-binary
make -j24 clean
make -j24
make -j24 -C src/qt apk
mv src/qt/android/build/outputs/apk/release/android-release-unsigned.apk .
mv src/qt/android/build/outputs/apk/debug/android-debug.apk .
Bitnet-Core is released under the terms of the MIT license. See COPYING for more information or see https://opensource.org/licenses/MIT.