async fn handle_get_links(
        &self,
        link_key: WireLinkKey,
        options: aingle_p2p::event::GetLinksOptions,
    ) -> CellResult<WireLinkOps> {
        debug!(id = ?self.id());
        let env = self.env.clone();
        authority::handle_get_links(env.into(), link_key, options)
            .await
            .map_err(Into::into)
    }
/// a remote node is asking us for links
// TODO: Right now we are returning all the full headers
// We could probably send some smaller types instead of the full headers
// if we are careful.
a remote node is asking us for links
TODO: Right now we are returning all the full headers
We could probably send some smaller types instead of the full headers
if we are careful.
a remote node is asking us for links TODO : Right now we are returning all the full headers We could probably send some smaller types instead of the full headers if we are careful .
async fn handle_get_links(
        &self,
        link_key: WireLinkKey,
        options: aingle_p2p::event::GetLinksOptions,
    ) -> CellResult<WireLinkOps> {
        debug!(id = ?self.id());
        let env = self.env.clone();
        authority::handle_get_links(env.into(), link_key, options)
            .await
            .map_err(Into::into)
    }
async fn handle_get_links ( & self , link_key : WireLinkKey , options : aingle_p2p :: event :: GetLinksOptions , ) -> CellResult < WireLinkOps > { debug ! ( id self id ( ) ) ; let env = self . env . clone ( ) ; authority :: handle_get_links ( env . into ( ) , link_key , options ) . await . map_err ( Into :: into ) }
a remote node is asking us for links
TODO: Right now we are returning all the full headers
We could probably send some smaller types instead of the full headers
if we are careful.
a remote node is asking us for links TODO : Right now we are returning all the full headers We could probably send some smaller types instead of the full headers if we are careful .
&self
link_key
WireLinkKey
options
aingle_p2p::event::GetLinksOptions
&self
link_key
WireLinkKey
options
aingle_p2p::event::GetLinksOptions