This repository has been archived by the owner on Aug 23, 2020. It is now read-only.
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.
Validate bundles as they come in #1810
Open
Description
Description
We want to validate bundles as they come in and not only on tip-selection and milestone solidification
Motivation
As part of the white-flag changes we are doing now, we expect very little of the tangle to be left-behind. So it makes sense to validate as they arrive. We can use the validation status to give the proper score to a tip in #1771
Requirements
- When a tail solidifies, and all the bundles it approves are valid, pass it on to bundle validation
- We have 3 possible validity statuses on a tail: INVALID, VALID, and UNKNOWN (we currently have this). Once a tail changes its status from UNKNOWN->VALID we start propagating the check upwards to the approvers. If it changes its status from UNKNOWN->INVALID, propagate the status to the approvers.