Skip to main content

new_node_record

Function new_node_record 

Source
pub fn new_node_record(
    node_id: &[u8; 32],
    realms: &[[u8; 32]],
    capabilities: u64,
    opts: &NodeRecordOptions,
) -> Result<Record, RecordError>
Expand description

An unsigned node record about node_id, which signs it. A coordinate out of its range, or NaN, is refused.