Remove support for secp256k1 for network keys (#3897)

This commit is contained in:
Pierre Krieger
2019-10-23 22:05:05 +02:00
committed by Gavin Wood
parent 311be1d071
commit eabdcbdd4f
6 changed files with 8 additions and 77 deletions
+1 -3
View File
@@ -24,9 +24,7 @@
//! # Node identities and addresses
//!
//! In a decentralized network, each node possesses a network private key and a network public key.
//! In Substrate, the keys are based on the ed25519 curve. As of the writing of this documentation,
//! the secp256k1 curve can also be used, but is deprecated. Our local node's keypair must be
//! passed as part of the network configuration.
//! In Substrate, the keys are based on the ed25519 curve.
//!
//! From a node's public key, we can derive its *identity*. In Substrate and libp2p, a node's
//! identity is represented with the [`PeerId`] struct. All network communications between nodes on