Skip to main content

acknowledge

Function acknowledge 

Source
pub fn acknowledge(
    table: &mut ReceiptTable,
    id: StrongDigest,
    stage: DeliveryStage,
) -> Result<ReceiptClass, QdnfError>
Expand description

Map a delivery stage onto the durability class actually achieved.

Transport ACK and consumption are never ReceiptClass::DurableReceipt. Durable-applied requires the local effect. Economic receipt requires that durable-applied was already recorded.