Installation
The Lite Node installation is snap based and available for many platforms but natively supported on Ubuntu.
After installing snap installing the current bleeding edge lite node is as easy as:
> snap install diode-node --edge
This will download, install and start the diode node locally.
See basic information
> diode-node.info
== Diode Node 0x090ad02cebd8fbbe0b411f5d870ab69d1004d6d8 ==
Version : 1.2.1
Connected Devices: 0
Connected Peers : 6
Current Epoch : 664
Ticket Score : 0
Previous Epoch : 663
Ticket Score : 0
Inspect and change configuration
All configuration parameters can be listed using snap get diode-node
and set using snap set diode-node <key>=<value>
> snap get diode-node
Key Value
data-dir /var/snap/diode-node/2/nodedata_prod
edge2-port 41046,443,993,1723,10000
host 139.162.191.153
peer2-port 51055
private 0
rpc-port 8545
rpcs-port 8443
seed-list diode://0xceca2f8cf1983b4cf0c1ba51fd382c2bc37aba58@us1.prenet.diode.io:51055 diode://0x7e4cd38d266902444dc9c8f7c0aa716a32497d0b@us2.prenet.diode.io:51055 diode://0x68e0bafdda9ef323f692fc080d612718c941d120@as1.prenet.diode.io:51055 diode://0x1350d3b501d6842ed881b59de4b95b27372bfae8@as2.prenet.diode.io:51055 diode://0x937c492a77ae90de971986d003ffbc5f8bb2232c@eu1.prenet.diode.io:51055 diode://0xae699211c62156b8f29ce17be47d2f069a27f2a6@eu2.prenet.diode.io:51055
Configuring the Host IP
The most important parameter for a lite-node is a publicly reachable host
ip address and publicly reachable edge2-port
port(s). These can be changed using snap set
snap set diode-node host=139.162.191.153
snap set diode-node edge2-port=41046,1723,10000
Starting / Stopping / Restarting
The service lifecycle can fully be managed through snap:
snap stop diode-node
snap start diode-node
Or in one command:
snap restart diode-node