Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
doc
 
 
src
 
 
 
 

Official C++ implementation of the Six Domain Chain

How to compile SDChain-Core in Ubuntu

1、Download source code

Download SDChain-Core src from https://github.com/SDChain/SDChain-Core.git

2、Compile

(1) Install dependents

cd sdchaind/Builds/Ubuntu/

chmod +x install_boost.sh

chmod +x install_sdchaind_depends_ubuntu.sh

cd sdchaind

sudo Builds/Ubuntu/install_sdchaind_depends_ubuntu.sh

sudo Builds/Ubuntu/install_boost.sh

(2) Edit profile

vi /etc/profile

Add BOOST_ROOT=/path/to/sdchaind/boost_1_63_0

export BOOST_ROOT

to the tail, Save and then:

source /etc/profile

(3) compile

cd sdchain/ 
scons

this step may take 10 minutes,When show "scons:done building targets",it means being compiled successfully。

(4) Add config files

mkdir /etc/opt/sdchain/

cp sdchaind/doc/sdchaind-example.cfg /etc/opt/sdchain/sdchaind.cfg

cp sdchaind/doc/validators-example.txt /etc/opt/sdchain/validators.txt

(5) Optimize operation system

vim /etc/security/limits.conf

Add

*     soft     nofile     65535

*     hard     nofile    65535

to the tail,then save.

3、Run sdchaind

cd sdchain/

./build/sdchaind -a --start

About

Official C++ implementation of the Six Domain Chain

Resources

Packages

No packages published