Skip to content

Instantly share code, notes, and snippets.

@SmartArray
Last active October 21, 2019 11:49
Show Gist options
  • Save SmartArray/616f666b3ddbdaeb9ea085b31bc70895 to your computer and use it in GitHub Desktop.
Save SmartArray/616f666b3ddbdaeb9ea085b31bc70895 to your computer and use it in GitHub Desktop.
Install updated FairCoin Core node

Install updated faircoin core node

Clone git repository

git clone https://github.com/SmartArray/faircoin-1.git -b extended-headers
cd faircoin-1

This clones my repository including the new extension (branch: extended-headers).

Compile

./autogen.sh
./configure --disable-wallet
make

This compiles the whole application. --disable-wallet can be omitted if you want to use the wallet functionality (not necessary for my changes).

Refer to

Compiling the software on Windows is not documented. The original Bitcoin developers recommend cross-compilation on Ubuntu. I will try to prepare a Windows build.

Run the daemon

cd src
./faircoind -printtoconsole

The argument -printtoconsole can be replaced with -daemon if the process shall be run in the background.

Updating CVN

I took a peek into the source code and you were completely right, the CVN is a normal node, but with a FASITO. However, this means updating the CVNs isn't a problem either. Depending on how they were installed, we just have to use

git remote add YoshiJaeger https://github.com/SmartArray/faircoin-1.git
git pull YoshiJaeger extended-headers

and use make to compile my changes. Then it's just about restarting the cvn. If done correcly, this will be seemless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment