mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 10:01:17 +00:00
Fix invalid link in doc (#9351)
* fix invalid link * Update client/executor/common/src/runtime_blob/globals_snapshot.rs * more fix
This commit is contained in:
committed by
GitHub
parent
76d147439a
commit
1e8035a273
@@ -127,9 +127,9 @@ pub struct Params<B: BlockT, H: ExHashT> {
|
||||
/// Request response configuration for the state request protocol.
|
||||
///
|
||||
/// Can be constructed either via
|
||||
/// [`crate::state_requests::generate_protocol_config`] allowing outgoing but not
|
||||
/// [`crate::block_request_handler::generate_protocol_config`] allowing outgoing but not
|
||||
/// incoming requests, or constructed via
|
||||
/// [`crate::state_requests::handler::StateRequestHandler::new`] allowing
|
||||
/// [`crate::state_request_handler::StateRequestHandler::new`] allowing
|
||||
/// both outgoing and incoming requests.
|
||||
pub state_request_protocol_config: RequestResponseConfig,
|
||||
}
|
||||
|
||||
@@ -19,7 +19,8 @@
|
||||
//! Helper for incoming light client requests.
|
||||
//!
|
||||
//! Handle (i.e. answer) incoming light client requests from a remote peer received via
|
||||
//! [`crate::request_responses::RequestResponsesBehaviour`] with [`LightClientRequestHandler`].
|
||||
//! [`crate::request_responses::RequestResponsesBehaviour`] with
|
||||
//! [`LightClientRequestHandler`](handler::LightClientRequestHandler).
|
||||
|
||||
use codec::{self, Encode, Decode};
|
||||
use crate::{
|
||||
|
||||
@@ -18,15 +18,16 @@
|
||||
|
||||
//! Helper for outgoing light client requests.
|
||||
//!
|
||||
//! Call [`LightClientRequestSender::send_request`] to send out light client requests. It will:
|
||||
//! Call [`LightClientRequestSender::request`](sender::LightClientRequestSender::request)
|
||||
//! to send out light client requests. It will:
|
||||
//!
|
||||
//! 1. Build the request.
|
||||
//!
|
||||
//! 2. Forward the request to [`crate::request_responses::RequestResponsesBehaviour`] via
|
||||
//! [`OutEvent::SendRequest`].
|
||||
//! [`OutEvent::SendRequest`](sender::OutEvent::SendRequest).
|
||||
//!
|
||||
//! 3. Wait for the response and forward the response via the [`futures::channel::oneshot::Sender`] provided earlier
|
||||
//! with [`LightClientRequestSender::send_request`].
|
||||
//! with [`LightClientRequestSender::request`](sender::LightClientRequestSender::request).
|
||||
|
||||
use codec::{self, Encode, Decode};
|
||||
use crate::{
|
||||
|
||||
Reference in New Issue
Block a user