Skip to main content

accept_hello

Function accept_hello 

Source
pub fn accept_hello(
    sqlite: &SqliteStore,
    clock: &ClockGate,
    health: &Health,
    hello: &Hello,
) -> Result<()>
Expand description

Floors are raised before a synced peer opens the gate, so the first write after opening already sits above everything the peer has seen. Only a peer value past a bound or the ceiling rejects the hello; a store failure is an ordinary error.