mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
Fix doc build with --all-features (#8277)
* implement * make default pre/post_upgrade * simplify Cargo.toml * revert removal of outdated/private links * link in pallet-mmr
This commit is contained in:
committed by
GitHub
parent
d0530d0f2a
commit
9c4e4d453c
@@ -109,18 +109,19 @@ pub struct Params<B: BlockT, H: ExHashT> {
|
||||
/// protocol name. In addition all of [`RequestResponseConfig`] is used to handle incoming block
|
||||
/// requests, if enabled.
|
||||
///
|
||||
/// Can be constructed either via [`block_request_handler::generate_protocol_config`] allowing
|
||||
/// outgoing but not incoming requests, or constructed via
|
||||
/// [`block_request_handler::BlockRequestHandler::new`] allowing both outgoing and incoming
|
||||
/// requests.
|
||||
/// Can be constructed either via [`crate::block_request_handler::generate_protocol_config`]
|
||||
/// allowing outgoing but not incoming requests, or constructed via
|
||||
/// [`crate::block_request_handler::BlockRequestHandler::new`] allowing both outgoing and
|
||||
/// incoming requests.
|
||||
pub block_request_protocol_config: RequestResponseConfig,
|
||||
|
||||
/// Request response configuration for the light client request protocol.
|
||||
///
|
||||
/// Can be constructed either via [`light_client_requests::generate_protocol_config`] allowing
|
||||
/// outgoing but not incoming requests, or constructed via
|
||||
/// [`light_client_requests::handler::LightClientRequestHandler::new`] allowing both outgoing
|
||||
/// and incoming requests.
|
||||
/// Can be constructed either via
|
||||
/// [`crate::light_client_requests::generate_protocol_config`] allowing outgoing but not
|
||||
/// incoming requests, or constructed via
|
||||
/// [`crate::light_client_requests::handler::LightClientRequestHandler::new`] allowing
|
||||
/// both outgoing and incoming requests.
|
||||
pub light_client_request_protocol_config: RequestResponseConfig,
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ pub struct LightClientRequestHandler<B: Block> {
|
||||
}
|
||||
|
||||
impl<B: Block> LightClientRequestHandler<B> {
|
||||
/// Create a new [`BlockRequestHandler`].
|
||||
/// Create a new [`crate::block_request_handler::BlockRequestHandler`].
|
||||
pub fn new(
|
||||
protocol_id: &ProtocolId,
|
||||
client: Arc<dyn Client<B>>,
|
||||
|
||||
Reference in New Issue
Block a user