Skip to content

Mile node documentation

tanef edited this page Jan 14, 2019 · 5 revisions

Introduction

Basically there are two types of nodes: active and passive nodes.

Active (Consensus) Node

Registered with 10 000—100 000 XDR node that takes part in blockchain consensus (that keeps blockchain operation on).

Active nodes can vote for MILE/XDR rate and can receive [minting premium](#minting premium).

Passive Node

Unregistered node. It doesn't take part in blockchain consensus, doesn't receive minting premium, it can't vote for MILE/XDR rate, but it stores the full blockchain.

Node Setup

To run a node your node host must comply with certain requirements.

To set up active (consensus) node you need to go trough these steps:

  1. Install Mile Node and Mile Shell with RPM or YUM
  2. Launch Mile Node and Mile Shell
  3. Register node

To set up passive node you need only steps 1—2.

Note: As soon as minting premium for running an consesus node depends on the amount of blocks in the blockchain your node closed, to receive the maximum possible premium your node have to stay active and online permanently. To do so you might want to use web hosting services.

Requirements

  • OS Supported: Linux Centos 7.x

  • System:

Minimum Recommended
2 GB RAM 8 GB RAM
1 CPU core 8 CPU cores
60GB HDD 512GB SDD
  • Static IP address (only for active nodes).

Download And Install Mile Node And Mile Shell

You can install Mile Node and Mile Shell using package managers like RPM or YUM.

Mainnet Genesis Block is included in the package.

Minting Premium

Minting premium is provided for operating active (consensus) node. The amount is 8,5—13% of deposited volume of XDR per annum depending on two factors:

  • amount of XDR deposited to register a node (the dependence is parabolic — the closer the 100 000 XDR deposit, the faster the % is growing)
  • how many times the node participated in consensus (i.e. was the node operating permanently)

The minting premium is delivered once in 1-2 days to node-associated wallet.

Transaction Fees

Transaction Fee
XDR transfer 0
MILE transfer 0,01 MILE
Register node 0
Unregister Node 10 XDR
Emission of XDR (with MILE) 0
Emission of MILE (with XDR) 0,2% in XDR
of the full amount of XDR
Update emission (gain extra XDR with
locked MILE when MILE/XDR rate had risen)
0,2% in XDR
of the change* of rate

0,02 XDR
if there was no change of rate
Post token rate 0

* The difference between current MILE/XDR rate and the rate as of the initial emission or previous emission update. Note: 0,2% of the change of rate will be charged even if MILE/XDR dropped.

Clone this wiki locally