Bitcoin Forum
June 01, 2024, 02:10:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [32] 33 34 »
  Print  
Author Topic: WOC2 - WarOfCoins - MASTERNODES  (Read 31551 times)
bankmyrik10
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
July 09, 2015, 07:05:52 PM
 #621

sgminer.exe --algorithm darkcoin-mod -o http://127.0.0.1:18450 -u bankmyrik -p x -E 1
My bat do not work in solo.
127.0.0.1 slow/down or URL or credentials invalid.
Tell me what my problem?
WarofCoins (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
July 09, 2015, 07:50:12 PM
 #622

sgminer.exe --algorithm darkcoin-mod -o http://127.0.0.1:18450 -u bankmyrik -p x -E 1
My bat do not work in solo.
127.0.0.1 slow/down or URL or credentials invalid.
Tell me what my problem?


This coin is POS only.
jc12345
Legendary
*
Offline Offline

Activity: 1638
Merit: 1013


View Profile
July 10, 2015, 03:02:04 AM
Last edit: July 10, 2015, 08:35:22 AM by jc12345
 #623

Guide to setup a masternode

This guide will work with most coins if you replace the relevant coin specific references. Different coins have different methods in the wallet to get the masternode info and it is possible to get that info by clicking on the wallet buttons, or to execute certain commands in the debug menu. You can use whatever method you chose to get the masternode private key and the collateral address. This guide also assumes little to no knowledge of Linux and provide in-depth step by step commands to enter. I will add further sections on how to run multiple MN on one VPS as well as how to setup a MN on a local Win PC.

When you want to setup a masternode (MN) you have to make an architectural choice between whether you want to run it locally (on a PC) or if you want to run it remotely (on a Virtual Private Server (VPS) in the cloud). I do not recommend running a MN local on a PC due to last mile constraints in many places in the world that could impact your MN reliability. A big advantage of running MN in the cloud and the client on your local PC is that the MN in the cloud will be tapping into a thick reliable pipe to the Net provided by the VPS provider that will improve your MN reliability. This guide therefore focuses on setting up a MN remotely on a VPS and running a local client on your PC where the MN wallet with its coins are kept.

Setting up a MN in the cloud consist of five steps:
1)   Rent, setup and prepare the VPS itself
2)   Prepare the MN wallet and its config
3)   Prepare the local wallet and its config
4)   Fund the MN collateral address
5)   Start the MN and verify it is working

Step 1 – Rent, setup and prepare the VPS

I recommend using Vultr.com (click here to go to Vultr)  for this because they accept Bitcoin for payment. Also, once funded, you can deploy more than one VPS and all of them just tap into the funded amount as time goes by. So signup and rent a basic VPS for BTC equivalent to $5 per month. On a basic VPS you can run about 4-5 wallets. If you have money and want to run even more wallets on a server then rent a bigger one. Assuming you go for the basic server, go to deploy and select the following specs:
- Location – I found New York and Amsterdam to work smooth so pick one of these.
- Select a 64bit OS of latest minus one. I say this because latest is not always the greatest in the beginning. Ubuntu is pretty good and Linux just works smoothly so select Ubuntu 14.10 x64.
- Select the smallest server specs 1 CPU, 768MB, 15GB storage, 1000GB transfer. In general to compile a wallet you need at least 2GB of memory but a server with 768MB memory is sufficient to run it. This guide therefore recommends 768MB of memory for longer term rental and to rent another server of size 2GB memory just for a few minutes to compile the wallet and then destroy the 2GB server afterwards.
- Select optional features “Enable IPv6”. Don’t worry for now on SSH keys for now.
- Give your server a name in the label eg. MN1-US or whatever you like.
- Select “place order”

