Author

Topic: [ANN] CRAVE 1st POS Masternodes | Dark Assets | I2P | Market =Embrace The Dark= - page 504. (Read 826757 times)

full member
Activity: 140
Merit: 100
can someone help make a page somewhere that has all the mn setup info, reward and costs etc ... maybe add it on crave fb...so when anyone asks we can easily point them there Smiley

what about this. its laid out pretty nice. do not know if dev has created it but dev should be able to edit the page. got its own chatroom too

http://digitalcurrencyinvestors.com/2015/04/crave-coin-3/
legendary
Activity: 938
Merit: 1000
All my steps from everything I've read, in the spirit of Liberty or Die - feel free to re-use this guide however you like!

*Be sure to read Additional Notes & Updates to the guide at the bottom first
Forgive me - I just haven't had time to incorporate them into the guide yet & I'm doing this for free!!


1. Set up Masternode computer Note: if using TOR, might not have to expose ports!
#Set up portforwarding on router to computer/ip port 9999

Code:
sudo apt-get update
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev automake libdb++-dev libssl-dev git
sudo apt-get install ufw
ufw allow ssh/tcp
ufw limit ssh/tcp #this command limits SSH connections to 6 every 30 seconds for greater security---
ufw allow 9999/tcp
ufw logging on
ufw enable


2. Install Tor & Configure torrc on Masternode computer

Get the latest version of Tor:
add this line to your /etc/apt/sources.list file
Code:
deb     http://deb.torproject.org/torproject.org  main

Then add the gpg key used to sign the tor packages by running the following commands at your command prompt:
Code:
gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -

Code:
sudo apt-get update

Install Debian package to help you keep Tor signing key current:
Code:
apt-get install deb.torproject.org-keyring

To finally install Tor:
Code:
apt-get install tor

#Check that the Tor service is running on port 9050:
Code:
ss -aln | grep 9050
If not running, then:
sudo /etc/init.d/tor start

#Make directory that is readable/writeable by the user that will be running Tor.
Code:
mkdir /home/username/hidden_service/

#Configure torrc, usually found in /etc/tor
#add the following & save:
Code:
nano /etc/tor/torrc

    HiddenServiceDir /home/username/hidden_service/
    HiddenServicePort 9999 127.0.0.1:9999

#Restart Tor
Code:
sudo /etc/init.d/tor stop
sudo /etc/init.d/tor start

#Make note of created *hiddenservicename*.onion in:
Code:
/var/lib/tor/YOURHIDDENSERVICENAME/hostname


3. Configure Local/Cold wallet & Generate masternodeprivkey

#Go to Debug window > Console

Code:
masternode genkey
getaccountaddress 0


#Make note of masternode key and accountaddress
#Send 500 crave to the accountaddress

Code:
nano ~/.crave/crave.conf

#Paste the following:

Code:
rpcuser=MAKEUPNAME
rpcpassword=MAKEUPPASSWORD
rpcallowip=127.0.0.1
rpcport=USEDIFFERENTPORTNUMFOREACHCLIENT
port=9999
listen=0
server=1
daemon=1
logtimestamps=1
masternode=1
masternodeprivkey=MASTERNODEKEYFROMCONSOLE
masternodeaddr=HIDDENSERVICENAME.ONION:9999

# Save / Write out the file


4. Configure the Masternode computer "craved daemon"

#First build secp256ki
Code:
git clone https://github.com/bitcoin/secp256k1.git
cd secp256k1
./autogen.sh
./configure
make
./tests  #optional
sudo make install
sudo ldconfig

#Get the crave daemon:
Code:
git clone https://github.com/industrialcoinmagic/crave.git

#Take the following steps to build daemon (no UPnP support):
Code:
cd ~/crave/src
make -f makefile.unix USE_UPNP=
strip craved

#Run ./craved and let it sync:
Code:
./craved
./craved getinfo | grep blocks #to find current block number & compare to blockexplorer

Code:
nano ~/.crave/crave.conf

#Paste the following:

Code:
rpcallowip=127.0.0.1
rpcuser=MAKEUPYOUROWNUSERNAME
rpcpassword=MAKEUPYOUROWNPASSWORD
rpcport=MAKEUPYOUROWNPORT
server=1
daemon=1
listen=1
staking=0
port=9999
masternodeaddr=HIDDENSERVICENAME.ONION:9999
masternode=1
masternodeprivkey=MASTERNODEKEYFROMCONSOLE

# Save / Write out the file


5. Last step

#Start the masternode daemon
Code:
./craved -conf=~/.crave/crave.conf

#Then start the local/cold wallet with tor option
Code:
./crave-qt -tor=127.0.0.1:9050

#Start masternode go to Debug > console
Code:
masternode start

#Check if the masternode is running correctly:
Code:
./craved  masternode list | grep YOUR-IP

#If working:
Code:
YOURIPSERVICENAME:1

Additional Notes:


Added already to guide -  you might want to use the tor packages provided here: https://www.torproject.org/docs/debian.html.en to make sure it's up to date

