Require signed authority discovery records (#5591)

Nodes are already publishing signed records since 0.9.17, but now we
also enable the validation of the signature.
This commit is contained in:
Bastian Köcher
2022-05-31 14:43:49 +02:00
committed by GitHub
parent 5f350d4d69
commit 31bff68f94
+2
View File
@@ -992,6 +992,8 @@ where
let (worker, service) = sc_authority_discovery::new_worker_and_service_with_config(
sc_authority_discovery::WorkerConfig {
publish_non_global_ips: auth_disc_publish_non_global_ips,
// Require that authority discovery records are signed.
strict_record_validation: true,
..Default::default()
},
client.clone(),