Skip to main content

accept

Function accept 

Source
pub fn accept(
    open: &ReplicationOpen,
    thread: &ThreadRef,
    local: &EndpointRef,
    remote_key: [u8; 32],
    admission: &BTreeSet<ThreadFacet>,
    sharing_policy_version: Vec<u8>,
) -> Result<AcceptedOpening, Error>
Expand description

The remote key must come from the authenticated transport, never the frame. An attached genesis retains the original creator’s signature and identity. The host must authorize publication and commit that genesis before Ready; parsing it grants no authority. PoP covers the entire exact opening.