Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Triangles [TRI] - low supply X13 PoS over TOR with secure messaging
by
whalebone
on 19/04/2021, 18:10:05 UTC
Here is a complete build recipe direct from Wurstgelee for building trianglesd. Wurstgelee included details for working with iquidus block explorer. After downgrading SSL for compile, you can install SSL 1.1.1 using sudo apt-get install libssl-dev.

sudo apt-get update
sudo apt-get upgrade           

sudo apt-get install libqt4-designer libqt4-opengl libqt4-svg libqtgui4 libqtcore4 libqtwebkit4 qt4-dev-tools libqt4-dev gcc-4.9
sudo apt-get install build-essential libssl-dev libdb-dev libdb++-dev libqrencode-dev  libevent-dev libminiupnpc-dev libboost-dev liblevedb-dev libboost-all-dev

#fix gcc version https://t.co/Gf8iyTP82E

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 10 \
    --slave /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-4.9 \
    --slave /usr/bin/gcc-nm gcc-nm /usr/bin/gcc-nm-4.9 \
    --slave /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-4.9

sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 10

###downgrade ssl

sudo apt remove libssl-dev

cd /opt/build

wget https://t.co/bmimHJkfVs
 
dpkg -i ./libssl-dev_1.0.2g-1ubuntu4.19_amd64.deb

#(https://t.co/yr97vIF3mC)   

###trianglesd code to work with iquidus:

Remove line from src/rpcrawtransaction.cpp :

entry.push_back(Pair("time", (int64_t)pindex->nTime));

and recompile it. you will find this line between 90 to 100 number of line it's a easy and fast solutions

###  build trianglesd

sudo apt-get install git

cd /opt/build
git clone https://t.co/Ayzmewquew

cd triangles/src/leveldb
chmod +x build_detect_platform
make clean
make libleveldb.a libmemenv.a

cd ..
mkdir obj
make CC=gcc-4.9 -f makefile.unix

mkdir /opt/trianglesd

#copy daemon to /opt/trianglesd
cd /opt/trianglesd
wget https://t.co/38BXe6Sl7L
unzip https://t.co/zkCWucfy1b
rm -rf https://t.co/ogbZp4anrI

#firewall:
iptables -I INPUT -p tcp --dport 24112 --syn -j ACCEPT
iptables-save

cd /opt/trianglesd
./trianglesd -loadblock=./bootstrap.dat -daemon