for multiple nodes you duplicate the service config like this:

HiddenServiceDir /home/username/hidden_service1/
HiddenServicePort 9999 127.0.0.1:9999

HiddenServiceDir /home/username/hidden_service2/
HiddenServicePort 9999 127.0.0.1:9998

HiddenServiceDir /home/username/hidden_service3/
HiddenServicePort 9999 127.0.0.1:9997

the hot machine's config needs that changing port as it's rpcport. masternodeaddr's port is 9999. either listen=0 or changing port is needed to keep them from clashing if doing multiple.

you can add the tor= part to cold config so you don't need to specify each time you run the client.


For Linux Setup WITHOUT TOR

You can change the port and setup more if you want. You will need to have multiple copies of the datadir and your crave-qt
rpcport and port have to be different ports.  port is for the P2P communication, rpcport is for local rpc connections.

Something like this for your bash shell script files and make sure you have a folder to hold the data for each running MN.

Remember to do chmod +x on each shell script file!

StartMasterNode1.sh
#!/bin/bash  
./crave-qt -datadir=/home/user/SubFolders/CraveMasterNode1

StartMasterNode2.sh
#!/bin/bash  
./crave-qt -datadir=/home/user/SubFolders/CraveMasterNode2

StartMasterNode3.sh
#!/bin/bash  
./crave-qt -datadir=/home/user/SubFolders/CraveMasterNode3

Crave Master Node 1 Config

Code:
maxconnections=100
rpcuser=YourRPCUser
rpcpassword=YourRPCPassword
rpcport=9970
port=9999
gen=0
server=1
daemon=1
staking=0
reservebalance=9999999
masternodeaddr=YouIPAddress:9999
masternode=1
masternodeprivkey=YourMasterKey
rpcallowip=127.0.0.1


Crave Master Node 2 Config

Code:
maxconnections=100
rpcuser=YourRPCUser
rpcpassword=YourRPCPassword
rpcport=9971
port=9998
gen=0
server=1
daemon=1
staking=0
reservebalance=9999999
masternodeaddr=YouIPAddress:9998
masternode=1
masternodeprivkey=YourMasterKey
rpcallowip=127.0.0.1


Crave Master Node 3 Config

Code:
maxconnections=100
rpcuser=YourRPCUser
rpcpassword=YourRPCPassword
rpcport=9972
port=9997
gen=0
server=1
daemon=1
staking=0
reservebalance=9999999
masternodeaddr=YouIPAddress:9997
masternode=1
masternodeprivkey=YourMasterKey
rpcallowip=127.0.0.1


full member
Activity: 155
Merit: 100
can someone help make a page somewhere that has all the mn setup info, reward and costs etc ... maybe add it on crave fb...so when anyone asks we can easily point them there Smiley

dont suppose wants to make a video screen shot tutorial..

the easier this is the more people will get involved

Strong holders crave for $10-$25
legendary
Activity: 1428
Merit: 1001
Fucker of "the system"
can someone help make a page somewhere that has all the mn setup info, reward and costs etc ... maybe add it on crave fb...so when anyone asks we can easily point them there Smiley

if someone wants to write a guide i can post ti to webpage and facebook etc
legendary
Activity: 1428
Merit: 1001
Fucker of "the system"
legendary
Activity: 2758
Merit: 1075
Quote

Ya very nice!  And I'm assuming that's on 5 different machines sitting behind different IP addresses?  Dev hasn't added functionality to run multiple multinodes on one machine all sitting behind one IP correct?

Hm. If the wallet somehow gets compromised, in this setup all would be lost.
i havent tested this but do check it out
thanks to rocoro


Run each client instance with a different rpcport and in the hidden service config each serive as 9999 -> 127.0.0.1:actualport. set listen=0 so they don't try to clash on the same port. Specify port 9999 in the masternodeaddr. If doing a hot/cold you need to add tor=127.0.0.1:9050 to the cold wallet's config and it needs tor installed also. I've tested this and gotten it working in 2 vms on one machine (1 vm for hot, 1 for cold) and set up 2mn then shut down the cold vm and got payments for both.

With the default tor config(as a client, not a relay) tor makes outgoing connections only, so you don't even need any exposed ports for that setup, and can block all incoming traffic with iptables
legendary
Activity: 2758
Merit: 1075
can someone help make a page somewhere that has all the mn setup info, reward and costs etc ... maybe add it on crave fb...so when anyone asks we can easily point them there Smiley
sr. member
Activity: 462
Merit: 250

I'm not buying the 'luck' aspect. My MN ip is there on the list and has been for 9 hours now. No payments. There's gotta be something I missed or didn't click. What's this 'Reserved amount' business? Mine is at 9999999; should it be 0?

Jesse,
Someone a while back submitted the instructions below.  Did you do all of these steps?  Not sure how accurate they are.  I'm going to try this tonight once I get off work, but below it's saying that reservebalance should be set to 9999999:

Here are instructions on how to set up a masternode in Windows environment:

