Skip to main content

install_grant

Function install_grant 

Source
pub fn install_grant(
    store: &CheckoutGrantStore,
    exchange: &ArtifactExchange,
    signed: &SignedGrant,
) -> Result<Outcome, LicenceError>
Expand description

Register signed in store and, when accepted, make the bytes of every currently valid grant for the cog version shareable in exchange. This is the member side of a grant arriving (reply, flood or sync).