Now wait a few minutes while your VPS spins up. When it is done it is now time to configure the VPS. Go to “My servers” look for your server and select “manage”.  In the next tab click on view console. A black box will appear on the screen with a bunch of first time use messages. Enter “root” for the username and the password on the Vultr management console. If you don’t see the prompt for the username initially, don’t worry, just enter it and if you get the it wrong it will then show you the prompt to enter the username. Once you logged in as “root” execute the following commands without the parenthesis. I will assume from this point forward that your username is “user”, but change it to whatever you want to use to log on the server as and wherever I use “user” substitute with your username.

Command 1: “adduser user” (creates a new user that is not a superuser. Just press enter through all the questions after that. At the password select a proper difficult password.)

Command 2: “sudo adduser user sudo” (Adds your new user to the sudop group that allows the account to assume superuser rights when needed)

Command 3: “logout” (You don’t want to do general stuff on a server as root)

Command 4:  Login with your newly created userid and password

Command 5: “sudo ufw enable” (Make sure that the firewall is enabled)

Command 6: “sudo ufw limit 22” (prepare the firewall to allow ssh and scp connections which are needed to get certain files onto the server)

Command 7: “cd ~” (The ~ character is a short character to represent your user’s home directory. It is the same as using /home/user)

Command 8: “mkdir opt” (This creates an opt directory in your user directory where you can store files or do compiling. This directory can also be called something else and it is up to user preference.)

Command 9: “sudo apt-get update” (making sure that the server knows of all the new packages that are available)

Command 10: “sudo apt-get update” (making sure that the packages in the default install are upgraded to the latest versions.)

Command 11: “sudo apt-get install -y qt4-qmake libqt4-dev libminiupnpc-dev libdb++-dev libdb-dev libcrypto++-dev libqrencode-dev libboost-all-dev build-essential libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev git htop zip unzip (this installs a broad bouquet of libraries that you would need in general to compile and/or run dynamic binaries and also includes certain useful utilities. If you made a typo, no worries, just press the up arrow on the keyboard to give you the previous command and you can fix the typo and press enter again)

Command 12:  “mkdir ~/.WOC2”
jc12345
Legendary
*
Offline Offline

Activity: 1638
Merit: 1013


View Profile
July 10, 2015, 03:02:18 AM
Last edit: July 10, 2015, 08:05:10 AM by jc12345
 #624

Step 2 – Prepare the MN wallet and its config

You have a choice when preparing the MN wallet. You can either download the pre-compiled binary that was created in an identical environment or compile the binary yourself. If you use the pre-compiled binary, you can skip the A - Compile section and its 10 commands and you do not have to prepare the 2GB VPS and you can continue at the B - Using the pre-compiled binary section. If you decide to compile yourself, then do section A, skip B and do C.

A - Compile section:

You now need to deploy another VPS with 2GB of memory. Select everything the same as above except the choose the server with 2GB of memory. Execute the same commands above up to command 11.

Command 1: “cd ~/opt” (This takes you to the directory where you will be compiling the wallet)

Command 2: “git clone  https://github.com/warofcoins/WOC2” (This pulls the source code from the git repository into the WOC2 folder in the ~/opt directory)

Command 3: “cd ~/opt/WOC2/src/leveldb” (You must make sure that a specific build file has the correct permissions)

Command 4: “sudo chmod 755 build_detect_platform”

Command 5: “cd ~/opt/WOC2/src”

Command 6: “mkdir ~/opt/WOC2/src/obj/crypto (the dev forgot to add in this empty directory. These things happen from time to time and normally when a compile crashes it is because the directory does not exist where the compiler needs to place some files)

Command 7: “sudo nano makefile.unix” (we need to change a parameter in the unix makefile) Look for the line close to the top that says USE_UPNP:=0 and change the 0 to a 1. (I prefer to have U_PNP enabled at the startup of the wallet.). press ctrl-x to save, say yes and press enter.

Command 8: “sudo make –f makefile.unix” (This starts the compile process to create a headless daemon wallet).

