Skip to main content

self_endpoints

Function self_endpoints 

Source
pub fn self_endpoints(relay_state: &Value) -> Vec<Endpoint>
Expand description

All of OUR own endpoints from relay_state.json. Used by cmd_push to find the local slot when routing local-first, and by the daemon’s pull loop to iterate every slot we should be reading from.