美文网首页
运行bitcoin

运行bitcoin

作者: AnubisAwooo | 来源:发表于2018-03-18 08:57 被阅读0次
yum -y install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
yum -y install gcc-c++ libtool make autoconf automake openssl-devel libevent-devel boost-devel libdb4-devel libdb4-cxx-devel 
yum -y install qt5-qttools-devel qt5-qtbase-devel protobuf-devel 
yum -y install boost-devel qt-devel protobuf-devel qrencode-devel libevent-devel libtool openssl-devel 
yum -y install git wget vim

下载源码

git clone https://github.com/bitcoin/bitcoin.git

需要的依赖
Dependencies


These dependencies are required:

Library Purpose Description
libssl Crypto Random Number Generation, Elliptic Curve Cryptography
libboost Utility Library for threading, data structures, etc
libevent Networking OS independent asynchronous networking

Optional dependencies:

Library Purpose Description
miniupnpc UPnP Support Firewall-jumping support
libdb4.8 Berkeley DB Wallet storage (only needed when wallet enabled)
qt GUI GUI toolkit (only needed when GUI enabled)
protobuf Payments in GUI Data interchange format used for payment protocol (only needed when GUI enabled)
libqrencode QR codes in GUI Optional for generating QR codes (only needed when GUI enabled)
univalue Utility JSON parsing and encoding (bundled version will be used unless --with-system-univalue passed to configure)
libzmq3 ZMQ notification Optional, allows generating ZMQ notifications (requires ZMQ version >= 4.x)

For the versions used, see dependencies.md

yum -y install boost-devel qt-devel protobuf-devel qrencode-devel libevent-devel libtool openssl-devel

wget 'http://download.oracle.com/berkeley-db/db-5.1.29.NC.tar.gz'
echo '08238e59736d1aacdd47cfb8e68684c695516c37f4fbe1b8267dde58dc3a576c db-5.1.29.NC.tar.gz' | sha256sum -c
tar -xzf db-5.1.29.NC.tar.gz
cd db-5.1.29.NC/build_unix/
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=/usr/local
make install

./autogen.sh
./configure --with-incompatible-bdb
make
make install

相关文章

网友评论

      本文标题:运行bitcoin

      本文链接:https://www.haomeiwen.com/subject/kikjqftx.html