Command 9: When the compile has successfully finished, execute “strip WOC2d” (this command makes the binary smaller by removing all non-essential content from the file.)

Command 10: “scp ~/opt/WOC2/src/WOC2d user@yourMNIPaddress:/home/user/opt” (This command copies the compiled binary from the 2GB VPS to the 768MB VPS. You will be asked to add the destination server locally and just type yes. Also remember to replace yourMNIPaddress with the IP address of the 768MB VPS  you created earlier. Also change “user” in user@yourMNIPaddress and also “user” in /home/user/opt with the username you created when you created the 768MB VPS)”  You are now done with the 2GB VPS, but before we destroy it, lets first make sure that everything is OK on the 768MB MN VPS.

B - Using the pre-compiled binary section:

In your Vultr management console, go to your 768MB VPS and view the console.

Command 1: “cd ~/opt” (go to the directory where the binary will be placed.)

Command 2: "wget https://bitbucket.org/jc12345/woc2mn/downloads/WOC2d (click here for Virustotal scan and here for checksum and here to download the headless daemon wallet onto a PC)

Command 3: When the file has downloaded execute "sudo chmod 755 WOC2d"

C - Preparing the MN .conf file section:

In your Vultr management console, go to your 768MB VPS and view the console.

Command 1: “cd ~/opt”

Command 2: “ls –la” (make sure that the WOC2d binary is there)

Command 3: “./WOC2d” (This creates the file structure in the correct place, but for illustration purposes it also shows you that it could not find a .conf file)

Command 4: “cd ~/WOC2” (Lets go to the folder where the wallet is stored)

Command 5: “ls –la” (just checking that we are in the correct place)

Command 6: “sudo nano WOC2.conf” (Creating the .conf file for the remote masternode)

Type the following into this file:

rpcuser=salkdfhadskljfh
rpcpassword=oasdjfosdajf
rpcallowip=127.0.0.1
rpcport=9988
server=1
listen=1
daemon=1
port=9999
addnode=85.25.214.175
addnode=45.55.165.71
addnode=173.76.30.194
addnode=45.63.122.61
addnode=107.170.57.24
addnode=185.92.222.31
addnode=45.63.1.27

(In the above example the rpc section is not really used, but the wallet wants it to be there. Also note that the rpcport can be anything, as long as it is not already used by another process. The port above can also be anything. The fact that the wallet on the client machine later on suggests port 9999 is just a remnant from the DASH implementation way back that picked port 9999.)

Press ctrl-x to save, type yes and press enter.

Command 7: “sudo ufw deny 22” (shutting down the ability to SSH to the server)

Command 8: “sudo ufw allow 9999” (Allow incoming connections on port 9999)

Command 9: “cd ~/opt”

Command 10: “./WOC2d” (you now start the remote masternode and it will start to sync the blockchain)

