Automatic peer discovery for IOTA.
https://github.com/SemkoDev/nelson.cli
$ sudo npm install -g nelson.cli
$ nelson --gui --getNeighbors
{
"ready": true,
"isIRIHealthy": true,
"totalPeers": 362,
"connectedPeers": [
{
"hostname": "xxx.212.xxx.212",
"ip": "xxx.212.xxx.212",
"port": "16600",
"TCPPort": "15600",
"UDPPort": "14600",
"seen": 1,
"connected": 3,
"tried": 0,
"weight": 0.14707582184280174,
"dateTried": "2017-12-19T17:53:29.384Z",
"dateLastConnected": "2017-12-19T17:53:30.057Z",
"dateCreated": "2017-12-19T11:36:45.094Z",
"isTrusted": false,
"_id": "mx5Wy2DpLF0wyNFQ",
"nelsonID": "75b14dab"
} (skip ...)
],
"config": {
"cycleInterval": 60,
"epochInterval": 900,
"beatInterval": 10,
"dataPath": "/home/ubuntu/data/neighbors.db",
"port": 16600,
"apiPort": 18600,
"IRIPort": 14265,
"TCPPort": 15600,
"UDPPort": 14600,
"isMaster": false,
"temporary": false
},
"heart": {
"lastCycle": "2017-12-19T18:28:50.443Z",
"lastEpoch": "2017-12-19T18:23:48.468Z",
"personality": {
"id": "f5a1de94c0b212807b8d89abb0225ca848ac86f1975819a4fa90701354beaf87230e2682981eac8bbe68cc1f666c1dc1",
"publicId": "f5a1de94",
"feature": "8"
},
"currentCycle": 65,
"currentEpoch": 5,
"startDate": "2017-12-19T17:23:25.206Z"
}
}
Before
Run with Nelson
No, there is an open bug in IRI. Running your iri in TCP and adding/removing neighbors will render it useless in a matter of half an hour.