Skip to main content

stamp_peer_bytes

Function stamp_peer_bytes 

Source
pub fn stamp_peer_bytes(node: &mut NodeProto, peer_bytes: Vec<u8>)
Expand description

Stamp the destination peer onto a Send / gate NodeProto’s attribute.s (bytes) using the canonical multihash form. Used by the compiler’s gate-insertion passes and any pass synthesizing new Send NodeProtos.