@ -1,10 +1,10 @@
UNIX BUILD NOTES
====================
Some notes on how to build Bit coin in Unix.
Some notes on how to build Lite coin in Unix.
Note
---------------------
Always use absolute paths to configure and compile bit coin and the dependencies,
Always use absolute paths to configure and compile lite coin and the dependencies,
for example, when specifying the the path of the dependency:
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
@ -22,7 +22,7 @@ make
make install # optional
```
This will build bit coin-qt as well if the dependencies are met.
This will build lite coin-qt as well if the dependencies are met.
Dependencies
---------------------
@ -50,7 +50,7 @@ System requirements
--------------------
C++ compilers are memory-hungry. It is recommended to have at least 1 GB of
memory available when compiling Bit coin Core. With 512MB of memory or less
memory available when compiling Lite coin Core. With 512MB of memory or less
compilation will take much longer due to swap thrashing.
Dependency Build Instructions: Ubuntu & Debian
@ -94,7 +94,7 @@ Optional:
Dependencies for the GUI: Ubuntu & Debian
-----------------------------------------
If you want to build Bit coin-Qt, make sure that the required packages for Qt development
If you want to build Lite coin-Qt, make sure that the required packages for Qt development
are installed. Either Qt 4 or Qt 5 are necessary to build the GUI.
If both Qt 4 and Qt 5 are installed, Qt 4 will be used. Pass `--with-gui=qt5` to configure to choose Qt5.
To build without GUI pass `--without-gui` .
@ -111,12 +111,12 @@ libqrencode (optional) can be installed with:
sudo apt-get install libqrencode-dev
Once these are installed, they will be found by configure and a bit coin-qt executable will be
Once these are installed, they will be found by configure and a lite coin-qt executable will be
built by default.
Notes
-----
The release is built with GCC and then "strip bit coind" to strip the debug
The release is built with GCC and then "strip lite coind" to strip the debug
symbols, which reduces the executable size by about 90%.
@ -145,10 +145,10 @@ Berkeley DB
It is recommended to use Berkeley DB 4.8. If you have to build it yourself:
```bash
BIT COIN_ROOT=$(pwd)
LITE COIN_ROOT=$(pwd)
# Pick some path to install BDB to, here we create a directory within the bit coin directory
BDB_PREFIX="${BIT COIN_ROOT}/db4"
# Pick some path to install BDB to, here we create a directory within the lite coin directory
BDB_PREFIX="${LITE COIN_ROOT}/db4"
mkdir -p $BDB_PREFIX
# Fetch the source and verify that it is not tampered with
@ -163,8 +163,8 @@ cd db-4.8.30.NC/build_unix/
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
make install
# Configure Bit coin Core to use our own-built instance of BDB
cd $BIT COIN_ROOT
# Configure Lite coin Core to use our own-built instance of BDB
cd $LITE COIN_ROOT
./configure (other args...) LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/"
```
@ -181,7 +181,7 @@ If you need to build Boost yourself:
Security
--------
To help make your bit coin installation more secure by making certain attacks impossible to
To help make your lite coin installation more secure by making certain attacks impossible to
exploit even if a vulnerability is found, binaries are hardened by default.
This can be disabled with:
@ -205,7 +205,7 @@ Hardening enables the following features:
To test that you have built PIE executable, install scanelf, part of paxutils, and use:
scanelf -e ./bit coin
scanelf -e ./lite coin
The output should contain:
TYPE
@ -213,13 +213,13 @@ Hardening enables the following features:
* Non-executable Stack
If the stack is executable then trivial stack based buffer overflow exploits are possible if
vulnerable buffers are found. By default, bit coin should be built with a non-executable stack
vulnerable buffers are found. By default, lite coin should be built with a non-executable stack
but if one of the libraries it uses asks for an executable stack or someone makes a mistake
and uses a compiler extension which requires an executable stack, it will silently build an
executable without the non-executable stack protection.
To verify that the stack is non-executable after compiling use:
`scanelf -e ./ bit coin`
`scanelf -e ./ lite coin`
the output should contain:
STK/REL/PTL
@ -229,7 +229,7 @@ Hardening enables the following features:
Disable-wallet mode
--------------------
When the intention is to run only a P2P node without a wallet, bit coin may be compiled in
When the intention is to run only a P2P node without a wallet, lite coin may be compiled in
disable-wallet mode with:
./configure --disable-wallet