update masternode_conf.md (#1097)
This commit is contained in:
parent
e30f8bf6a0
commit
02b9f248a8
@ -1,30 +1,29 @@
|
|||||||
Multi masternode config
|
Masternode config
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
The multi masternode config allows to control multiple masternodes from a single wallet. The wallet needs to have a valid collaral output of 1000 coins for each masternode. To use this, place a file named `masternode.conf` in the data directory of your install:
|
Dash Core allows controlling multiple remote masternodes from a single wallet. The wallet needs to have a valid collateral output of 1000 coins for each masternode and uses a configuration file named `masternode.conf` which can be found in the following data directory (depending on your operating system):
|
||||||
* Windows: %APPDATA%\DashCore\
|
* Windows: %APPDATA%\DashCore\
|
||||||
* Mac OS: ~/Library/Application Support/DashCore/
|
* Mac OS: ~/Library/Application Support/DashCore/
|
||||||
* Unix/Linux: ~/.dashcore/
|
* Unix/Linux: ~/.dashcore/
|
||||||
|
|
||||||
`masternode.conf` format is a space seperated text file. Each line consisting of an alias, IP address followed by port, masternode private key, collateral output transaction id and collateral output index.
|
`masternode.conf` is a space separated text file. Each line consists of an alias, IP address followed by port, masternode private key, collateral output transaction id and collateral output index.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
```
|
```
|
||||||
mn1 127.0.0.2:19999 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0
|
mn1 127.0.0.2:19999 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 7603c20a05258c208b58b0a0d77603b9fc93d47cfa403035f87f3ce0af814566 0
|
||||||
mn2 127.0.0.3:19999 93WaAb3htPJEV8E9aQcN23Jt97bPex7YvWfgMDTUdWJvzmrMqey aa9f1034d973377a5e733272c3d0eced1de22555ad45d6b24abadff8087948d4 0
|
mn2 127.0.0.4:19999 92Da1aYg6sbenP6uwskJgEY2XWB5LwJ7bXRqc3UPeShtHWJDjDv 5d898e78244f3206e0105f421cdb071d95d111a51cd88eb5511fc0dbf4bfd95f 1
|
||||||
mn3 127.0.0.4:19999 92Da1aYg6sbenP6uwskJgEY2XWB5LwJ7bXRqc3UPeShtHWJDjDv db478e78e3aefaa8c12d12ddd0aeace48c3b451a8b41c570d0ee375e2a02dfd9 1
|
|
||||||
```
|
```
|
||||||
|
|
||||||
In the example above:
|
In the example above:
|
||||||
* the collateral for `mn1` is output `0` of transaction http://test.explorer.dash.fr/tx/2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c and it has amount of 1000 DASH
|
* the collateral of 1000 DASH for `mn1` is output `0` of transaction [7603c20a05258c208b58b0a0d77603b9fc93d47cfa403035f87f3ce0af814566](https://test.explorer.dash.org/tx/7603c20a05258c208b58b0a0d77603b9fc93d47cfa403035f87f3ce0af814566)
|
||||||
|
* the collateral of 1000 DASH for `mn2` is output `1` of transaction [5d898e78244f3206e0105f421cdb071d95d111a51cd88eb5511fc0dbf4bfd95f](https://test.explorer.dash.org/tx/5d898e78244f3206e0105f421cdb071d95d111a51cd88eb5511fc0dbf4bfd95f)
|
||||||
|
|
||||||
|
_Note: IPs like 127.0.0.* are not allowed actually, we are using them here for explanatory purposes only. Make sure you have real reachable remote IPs in you `masternode.conf`._
|
||||||
|
|
||||||
The following new RPC commands are supported:
|
The following RPC commands are available (type `help masternode` in Console for more info):
|
||||||
* list-conf: shows the parsed masternode.conf
|
* list-conf
|
||||||
* start-alias \<alias\>
|
* start-alias \<alias\>
|
||||||
|
* start-all
|
||||||
* start-missing
|
* start-missing
|
||||||
* start-disabled
|
* start-disabled
|
||||||
* start-many
|
* outputs
|
||||||
* outputs: list available collateral output transaction ids and corresponding collateral output indexes
|
|
||||||
|
|
||||||
When using remote masternode setup, you **must** remove `masternode=1` from local `dash.conf` file if you had it there in previous versions. This option should be used only to start local Hot masternode now.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user