Skip to main content

policies_between

Function policies_between 

Source
pub fn policies_between(
    lists: &[PublishedList],
    publishers: &[Key],
    from: u32,
    to: u32,
    threshold: usize,
    local: &BTreeSet<Key>,
) -> PolicySet
Expand description

All policies that could have been in effect at any moment of the window [from, to] (seconds since the XRPL epoch): for each publisher, the lists signed under its latest manifest and in effect within the window. Which of them the network used cannot be known without a signed publication time, so every combination is returned, and confirmation must hold for each one.