Post
Topic
Board Announcements (Altcoins)
Merits 3 from 1 user
Re: [ANN][RIC] Riecoin: constellations POW *CPU* HARD FORK successful, world record
by
BitcoinFX
on 05/06/2019, 13:33:51 UTC
⭐ Merited by xandry (3)
I created a GMP branch that replaces bignum with GMP. This should eliminate compile errors when using newer versions of libssl. I have tested on Ubuntu 16.04 and 18.04 with libssl 1.1. I was able to sync from scratch and have been running for a couple days with no issues.

I haven't updated the build system. For now you need to compile using ./configure LIBS=-lgmp
Can someone help with this?

I have tested in my two vps, Ubuntu 18.04 with libssl 1.1.

$ git clone https://github.com/riecointeam/riecoin -b GMP riecoin-gmp
$ cd riecoin-gmp
$ ./autogen.sh
$ ./configure LIBS=-lgmp
$ make
$ ~/riecoin-gmp/src/riecoind

It's running with no issues.


Building riecoind on gapcoin.club nodes (currently running Ubuntu 16.04) ... above proved to be a bit 'tricky' ... hope to upgrade nodes to 18.04 before the year end though.  Wink

From:
- https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md

Build requirements:

Code:
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3
Code:
sudo apt-get install libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev

+

Code:
sudo apt-get install libboost-all-dev

Toolchain:

Code:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
Code:
sudo apt-get update
Code:
sudo apt-get install gcc-4.9
Code:
sudo apt-get upgrade libstdc++6

Update and tidy up:

Code:
sudo apt-get update && sudo apt-get autoremove && sudo apt-get dist-upgrade && sudo apt-get autoremove && sudo ldconfig && sudo apt-get clean

Berkeley DB:

Code:
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
Code:
echo '12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef  db-4.8.30.NC.tar.gz' | sha256sum -c

Code:
tar -xvf db-4.8.30.NC.tar.gz
Code:
cd db-4.8.30.NC/build_unix
Code:
mkdir -p build
Code:
BDB_PREFIX=$(pwd)/build
Code:
../dist/configure --disable-shared --enable-cxx --with-pic --prefix=$BDB_PREFIX
Code:
make install
Code:
cd ../..

Useful link:
- https://bitzuma.com/posts/compile-bitcoin-core-from-source-on-ubuntu/

Riecoind (No GUI):

Code:
git clone https://github.com/riecointeam/riecoin
Code:
cd riecoin
Code:
./autogen.sh
Code:
./configure CPPFLAGS="-I${BDB_PREFIX}/include/ -O2" LDFLAGS="-L${BDB_PREFIX}/lib/" --without-gui --without-miniupnpc
Code:
make
Code:
./src/riecoind

etc., etc.,

Node list soon... Downloading the blockchain... Once complete I will enable Riecoin on Tor v3 .onions and fully port forward the nodes. I have to reset each iptables firewall as each node also has a unique Tor Bridge port. Announcement via gapcoin.club soon.

Cheers!