mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Set the justification generation period to 1
This commit is contained in:
@@ -313,7 +313,9 @@ pub fn new_full(config: Configuration) -> Result<TaskManager, ServiceError> {
|
|||||||
grandpa::run_grandpa_voter(grandpa::GrandpaParams {
|
grandpa::run_grandpa_voter(grandpa::GrandpaParams {
|
||||||
config: grandpa::Config {
|
config: grandpa::Config {
|
||||||
gossip_duration: std::time::Duration::from_millis(333),
|
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),
|
name: Some(name),
|
||||||
observer_enabled: false,
|
observer_enabled: false,
|
||||||
keystore: if role.is_authority() { Some(keystore) } else { None },
|
keystore: if role.is_authority() { Some(keystore) } else { None },
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user