Skip to content

Commit

Permalink
Set the justification generation period to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Dec 4, 2023
1 parent a3cdad1 commit bbd907a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion substrate/node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,9 @@ pub async 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 },
Expand Down
1 change: 1 addition & 0 deletions substrate/tree-cleanup/bandersnatch_vrfs/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions substrate/tree-cleanup/w3f-bls/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit bbd907a

Please sign in to comment.