8

When we run full nodes (IRI) there are some occasions where we should run java with the flags --revalidate and/or --rescan.

In which cases should we add those flags and what exactly are the technical differences?

Helmar
  • 1,293
  • 1
  • 15
  • 28
cyclux
  • 83
  • 5

1 Answers1

3

Revalidate “drops” the stored solid milestone “table”. So all the milestones are revalidated once the node starts (checks signatures, balances etc). This is used it you take a DB from someone else, or have an issue with solid milestones acting out.

Rescan drops all the tables, except for the raw transaction trits, and re stores the transactions (refilling the metadata, address indexes etc) - this is used when a migration is needed when the DB schema changes mostly.

Source: http://iri-playbook.readthedocs.io/en/master/faq.html#what-are-the-revalidate-and-rescan-options-for

Ian Metten
  • 651
  • 4
  • 15