Start up and sync your wallet.  
Open debug console, type: masternode genkey
Copy output key into a text file to be used later
Then, in debug console type: getaccountaddress 0
Copy output address into a text file to be used later
Send 500 CRAVE to address output above, no more, no less.  Exactly 500.
Close Wallet
Create/Edit crave.conf:
Code:
maxconnections=100
rpcuser=solo
rpcpassword=user
rpcport=9999
gen=0
server=1
daemon=1
reservebalance=9999999
masternodeaddr=YOUR_IP:9999
masternode=1
masternodeprivkey=KEY GENERATED BY COMMAND
rpcallowip=127.0.0.1
 
Save
Wait  15 blocks (see confirmations from wallet you sent 500 CRAVE)
To start masternode wallet, open debug console and type: masternode start

Yes, did those steps. My IP shows up on the list of masternodes. This is probably just terribly bad luck to start out.
full member
Activity: 234
Merit: 100
sr. member
Activity: 382
Merit: 250
no mac wallet yet?


Mac wallet is still coming just ran into some issues with this
Code:
fatal error: './secp256k1-src/include/secp256k1.h'

Creating homebrew install for secp256k1 branch used in Crave
legendary
Activity: 1540
Merit: 1002
I was half expecting CRAVE's volume to dramatically drop off after peaking at around 450 BTC on Bittrex last night - it seems to be holding just under 400 quite well.

Maybe our American cousins can keep the momentum running - NY still waking up with with a post-9am coffee, LA coming in the next couple of hours.

Well, if people start reporting significant payouts for running MN, hopefully that'll be an incentive to not dump.
legendary
Activity: 1540
Merit: 1002

I'm not buying the 'luck' aspect. My MN ip is there on the list and has been for 9 hours now. No payments. There's gotta be something I missed or didn't click. What's this 'Reserved amount' business? Mine is at 9999999; should it be 0?

Jesse,
Someone a while back submitted the instructions below.  Did you do all of these steps?  Not sure how accurate they are.  I'm going to try this tonight once I get off work, but below it's saying that reservebalance should be set to 9999999:

Here are instructions on how to set up a masternode in Windows environment:

Start up and sync your wallet.  
Open debug console, type: masternode genkey
Copy output key into a text file to be used later
Then, in debug console type: getaccountaddress 0
Copy output address into a text file to be used later
Send 500 CRAVE to address output above, no more, no less.  Exactly 500.
Close Wallet
Create/Edit crave.conf:
Code:
maxconnections=100
rpcuser=solo
rpcpassword=user
rpcport=9999
gen=0
server=1
daemon=1
reservebalance=9999999
masternodeaddr=YOUR_IP:9999
masternode=1
masternodeprivkey=KEY GENERATED BY COMMAND
rpcallowip=127.0.0.1
 
Save
Wait  15 blocks (see confirmations from wallet you sent 500 CRAVE)
To start masternode wallet, open debug console and type: masternode start
sr. member
Activity: 333
Merit: 250
i just went to toilet and pooped
huge potential
1 bio marketcap easy
member
Activity: 98
Merit: 10
I <3 Alts
I was half expecting CRAVE's volume to dramatically drop off after peaking at around 450 BTC on Bittrex last night - it seems to be holding just under 400 quite well.

Maybe our American cousins can keep the momentum running - NY still waking up with with a post-9am coffee, LA coming in the next couple of hours.
legendary
Activity: 1540
Merit: 1002
Just bought up 500 Crave on Bittrex I see potential in this.

Um... yes!
sr. member
Activity: 462
Merit: 250

I'm not buying the 'luck' aspect. My MN ip is there on the list and has been for 9 hours now. No payments. There's gotta be something I missed or didn't click. What's this 'Reserved amount' business? Mine is at 9999999; should it be 0?
legendary
Activity: 1453
Merit: 1030
Quote

Ya very nice!  And I'm assuming that's on 5 different machines sitting behind different IP addresses?  Dev hasn't added functionality to run multiple multinodes on one machine all sitting behind one IP correct?

Hm. If the wallet somehow gets compromised, in this setup all would be lost.
sr. member
Activity: 364
Merit: 250
Just bought up 500 Crave on Bittrex I see potential in this.
legendary
Activity: 1540
Merit: 1002

Well I don't think that's that bad!  So looking at this, you've got about 34 coins in like about a 24 hour period running 5 MN?  So at the current price per coin of $.52 that's $17.68?  Am I correct on that or way off? lol

that was within 10hrs only from starting the node (most of the payments) that is very nice  Grin

Ya very nice!  And I'm assuming that's on 5 different machines sitting behind different IP addresses?  Dev hasn't added functionality to run multiple multinodes on one machine all sitting behind one IP correct?
sr. member
Activity: 462
Merit: 250

I mean a full guide including how to build craved remotely etc. I tried to use TAO dash guide but we don't have a built linux craved.  I tried yesterday and gave up due to having to go out. Got at least 5 nodes to set up.   

Exactly how far I got before quitting.
Jump to: