darkfid::proto::protocol_sync

Function handle_receive_header_request

Source
async fn handle_receive_header_request(
    handler: ProtocolGenericHandlerPtr<HeaderSyncRequest, HeaderSyncResponse>,
    validator: ValidatorPtr,
) -> Result<()>
Expand description

Background handler function for ProtocolSyncHeader.