Skip to main content

channel_sign_at_origin

Function channel_sign_at_origin 

Source
pub(super) fn channel_sign_at_origin(
    mstore: &Store,
    caller_uid: &str,
    req: InjectionRequest,
) -> InjectionRequest
Expand description

The same-machine, other-instance counterpart of [sign_at_origin]: the cross-channel signatures (channel_sig, and channel_sig_v2 when the sender carried no UID of its own) for an agent whose own process signed nothing, so the receiving instance still finds a published key’s signature on it. The conditions are sign_at_origin’s, and a signature already there is never replaced.