Skip to content

Node Registration transaction

SRaylyan edited this page Jul 3, 2019 · 4 revisions

Node Registration transaction

Current state

{
    "jsonrpc": "2.0",
    "method": "mh-noderegistration",
    "params": {
        "host": "0.0.0.0",
        "name": "my New Server"
    }
}  

New one

{
    "jsonrpc": "2.0",
    "method": "mhRegisterNode",
    "params": {
        "host": "0.0.0.0",
        "name": "my New Server",
        "type": "Proxy|InfrastructureTorrent"
    }
}  

type - type of server role, can be combined from multiple keywords but auto can't be mixed with other keywords. Keywords separator are |. Value of type field are not case sensitive.

Type can be:

  1. Auto or blank - auto assign server role
  2. Proxy - proxy node only
  3. InfrastructureTorrent - for InfrastructureTorrent role only