mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-24 04:35:04 +00:00
Use ed25519 by default for network keys (#2290)
This commit is contained in:
1 parent
450c03d03e
commit
0ae060d4d1
2 files changed
+2
-2
No files matched your search
@@ -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