Are there are criteria that are met to determine when a snapshot occurs? Is the snapshot schedule something that is affected by the size of the network (e.g. do more full nodes mean snapshots are more widely spaced?). Will they occur more frequently as the network scales?
2 Answers
At the moment, a Snapshot happens when the IOTA foundation decides to do so. There are plans to add automatic snapshotting (probably based on the number of confirmed transactions since the last snapshot), but since they are only plans now, nobody knows exactly how they will work.
As currently every full node will eventually see every transaction, the number of full nodes is irrelevant to the frequency of snapshots.
-
Do you have any information about what would cause the IOTA foundation to decide to perform a manual snapshot? Is it when a full node's database reaches a particular size?– dreidCommented Dec 1, 2017 at 20:32
-
I assume it is when either the full node database reaches a particular size, the stresstest logs show that nodes are not running well, or they need to perform a snapshot to clean up some data or fix some backwards-incompatible bugs. But you probably need to ask one of them to get a definitive answer.– mihi ♦Commented Dec 1, 2017 at 20:46
Until now there is no formal nor oficial rule that defines when a Snapshot must be conducted. Normally it occurs when the network needs update, correction or due to a new release. The snapshot is announced by the team and must be independently validated prior to its confirmation and then it takes place by being set to run via the coordinator. This process can be seen in the following link: IOTA Snapshot proposal