Skip to main content

recoverable

Function recoverable 

Source
async fn recoverable(
    services: &Services,
    census: &Census,
    short: u64,
    events: &BTreeSet<u64>,
) -> Result<Option<(u64, (u64, SmallVec<[u8; 48]>))>>
Expand description

The reverse row an orphan state key short can reinstate, decided by reads alone.

Every event the orphan’s entries name must be an accepted state event of one state key, whose forward row names a winner that maps back to it. Anything less leaves the orphan as it is.