4 votes
Accepted

When do nodes sync their subtangle with the neighbours?

After looking into code of IRI : all incoming transactions that aren't known yet (i.e. not already stored in the local tangle) are immediately stored in the local tangle and broadcasted to all ...
ben75's user avatar
  • 5,344
4 votes

Will auto-discovery of neighbors be implemented for full nodes?

"Nelson" is a wrapper which facilitates this for IRI. It is made by the carriota.com team. Some reference information so far on it (some people are already using Nelson). There are two blog posts on ...
proto's user avatar
  • 51
3 votes
Accepted

How to see the "Latest Solid Milestone Index" of my neighbors?

Via curl if the neighbor exposes the getNodeInfo API: curl -H 'X-IOTA-API-VERSION: 1.4' \ -d '{"command":"getNodeInfo"}' \ http://<hostname>:14265
Fabian Becker's user avatar
3 votes
Accepted

What's the optimal number of neighbors for a full node?

The official IOTA cli-app has a health command that checks the health of the node. One of the checks is whether the node has between 4-9 neighbors. From Slack and everything published, that is as ...
slippedon's user avatar
  • 148
3 votes

Why does iri use manual neighbor discovery?

Visit "Discussion: Removing Peer Discovery" to read about it. To quote briefly from the discussion: [...] we've collected enough data to be able to determine that Peer Discovery is causing ...
Ian Metten's user avatar
2 votes

Using traceroute hop count to select neighbors

Considering how the Internet and its routing mechanisms work the hop count is not necessarily a stable metric and would have to be re-evaluated from time to time. Generally speaking though, the hop ...
Helmar's user avatar
  • 1,293
2 votes
Accepted

Can neighbors mix protocols?

No, different protocols will not work. When receiving a packet from your neighbor, iri will validate if the source of the packet is in your neighbors list. As the port numbers differ, the packets ...
mihi's user avatar
  • 7,309
2 votes

What's the optimal number of neighbors for a full node?

Early docs suggest 7-9 high quality neighbors. I’ve been running full nodes for a while and this number works reasonably well.
ralf's user avatar
  • 1,063
2 votes
Accepted

Does the tangle store any node-specific information?

Broadcast of transactions just contains the transaction trytes, no other metadata (e.g. originator information). Therefore, IP addresses are only visible to immediate neighbors (and they can tell ...
mihi's user avatar
  • 7,309
2 votes

Purging lazy neighbors - When does this happen and how?

Current implementation of the IRI (1.5.3) : is collecting statistics (here and here is the code). don't implement anything regarding purge of lazy neighbors. (on the main net) This task (i.e. purge ...
ben75's user avatar
  • 5,344
1 vote
Accepted

How to check if my neighbors are synced

Using the IRI API, you can use getNeighbors to get the addresses and then getNodeInfo to obtain the latestSolidSubtangleMilestoneIndex and latestMilestoneIndex. Only works if the neighbors have open ...
Xilis's user avatar
  • 246
1 vote

Should be numberOfInvalidTransactions 0?

For every invalid transaction from neighbor you will see one of those logs : "Transaction processing runtime exception " My interpretation : received data is corrupted in some way. Should be rare, ...
ben75's user avatar
  • 5,344
1 vote

IRI: Find neighbor which uses the testnet

check this out: String name = instance.configuration.booling(Configuration.DefaultConfSettings.TESTNET) ? IRI.TESTNET_NAME : IRI.MAINNET_NAME; return GetNodeInfoResponse.create(...
Andrew Arrow's user avatar
1 vote

Neighbour not being removed

Can it be that you are using the hostname, and the IP address of the neighbor changed since adding or restarting your node? To remove neighbors, your node compares protocol, resolved IP and port. In ...
mihi's user avatar
  • 7,309

Only top scored, non community-wiki answers of a minimum length are eligible