Function finality_grandpa::process_commit_validation_result[][src]

pub fn process_commit_validation_result<H, N>(
    validation_result: CommitValidationResult<H, N>,
    callback: Callback<CommitProcessingOutcome>
)

Runs the callback with the appropriate CommitProcessingOutcome based on the given CommitValidationResult. Outcome is bad if ghost is undefined, good otherwise.