put LBRYcrd in README, and add instructions for building an exact copy of the official binaries
This commit is contained in:
parent
c5b589c33d
commit
1f438bd9f6
2 changed files with 44 additions and 3 deletions
11
README.md
11
README.md
|
@ -1,9 +1,14 @@
|
||||||
Bitcoin Core integration/staging tree
|
LBRYcrd integration/staging tree
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/bitcoin/bitcoin.svg?branch=master)](https://travis-ci.org/bitcoin/bitcoin)
|
http://lbry.io
|
||||||
|
|
||||||
https://www.bitcoin.org
|
What is LBRYcrd?
|
||||||
|
----------------
|
||||||
|
|
||||||
|
LBRYcrd is a fork of bitcoin core designed for use in the LBRY network.
|
||||||
|
|
||||||
|
LBRYcrd uses a blockchain similar to bitcoin's to implement a unique naming system in which the person who dedicates the largest amount of LBC to a name has control over that name.
|
||||||
|
|
||||||
What is Bitcoin?
|
What is Bitcoin?
|
||||||
----------------
|
----------------
|
||||||
|
|
36
reproducable-build
Executable file
36
reproducable-build
Executable file
|
@ -0,0 +1,36 @@
|
||||||
|
sudo apt-get install build-essential python-dev libbz2-dev libtool autotools-dev autoconf git pkg-config
|
||||||
|
mkdir dependencies
|
||||||
|
cd dependencies
|
||||||
|
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
|
||||||
|
tar xf db-4.8.30.NC.tar.gz
|
||||||
|
export BDB_PREFIX="`pwd`/bdb"
|
||||||
|
cd db-4.8.30.NC/build_unix
|
||||||
|
../dist/configure --prefix=$BDB_PREFIX --enable-cxx --disable-shared --with-pic
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
cd ../../
|
||||||
|
wget https://www.openssl.org/source/openssl-1.0.1p.tar.gz
|
||||||
|
tar xf openssl-1.0.1p.tar.gz
|
||||||
|
export OPENSSL_PREFIX="`pwd`/openssl_build"
|
||||||
|
cd openssl-1.0.1p
|
||||||
|
./Configure --prefix=$OPENSSL_PREFIX --openssldir=$OPENSSL_PREFIX/ssl [linux-generic32/linux-x86_64] -fPIC -static no-shared no-dso
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${OPENSSL_BUILD}/lib/pkgconfig/"
|
||||||
|
cd ..
|
||||||
|
wget http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.bz2/download -O boost_1_59_0.tar.bz2
|
||||||
|
tar xf boost_1_59_0.tar.bz2
|
||||||
|
cd boost_1_59_0
|
||||||
|
export BOOST_ROOT=`pwd`
|
||||||
|
./bootstrap.sh
|
||||||
|
./b2 link=static cxxflags=-fPIC stage
|
||||||
|
cd ../../
|
||||||
|
git clone https://github.com/lbryio/lbrycrd
|
||||||
|
cd lbrycrd
|
||||||
|
./autogen.sh
|
||||||
|
./configure --without-gui LDFLAGS="-L${OPENSSL_PREFIX}/lib/ -L${BDB_PREFIX}/lib/ -static-libstdc++" CPPFLAGS="-I${OPENSSL_PREFIX}/include -I${BDB_PREFIX}/include"
|
||||||
|
make
|
||||||
|
strip src/lbrycrdd
|
||||||
|
strip src/lbrycrd-cli
|
||||||
|
strip src/lbrycrd-tx
|
||||||
|
strip src/test/test-lbrycrd
|
Loading…
Reference in a new issue