ahmed9979 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/exclamation.gif) |
July 10, 2015, 12:42:27 PM |
|
This guide will teach you how to setup multiple BTX masternodes and monitor them on on a single wallet (controller). Now this guide has specific instructions for creating two masternodes and control them with a masternode controller wallet. The guide can easily be scaled up for creating more than two masternodes or scaled down to only one. In all cases, it is more comfortable to use a separate wallet to observe the masternode payments since the masternode wallet you would normally want to place it on a server that is left untouched while running 24/7 -either a local (at home) server or a remote (cloud-based) server. The steps are pretty clear and if you follow them currectly you will end up just fine. Note: In some steps I'm only providing images to the first masternode wallet, just to make the thread shorter since the second one would have the same steps repeated for it with small changes if implied. Now let's begin: - Start by creating a folder and call it something like "Masternodes".
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Fb006Bg0.jpg&t=665&c=TTNwjnOa0IbS-Q)
- Inside it, create the following folders:
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FDxl9bNd.jpg&t=665&c=7FOlHAIc14js-Q)
- Copy the QT client into both "BTX-MN01" and "BTX-MN02".
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FfBGZjeB.jpg&t=665&c=5JdOp8sWXQ9SsQ)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2F4yn90y1.jpg&t=665&c=haQ9pz1afM5pxw)
- Go to "WindowsDir:\Users\Username\AppData\Roaming\BTX" and copy everything inside that directory, then paste it into both "BTX-MN01-Data" and "BTX-MN02-Data".
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2F1m1ksht.jpg&t=665&c=eLTplM4M9Q1LjA)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Fou4zypY.jpg&t=665&c=gUrRsNYpDbuk9w)
- Delete "wallet.dat" from both "BTX-MN01-Data" and "BTX-MN02-Data".
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FoGCGGYY.jpg&t=665&c=22V9qxoHpm_ZFQ)
- Create "BTX-MN-Controler" and "BTX-MN-Controler-Data", then repeat the same previous steps to those two folders as in the following images:
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FQktwWij.jpg&t=665&c=Xtgr7jDOSOQ20Q)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FyFONl1W.jpg&t=665&c=-ejxorQhBTMBYw)
Note: Each masternode wallet has a different .conf file setting in terms of the port and rpc port and the masternode IP address and private key used. While the .conf file would be the same as the other two, only that it has the three masternode-related lines deleted. The following .conf files are for MN01, MN02, and the controller (in order). Leave the three masternode lines of MN01 and MN02 deleted for now as you don't need them yet.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FJ09Y48l.png&t=665&c=tKwoDy1SDufWCg)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FNWAw3mg.png&t=665&c=ohOeA0x0_jgeMQ)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FDgznq95.png&t=665&c=1PDejxcz0QIC5g)
Example for MN01:
maxconnections=100 rpcuser=yourusername rpcpassword=yourpassword rpcallowip=* port=8515 rpcport=29282 staking=0 gen=0 listen=0 server=1 daemon=1 reservebalance=9999999 logtimestamps=0 masternodeaddr= SERVER IP ADDRESS:SERVER PORT masternode=1 masternodeprivkey= YOUR PRIVATE KEY addnode=107.170.57.24 addnode=85.25.214.214:28280 addnode=85.214.95.177:5515 addnode=85.214.95.177:5516 addnode=85.214.95.177:6517 addnode=85.214.95.177:6518 - Now it's time to create shortcuts for the wallets. Link the first shortcut to the qt wallet you pasted into "BTX-MN01", the second shortcut to the qt wallet inside "BTX-MN02", and the third to the one inside "BTX-MN-Controler".
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FJxsJO10.jpg&t=665&c=TxgGcHpD8uUjew)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Faecf1x9.jpg&t=665&c=PSmVd7sGkHBx9Q)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FNaqS4qP.png&t=665&c=OatiLs-l9XKNEQ)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2F2cnAcEd.png&t=665&c=LTMU624RIDI3hA)
- Now we need to append the following line to the data directory and the .conf file path inside the target of all three shortcuts like
"-datadir=dir:\..\Masternodes\BTX-xxxx-Data -conf=dir:\..\Masternodes\BTX-xxxx-Data\bitcointx.conf". Example: For the first masternode it would have the target: C:\Users\DV6\Desktop\Masternodes\BTX-MN01\bitcointx-qt.exe -datadir=C:\Users\DV6\Desktop\Masternodes\BTX-MN01-Data -conf=C:\Users\DV6\Desktop\Masternodes\BTX-MN01-Data\bitcointx.conf
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FaQTX6y3.jpg&t=665&c=I5Gfi_Zg9yzhbQ)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FKmOQuBo.png&t=665&c=FYvYg0uZCFVUyA)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FbcfYPr1.png&t=665&c=BoYTL2zBl88NGQ)
- Now if you've done everything currently you'll be able to start all three wallets from their shortcuts and you can notice that each wallet has it's own unique address. You should only start the wallets from their shortcuts.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Fp7tsPGD.jpg&t=665&c=Q6hhbRzVYrqd3w)
- Now it's time to setup the masternode addresses (the addresses that will each be used to store the 250k BTX for proof of reserve).
You'll need to do this for each of the three wallets. Back up the wallet by copying it and renaming the copy to something relative like "wallet-notEncrypted.dat" Go to Help->Debug window->Console. Then type "masternode genkey" to generate the masternode private key. Go to the masternode's data directory and edit the conf file to have "masternodeprivkey= The key you got".
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FXVaIc8V.jpg&t=665&c=boEAIR3T7mXEEw)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FpTMtQId.jpg&t=665&c=wuz-slCljHcs7w)
- For each of the two masternode wallets you'll need to:
Go back to the console and type "getaccountaddress 0" to generate the public key for the masternode that you'll need to send the 250k BTX to. Write "dumpprivkey" followed by the 0 public address for each of the two wallets that was generated from the previous step. Then copy the private key that you get and import it to the masternode controller by typing "importprivkey" in the controller wallet's console followed by each of the two private keys that you got one at a time.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Fnf5lQI6.jpg&t=665&c=Ym6eQ2qiumUpfA)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2F13hYVBN.jpg&t=665&c=kdvMPXjI-igfVQ)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FQTkOE4H.jpg&t=665&c=Pn1Y8E5Bi8g5ow)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FCUDadOa.jpg&t=665&c=lzTEKbRMcRiQVg)
- Now you need to send 250k BTX to each of the two public keys for the two masternode hosting wallets "BTX-MN01" and "BTX-MN02". And wait for 15 confirmations for each transaction. Then type "masternode start" on each of the the wallets' consoles. After the two masternodes are successfully started you can close the two wallets and place them on a server of your choosing, or you can run the server on the same PC if you'd like. The computer that you need to use as a server needs to have port-forwarding enabled to work as a server, and can either be local or remote.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Fx7KMQ9D.jpg&t=665&c=giiRkcXeoNdd8w)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FEwsYxI5.jpg&t=665&c=kXi3th5GOr7fqg)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FrCkzd3u.jpg&t=665&c=cH55DNtNRQUszg)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Fs0awcb4.jpg&t=665&c=MjBWV8A58unsPQ)
- In the masternode controller console you can now monitor all of your masternodes and receive all their profits.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FQnZEYTM.png&t=665&c=Y-MEh1rgaK9uIw)
|
|
|
|
Roshiba
Newbie
Offline
Activity: 38
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2015, 02:36:39 PM |
|
this is superb guide great work sir thanks
|
|
|
|
ahmed9979 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2015, 02:59:37 PM |
|
this is superb guide great work sir thanks
Much obliged.
|
|
|
|
Motivational
Newbie
Offline
Activity: 11
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2015, 03:00:41 PM |
|
|
|
|
|
ahmed9979 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2015, 11:29:56 PM |
|
Thank you, I hope you guys make use of it.
|
|
|
|
pedrog
Legendary
Offline
Activity: 2786
Merit: 1031
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 10, 2015, 11:36:46 PM |
|
Is this an altcoin?
|
|
|
|
|
pedrog
Legendary
Offline
Activity: 2786
Merit: 1031
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2015, 08:39:11 PM |
|
The name is confusing, it might be confused with an alternative bitcoin client like Bitcoin XT, the people behind the coin should think about rebranding it...
|
|
|
|
ahmed9979 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 11, 2015, 09:57:24 PM |
|
The name is confusing, it might be confused with an alternative bitcoin client like Bitcoin XT, the people behind the coin should think about rebranding it... The way we came up with the name makes sense if you take a look at our history. Nevertheless, we will keep an open mind to necessary changes.
|
|
|
|
X68N
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 12, 2015, 09:40:17 AM |
|
can someone point me out what is the benefit of a masternode, do they get interest like DASH?
greetings
|
|
|
|
MickyCOB
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2015, 02:20:21 AM |
|
Awesome tutorial mate step by step.. Thanks this helped me out a lot
|
|
|
|
BTC-BTC-BTC
Legendary
Offline
Activity: 1582
Merit: 1001
www.neutroncoin.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 16, 2015, 12:44:38 PM |
|
One of the best tutorial.
|
|
|
|
CryptoVote
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 23, 2015, 01:49:50 PM |
|
Well done. Going try it to setup 2x new BTX MNs. Will also try it for my Sling MNs. I'll let you know how it goes but looks easy to follow! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
zaph3t
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 25, 2015, 02:09:37 PM |
|
Nice Guide, got the link from CBIT Thread. Thanks!
|
|
|
|
iGotSpots
Legendary
Offline
Activity: 2548
Merit: 1054
CPU Web Mining 🕸️ on webmining.io
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 25, 2015, 06:58:23 PM |
|
Incoming guide on how to stake without paying anything to masternodes and keeping the whole reward for yourself
|
|
|
|
CryptoVote
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 25, 2015, 10:08:55 PM |
|
Well done. Going try it to setup 2x new BTX MNs. Will also try it for my Sling MNs. I'll let you know how it goes but looks easy to follow! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Everything worked.
|
|
|
|
|