Command 9: “./WOC2d” getinfo (like in Windows, the wallet commands in the debug window can be run on the Linux VPS by adding it to the back of ./WOC2d. If you execute this command from time to time you can see that the blocks are increasing as the chain is synced. At this point the Linux remote Masternode is setup and waiting for a connection from the client machine. If the WOC2d daemon is running fine on the VPS and synced up, you can go back to the Vultr control panel and destroy the 2GB VPS. Make sure that you do not destroy the wrong VPS!
jc12345
Legendary
*
Offline Offline

Activity: 1638
Merit: 1013


View Profile
July 10, 2015, 03:02:31 AM
Last edit: July 10, 2015, 06:46:07 AM by jc12345
 #625

Step 3 - Prepare the local wallet and its config

I assume you have a Windows machine  for your local PC wallet. I might later add instructions in the guide to setup a local wallet using Linux command line or Raspberry Pi. Install the Windows wallet like normal . You may get a connection from a built in sync node and if you do let it sync up. You now need to make sure that the  local PC wallet .conf file is set up correctly.

Command 1: Go to c:\users\yourusername\AppData\Roaming\WOC2 (You should see a whole bunch of files here including the wallet.dat)

Command 2: Right click with your mouse and select “new” and then “text document” and name it WOC2.conf

Command 3: Edit WOC2.conf and enter the following lines:

rpcuser=salkdfhadskljfh
rpcpassword=oasdjfosdajf
rpcallowip=127.0.0.1
rpcport=9988
server=1
listen=1
daemon=1
staking=0
port=9999
masternode=1
masternode=yourMNIPaddress:9999
masternodeprivkey=
addnode=85.25.214.175
addnode=45.55.165.71
addnode=173.76.30.194
addnode=45.63.122.61
addnode=107.170.57.24
addnode=185.92.222.31
addnode=45.63.1.27

(You must replace “yourMNIPaddress” above with the IP address of your 768MB masternode VPS you created. The port here can be anything but must be the same as the port you specified in your 768MB VPS WOC2.conf.  We will come back later to enter the MN private key and for now we leave it blank. Save the file and exit notepad.)

Now go back to your Windows wallet on the Wndows PC.  Go to the tab above “WOC2 Masternode” Under that option select “My WOC2 Masternode Nodes” This step not really necessary as the same can be achieved with command line options, but this tab just makes it “easier” through visual commands. Select “Create” and enter an Alias name eg. “MN1-US”. Enter the IP address of the 768MB MN VPS you created earlier followed by the colon and port number :9999. Again, although the wallet specifies port 9999 it can be anything, as long as it is configured consistently in all the files so far.) Now click on “get config”. Select the masternode private key – the long string of characters and go paste it in the line that we left blank in the WOC2.conf file on the local Windows machine. Close your Windows wallet down and re-open. The wallet tends to take a while to close down the running process and if you are too quick it will complain that it cannot get a lock. If this happens, just crt-alt-del to get to the task manager and kill the WOC2 process. Your local wallet is now running and also your VPS MN wallet.
jc12345
Legendary
*
Offline Offline

Activity: 1638
Merit: 1013


View Profile
July 10, 2015, 03:07:43 AM
Last edit: May 01, 2016, 11:17:27 PM by jc12345
 #626

Step 4 -  Fund the masternode collateral address

There are two places you can get this address. The first is in the “receive” tab in the wallet, next to the alias name you specified when creating the config. The second is under the “WOC2 masternode” tab under “My WOC2 Masternode Nodes”. The address is under “collateral Address” next to the listed Masternode.

Before you send cones to the address, make a backup of the wallet.dat onto a USB stick while still unencrypted and rename to wallet.dat.old. Then encrypt the file like normal and then make a backup of the wallet.dat again to the USB stick. Store the USB stick in a safe place.

Now you can send coins to the address and it must be exactly 10,000 coins. If you forget about fees or send in more than one tx or the amount is more or less than 10,000 then it wont work and then you have to move the incorrect coins out and the correct number back in.  Once the coins have been confirmed 15 times, you can do the next and final step.

Step 5 - Start the MN and verify it is working

Go tot the debug menu in the local wallet on your client Windows PC. In the block type “masternode start yourwalletpassword”. Replace yourwalletpassword with your wallet password. You should now get a message “Masternode successfully started”. Press the minus bottom right to clear the screen. Go to the WOC2 masternode tab in the Windows wallet and and select “WOC2 Masternode Network”. The IP address of your 768MB VPS MN should be listed there with a “1” next to it meaning it is active. You can in the debug menu execute the command "masternode list" to see the active masternodes which should include yours once the network picks it up, or alternatively you can go onto the remote VPS MN and in the ~/opt directory execute "./WOC2d masternode list" which should also list the active masternodes. Your wallet on the PC needs to remain open else your MN will shut down. Once in a while when a tx goes through your MN, you will see an amount received in your wallet. This amount seems large, but the correct number of coins are accumulated in your dashboard total. Once you close and open your wallet going forward, all confirm transactions in the history will change to the correct amounts.

