mirror of
https://github.com/serai-dex/serai.git
synced 2025-04-22 05:58:13 +00:00
Set the justification generation period to 1
This commit is contained in:
parent
b8e5fa7ff2
commit
e78fd12da6
3 changed files with 5 additions and 1 deletions
substrate
|
@ -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 },
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
Loading…
Reference in a new issue