Skip to main content

commit_extraction_authority_postgres

Function commit_extraction_authority_postgres 

Source
pub async fn commit_extraction_authority_postgres(
    pool: &PgPool,
    inputs: ExtractionAuthorityCommitInputs,
    verifier: &dyn ExtractionApprovalVerifier,
) -> Result<ExtractionAuthorityCommitResult, ExtractionAuthorityCommitError>
Expand description

Atomically compares and changes the persisted authority, routing, and System graph revisions. The receipt and committed state share one database transaction, so a partial topology transfer cannot escape.