If you find any issues with the above process or if anything us unclear, please let me know so that I can correct them.

Tip addresses:
BTC: 1Zo7xetyMTnnKTXe1nbUy84JxXy9SU2bD
LTC: LKwveyFi15R3aBMbAtKgM35SNg6rGGMLXZ
WOC2: WXmbydNUAaniyVQyU7GKq1gJTPDCZ5siZt
jc12345
Legendary
*
Offline Offline

Activity: 1638
Merit: 1013


View Profile
July 10, 2015, 08:34:29 AM
 #627

Reserved
Ozcar
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
July 10, 2015, 09:39:10 AM
 #628

I thought this coin was dead as fuck?
jc12345
Legendary
*
Offline Offline

Activity: 1638
Merit: 1013


View Profile
July 10, 2015, 09:52:05 AM
 #629

I thought this coin was dead as fuck?

I thought so too but the dev posted new wallets a few posts back and masternodes work, so who knows what might happen?

PS: Please dont tell my wife that f*** is dead.

MIGI
Full Member
***
Offline Offline

Activity: 131
Merit: 100


View Profile
July 10, 2015, 10:39:55 AM
 #630

Is masternode profitable?
jc12345
Legendary
*
Offline Offline

Activity: 1638
Merit: 1013


View Profile
July 10, 2015, 11:47:08 AM
 #631

Is masternode profitable?

Masternodes get 66,6% and staker 33,3% which is very nice and it is much more profitable to have a masternode compared to just staking. There is room for improvement though because the price is currently a bit low. There are several factors at play to determine profitability:
- number of masternodes - there are 6 currently
- number of coins being staked. Since there is no fixed number of coins per block, it means that stake is a % of coins being staked and therefore the more coins being staked the larger the stakes. Most people seem to have left their coins on the exchange after the swop. If more people can move their coins from the exchange and stake, the larger the rewards will become.
- the dev's plans and roadmap. If the dev can publish his plans and the plans can excite the community, demand and buy orders will grow, increasing the price that will increase profitability.
raimch89
Legendary
*
Offline Offline

Activity: 1169
Merit: 1000


View Profile
July 10, 2015, 04:55:44 PM
 #632

it would be great to have a link for woc2 forum on c-cex... Huh
MIGI
Full Member
***
Offline Offline

Activity: 131
Merit: 100


View Profile
July 11, 2015, 11:12:33 PM
 #633

Is masternode profitable?

Masternodes get 66,6% and staker 33,3% which is very nice and it is much more profitable to have a masternode compared to just staking. There is room for improvement though because the price is currently a bit low. There are several factors at play to determine profitability:
- number of masternodes - there are 6 currently
- number of coins being staked. Since there is no fixed number of coins per block, it means that stake is a % of coins being staked and therefore the more coins being staked the larger the stakes. Most people seem to have left their coins on the exchange after the swop. If more people can move their coins from the exchange and stake, the larger the rewards will become.
- the dev's plans and roadmap. If the dev can publish his plans and the plans can excite the community, demand and buy orders will grow, increasing the price that will increase profitability.


Thanks for that explanation. Can you link the inatruction how to run masternode?
jc12345
Legendary
*
Offline Offline

Activity: 1638
Merit: 1013


View Profile
July 12, 2015, 09:16:12 AM
 #634

Is masternode profitable?

Masternodes get 66,6% and staker 33,3% which is very nice and it is much more profitable to have a masternode compared to just staking. There is room for improvement though because the price is currently a bit low. There are several factors at play to determine profitability:
- number of masternodes - there are 6 currently
- number of coins being staked. Since there is no fixed number of coins per block, it means that stake is a % of coins being staked and therefore the more coins being staked the larger the stakes. Most people seem to have left their coins on the exchange after the swop. If more people can move their coins from the exchange and stake, the larger the rewards will become.
- the dev's plans and roadmap. If the dev can publish his plans and the plans can excite the community, demand and buy orders will grow, increasing the price that will increase profitability.


