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
No known key found for this signature in database
3 changed files with 5 additions and 1 deletions
substrate
node/src
tree-cleanup
bandersnatch_vrfs/src
w3f-bls/src

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 @@