-1

I find the logs of the full node kind of confusing.

How to know when my full node is syncing or if it is fully synced?

  • What do you even consider synched? – Helmar Dec 3 '17 at 14:01
  • 1
    Probably whether the latest milestone issued by the Coordinator has been (1) seen, and is (2) solid. :) – mihi Dec 3 '17 at 14:28
4

When retrieving node info from your node, you will see latestMilestone as well as latestSolidSubtangleMilestone (this will also appear in the status bar of the wallet if you use it to connect to your node).

If the values are the same as the majority of nodes listed on https://iotanode.host/ (or another site that fetches and aggregates milestones of public wallet nodes), your node is synced.

When only latestMilestone is the same, but not latestSolidSubtangleMilestone, your node has seen the latest milestone itself, but not all the confirmed transactions connected to it, so your node is not fully synced. When even latestMilestone is off, you are probably offline or very badly connected (or connected to badly connected neighbors only, or your node has crashed), as milestones should be broadcast with priority through the network.

  • What to do when my latestMilestone is same but latestSolidSubtangleMilestone is stuck to a fix previous number? – Agustin Tena Dec 3 '17 at 17:20
  • @AgustinTena check your neighbours if they have it, if not find better neighbours. If yes, it should be only a matter of time until you get it too (maybe restart your node?) – mihi Dec 3 '17 at 19:39
  • My neighbors are sync. Always that I restart the node the problem gets fixed, but it ends up getting stuck again. Also the latestMilestone gets stuck. – Agustin Tena Dec 4 '17 at 10:08
  • do you have OutOfMemoryError in your logs? If yes, either reduce the native memory of your Java process with -Xmx or increase the RAM available on your node. If not, probably a(nother) bug somewhere in the node :( – mihi Dec 4 '17 at 20:56
  • Is iota.dance/nodes some kind of central source of truth? Or how is the "majority" calculated? (btw: list is offline, 404) – Matthias Lohr Jun 11 '18 at 13:13

Not the answer you're looking for? Browse other questions tagged or ask your own question.