Thanks for that explanation. Can you link the instruction how to run masternode?

It is a few posts back. Where would you like it to be linked?

https://bitcointalk.org/index.php?topic=1010622.msg11837415#msg11837415
WolfOfOKCoin
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
July 12, 2015, 11:50:46 PM
 #635

Is masternode profitable?

Masternodes get 66,6% and staker 33,3% which is very nice and it is much more profitable to have a masternode compared to just staking. There is room for improvement though because the price is currently a bit low. There are several factors at play to determine profitability:
- number of masternodes - there are 6 currently
- number of coins being staked. Since there is no fixed number of coins per block, it means that stake is a % of coins being staked and therefore the more coins being staked the larger the stakes. Most people seem to have left their coins on the exchange after the swop. If more people can move their coins from the exchange and stake, the larger the rewards will become.
- the dev's plans and roadmap. If the dev can publish his plans and the plans can excite the community, demand and buy orders will grow, increasing the price that will increase profitability.


Thanks for that explanation. Can you link the instruction how to run masternode?

It is a few posts back. Where would you like it to be linked?

https://bitcointalk.org/index.php?topic=1010622.msg11837415#msg11837415

Great guide thanks! Very excited for the future of this coin.
MIGI
Full Member
***
Offline Offline

Activity: 131
Merit: 100


View Profile
July 14, 2015, 11:37:14 AM
 #636

Is masternode profitable?

Masternodes get 66,6% and staker 33,3% which is very nice and it is much more profitable to have a masternode compared to just staking. There is room for improvement though because the price is currently a bit low. There are several factors at play to determine profitability:
- number of masternodes - there are 6 currently
- number of coins being staked. Since there is no fixed number of coins per block, it means that stake is a % of coins being staked and therefore the more coins being staked the larger the stakes. Most people seem to have left their coins on the exchange after the swop. If more people can move their coins from the exchange and stake, the larger the rewards will become.
- the dev's plans and roadmap. If the dev can publish his plans and the plans can excite the community, demand and buy orders will grow, increasing the price that will increase profitability.


Thanks for that explanation. Can you link the instruction how to run masternode?

It is a few posts back. Where would you like it to be linked?

https://bitcointalk.org/index.php?topic=1010622.msg11837415#msg11837415

Great guide thanks! Very excited for the future of this coin.

nice guide. Thanks, I will try this
kold678
Sr. Member
****
Offline Offline

Activity: 240
Merit: 250


View Profile
July 16, 2015, 05:47:20 AM
 #637

so whats new and what is about to happen  Huh
jc12345
Legendary
*
Offline Offline

Activity: 1638
Merit: 1013


View Profile
July 16, 2015, 06:08:12 AM
 #638

so whats new and what is about to happen  Huh

I guess everyone is waiting on the dev to make the next move.
raimch89
Legendary
*
Offline Offline

Activity: 1169
Merit: 1000


View Profile
July 16, 2015, 09:56:33 PM
 #639

WarOfCoins [WOC2]
Marked for delisting on c-cex

no forum, no website, no block explorer...dev must communicate with them  Huh

if he don't woc2 is dead
jc12345
Legendary
*
Offline Offline

Activity: 1638
Merit: 1013


View Profile
July 16, 2015, 10:01:51 PM
 #640

WarOfCoins [WOC2]
Marked for delisting on c-cex

no forum, no website, no block explorer...dev must communicate with them  Huh

if he don't woc2 is dead

There is a block explorer at least, but yes, dev must come to the party. What I don't understand is that if the dev was going to bail why go through all the effort to do the swops, do masternodes etc, just to disappear again. WarOfCoins could have been a great success story if the dev just came forward with his plans instead of disappearing for weeks on end.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [32] 33 34 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!