Set the justification generation period to 1

This commit is contained in:
Luke Parker
2023-11-27 20:04:58 -05:00
parent b8e5fa7ff2
commit e78fd12da6
3 changed files with 5 additions and 1 deletions

View File

@@ -313,7 +313,9 @@ pub fn new_full(config: Configuration) -> Result<TaskManager, ServiceError> {
grandpa::run_grandpa_voter(grandpa::GrandpaParams {
config: grandpa::Config {
gossip_duration: std::time::Duration::from_millis(333),
justification_generation_period: 10,
// This is the delay between generating justifications for blocks
// We attemopt to generate a justification for every block
justification_generation_period: 0,
name: Some(name),
observer_enabled: false,
keystore: if role.is_authority() { Some(keystore) } else { None },

View File

@@ -0,0 +1 @@