Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1180: [bootstrap] Key Generation for Unstaked Access Nodes r=huitseeker a=huitseeker This introduces a generator for the unstaked Access Nodes, which by convention only have positive secp256k1 keys. The keys in question have a specific format (positive ECDSA Secp256k1 keys) because: - they are meant to serve ephemeral nodes, - allow a bijection between flow.NodeID, flow.NetworkPublicKey, libp2p.PeerID, libp2p.PublicKey - hence allowing us to only retain the minimum amount of information for these nodes. For this bijection, see #1165 and #1129. This is to be used in a bootstrap of the unstaked Access Node post #1133. For now, having this in master allows the direct bootstrapping of network in tests by creating suitable libp2p peers. Co-authored-by: François Garillot <francois.garillot@dapperlabs.com>
- Loading branch information
Showing
2 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters