Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

135 Commits

Repository files navigation

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

Stars

35 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages