Hack Forums
[OMC] [TUTORIAL] SETUP AN OMNICOIN NODE ON WINDOWS VPS - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Money (https://hackforums.net/forumdisplay.php?fid=241)
+--- Forum: Crypto Currency (https://hackforums.net/forumdisplay.php?fid=380)
+--- Thread: [OMC] [TUTORIAL] SETUP AN OMNICOIN NODE ON WINDOWS VPS (/showthread.php?tid=4221189)



[TUTORIAL] SETUP AN OMNICOIN NODE ON WINDOWS VPS - VirusTotal - May 10, 2014

CLICK HERE FOR [TUTORIAL] SETUP AN OMNICOIN NODE ON UNIX VPS

Hi, welcome to my tutorial on how to setup a node on a Windows Vps.
  • What's a node?
A node is a computer connected to the omnicoin network using a client that relays transactions to others. Each Omnicoin client currently running within the network is referred to as a Node of the system.
Nodes help speed up confirmations and add reliability to the network.
(If you are searching for a good quality/price VPS check my signature)

You can join the Omnicoin network by keeping full node software running on your computer or dedicated server. Full nodes are securing and relaying all users' transactions. They can be compared to the backbone of the network.

INFOS:

Dependecies

Code
Name     |     Default Path     |     Download

OpenSSL     |     \openssl-1.0.1c-mgw     |     http://www.openssl.org/source/
Berkeley DB     |     \db-4.8.30.NC-mgw     |     http://www.oracle.com/technology/software/products/berkeley-db/index.html
Boost     |    \boost-1.50.0-mgw     |     http://www.boost.org/users/download/
miniupnpc     |     \miniupnpc-1.6-mgw     |     http://miniupnp.tuxfamily.org/files/

Code
Versions used in this release:
OpenSSL      1.0.1c
Berkeley DB  4.8.30.NC
Boost      1.50.0
miniupnpc    1.6

BUILD INSTRUCTIONS:

OpenSSL
MSYS shell:

un-tar sources with MSYS 'tar xfz' to avoid issue with symlinks (OpenSSL ticket 2377) change 'MAKE' env. variable from 'C:\MinGW32\bin\mingw32-make.exe' to '/c/MinGW32/bin/mingw32-make.exe'

Code
cd /c/openssl-1.0.1c-mgw
./config
make

Berkeley DB
MSYS shell:
Code
cd /c/db-4.8.30.NC-mgw/build_unix
sh ../dist/configure --enable-mingw --enable-cxx
make

Boost
DOS prompt:
Code
downloaded boost jam 3.1.18
cd \boost-1.50.0-mgw
bjam toolset=gcc --build-type=complete stage

MiniUPnPc
UPnP support is optional, make with USE_UPNP= to disable it.

MSYS shell:
Code
cd /c/miniupnpc-1.6-mgw
make -f Makefile.mingw
mkdir miniupnpc
cp *.h miniupnpc/

Omnicoin
DOS prompt:

MSYS shell:
Code
cd \omnicoin\src
mingw32-make -f makefile.mingw
strip omnicoin.exe

OmniCoin.conf EDIT
/root/.OmniCoin > Create "OmniCoin.conf" and paste this:
Code
rpcuser=PasteTheUsernameHere (OmniCoinrpc)
rpcpassword=PasteThePasswordHere
addnode=204.44.122.123
addnode=192.99.42.164
addnode=192.99.42.206
addnode=192.99.42.238
rpcport=43555
server=1
daemon=1

To check the node on OmniCoin-qt (graphic interface), go to Help < Debug Window < Console < "getpeerinfo".

(syncnode must be true)
[Image: BToRXDD.png]

Credits: Bitcoin Developers


* - Neat - May 10, 2014

What's the advantage for a guy like me to do this exactly ?


* - VirusTotal - May 10, 2014

(May 10, 2014 07:57 AM)ʜᴜʀʀʀ Wrote:  What's the advantage for a guy like me to do this exactly ?

No advantages.
Nodes help speed up confirmations and add reliability to the network.
They can be compared to the backbone of the network.

Personally I run a supernode for free. Is just an achievement for me. Helping Omnicoin network.

(If you are searching for a good quality/price VPS check my signature)


* - Neat - May 10, 2014

Okay I see, but that's not usefull for the VPS owner himself, but for entire OMC communauty right ?


* - VirusTotal - May 10, 2014

(May 10, 2014 08:04 AM)ʜᴜʀʀʀ Wrote:  Okay I see, but that's not usefull for the VPS owner himself, but for entire OMC communauty right ?

Yes, but in the same you can mine too, you can setup it as a VPN, you can use it as backup service, you can use it as hosting, tor relay, etc...


* - Headwiki - May 10, 2014

Wow really nice tutorial, would love to see some more threads like this!
Just purchased a server from your signature to set up a node right away😁


* - VirusTotal - May 10, 2014

(May 10, 2014 08:31 AM)Himler Wrote:  Wow really nice tutorial, would love to see some more threads like this!
Just purchased a server from your signature to set up a node right away😁

Good Job dude! BTW I suggest you use UNIX and follow my other tutorial: https://hackforums.net/showthread.php?tid=4212850

Ps: remember to pm OMC staff to add your node to the official list ;)


* - Neat - May 10, 2014

(May 10, 2014 08:07 AM)VirusTotal Wrote:  Yes, but in the same you can mine too, you can setup it as a VPN, you can use it as backup service, you can use it as hosting, tor relay, etc...

Is it worth to mine from this vps :)?

Btw I'm interrested by this project.


* - VirusTotal - May 10, 2014

(May 10, 2014 08:44 AM)ʜᴜʀʀʀ Wrote:  Is it worth to mine from this vps :)?

Btw I'm interrested by this project.

Vps mining is not that good imho.
1- Most of vps hosters disallow mining
2- Vps mines with CPU, CPU mining = shit
3- If you want to mine i advice you to buy a rig