mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
companion for substrate#14423 (#7484)
* companion for substrate#14423
* update lockfile for {"substrate"}
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+323
-186
File diff suppressed because it is too large
Load Diff
@@ -126,6 +126,10 @@ pub type FullClient = service::TFullClient<
|
||||
WasmExecutor<(sp_io::SubstrateHostFunctions, frame_benchmarking::benchmarking::HostFunctions)>,
|
||||
>;
|
||||
|
||||
/// The minimum period of blocks on which justifications will be
|
||||
/// imported and generated.
|
||||
const GRANDPA_JUSTIFICATION_PERIOD: u32 = 512;
|
||||
|
||||
/// Provides the header and block number for a hash.
|
||||
///
|
||||
/// Decouples `sc_client_api::Backend` and `sp_blockchain::HeaderBackend`.
|
||||
@@ -494,6 +498,7 @@ where
|
||||
|
||||
let (grandpa_block_import, grandpa_link) = grandpa::block_import_with_authority_set_hard_forks(
|
||||
client.clone(),
|
||||
GRANDPA_JUSTIFICATION_PERIOD,
|
||||
&(client.clone() as Arc<_>),
|
||||
select_chain.clone(),
|
||||
grandpa_hard_forks,
|
||||
@@ -1140,7 +1145,7 @@ where
|
||||
// Grandpa performance can be improved a bit by tuning this parameter, see:
|
||||
// https://github.com/paritytech/polkadot/issues/5464
|
||||
gossip_duration: Duration::from_millis(1000),
|
||||
justification_period: 512,
|
||||
justification_generation_period: GRANDPA_JUSTIFICATION_PERIOD,
|
||||
name: Some(name),
|
||||
observer_enabled: false,
|
||||
keystore: keystore_opt,
|
||||
|
||||
Reference in New Issue
Block a user