mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-09 07:07:59 +00:00
Use ed25519 by default for network keys (#2290)
This commit is contained in:
committed by
Bastian Köcher
parent
450c03d03e
commit
0ae060d4d1
@@ -189,7 +189,7 @@ pub struct NodeKeyParams {
|
||||
raw(
|
||||
possible_values = "&NodeKeyType::variants()",
|
||||
case_insensitive = "true",
|
||||
default_value = r#""Secp256k1""#
|
||||
default_value = r#""Ed25519""#
|
||||
)
|
||||
)]
|
||||
pub node_key_type: NodeKeyType,
|
||||
|
||||
@@ -61,7 +61,7 @@ impl Default for NetworkConfiguration {
|
||||
listen_addresses: Vec::new(),
|
||||
public_addresses: Vec::new(),
|
||||
boot_nodes: Vec::new(),
|
||||
node_key: NodeKeyConfig::Secp256k1(Secret::New),
|
||||
node_key: NodeKeyConfig::Ed25519(Secret::New),
|
||||
in_peers: 25,
|
||||
out_peers: 75,
|
||||
reserved_nodes: Vec::new(),
|
||||
|
||||
Reference in New Issue
Block a user