I'm glad to write here again : my last post was 6 months:
https://bitcointa.lk/threads/digibyte-dgb-digishield-v2-0-now-live-mandatory-update.233281/page-373 Well in this time, I'm posting a guide to compile Digibyte on FreeBSD 10 x86-64, using stock C/C++ compiler (Clang) :
How to build Digibyte on FreeBSD 10 x86 641) cd /usr/src/ports/devel/boost-all/ && make install clean
2) cd /usr/src/ports/databases/db48/ && make install clean
3) cd /usr/src/ports/devel/protobuf/ && make install clean
4) Download Digibyte from GitHub
4.1) git clone
https://github.com/digibyte/DigiByteProject.git5) Apply patches :
5.1) cd DigibyteProject/src
5.2) patch scrypt-sse2.cpp < patch_scrypt-sse2.cpp.diff
5.3) patch scrypt.cpp < patch_scrypt.cpp.diff
5.4) patch scrypt.h < patch_scrypt.h.diff
5.5) patch util.h < patch_util.h.diff
6) Compile Digibiyte :
6.1) cd ..
6.2) ./autogen.sh
6.3) ./configure --disable-tests
6.4) gmake -j [number of cpu cores]
7) Manual install binary:
7.1) cd src && cp -v digibyte* [ your location/directory ]
Create a digibyte.conf file in the binary file location , for example:
8.1) nano /home/digibyte/.digibyte/digibyte.conf
add:
rpcallowip=*
rpcuser=yourusername
rpcpassword=yourpassword
server=1
daemon=1
txindex=1
debug=1
algo=scrypt [this option could be : sha256d, qubit, skein, scrypt or groestl]
rpcport=14022
port=12024
addnode=216.250.125.121
addnode=74.208.230.160
addnode=69.164.206.169
addnode=192.99.215.234
addnode=54.204.36.33
addnode=192.99.41.108
addnode=199.83.128.91
addnode=199.83.132.91
9) run digibyted, wait for client sync
10) You can manage digibyte wallet with digibyte-cli for example
./digibyte-cli -rpcconnect=192.168.0.10 -rpcport=14022 -rpcuser=yourusername -rpcpassword=yourpassword [command]
or
./digibyte-cli -rpcconnect=192.168.0.10 -rpcport=14022 -rpcuser=yourusername -rpcpassword=yourpassword help
11) and Enjoy
...
Patch files:
patch_scrypt-sse2.cpp.diff :
http://www.heypasteit.com/clip/1JK6patch_scrypt.cpp.diff :
http://www.heypasteit.com/clip/1JK7patch_scrypt.h.diff :
http://www.heypasteit.com/clip/1JK8patch_util.h.diff :
http://www.heypasteit.com/clip/1JK9