Skip to main content

offered

Function offered 

Source
pub fn offered(
    path: &Path,
    origins: &HashMap<Hash, Origin>,
    m: &Membership,
    now: i64,
    v1: bool,
) -> BTreeMap<Hash, String>
Expand description

The lines of the log at path this node offers at now: travelling, and for the messages those within their window; to a V13_ALPN peer (v1) only what 0.5.0’s window takes of them (v1_window). Public for simulation and tests: it is the set a session reconciles (step 3).