Post
Topic
Board Announcements (Altcoins)
Re: [ANN][UTIL] UtilityCoin - x13 POS - New Developer
by
ruleland
on 12/01/2015, 00:20:21 UTC
UtilityCoin update 2015-01-11 (Node system testnet)

The updated wallet with the node system code is test ready, if you would like to help out testing, download any of the following wallets
TESTNET ONLY (or at your own risk on mainnet)

before doing anything else, create a backup of your mainnet wallet and store it at a secure location

utilitycoin-linux-0.2.1.2.tar.gz
utilitycoin-win-0.2.1.3.zip

When your wallet is downloaded, start by setting up a Control Node

Control node (Part 1)

In your UtilityCoin.conf add the following parameters
Code:
server=1
daemon=1
port=port number of choice
rpcport=port number of choice
rpcuser=long random text
rpcpassword=long random text
testnet=1
irc=0
logtimestamps=1
controlnode=1
addnode=104.207.139.164:39998
addnode=104.156.251.225:39998

make sure you use:
testnet=1
controlnode=1

start the control node, and let it sync. After syncing, create an address you want to receive some tUTIL, and pm me the address either on bitcointalk or on slack (I have already mined the testnet).

run the command "generatesharedkey" either in the console or through the daemon. copy the generated key to a texteditor. Create as many keys as service nodes you want to run.

Service node
now run another wallet, either locally or on a remote location (remote location is advised) and in your UtilityCoin.conf add the following parameters

Code:
server=1
daemon=1
rpcuser=long random text
rpcpassword=long random text
port=39998
listen=1
irc=0
testnet=1
logtimestamps=1
servicenode=1
sharedkey=generated shared key generated earlier in the control node wallet
addnode=104.207.139.164:39998
addnode=104.156.251.225:39998

make sure you use:
testnet=1
servicenode=1

Control node (Part 2)

after receiving the tUTIL, create as many addresses as service nodes you want to run.
send a transaction of exactly 2500 tUTIL to each address.

In your UtilityCoin.conf add the following parameters
Code:
addslavenode=alias1;wallet address 1;generated shared key 1;ip:39998;
addslavenode=alias2;wallet address 2;generated shared key 2;ip:39998;
.
.
.
addslavenode=aliasN;wallet address N;generated shared key N;ip:39998;


(wallet address entered here will be locked and excluded from staking)

after this you are all set, and you can start the control node

run the command "listservicenodes"  either in the console or through the daemon.

this should list all the nodes you added in the UtilityCoin.conf with addslavenode. If nothing is listed something is wrong in the conf file.

then run "startservicenodes" and check if every node has started

when running "listservicenodes" again you can check if the node is started or still processing (it can take 5 minutes before the node is registered as started).

UtilityCoin update 2015-01-12