p2p

package
v0.2.0-fix-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var P2PCreateKeysCmd = &cli.Command{
	Action: p2pCreateKeysAction,
	Name:   "p2p.create.key",
	Usage:  "Create Secp256k1 key pairs for encrypting p2p protocol msg and identifying p2p node",
	Flags: []cli.Flag{
		number,
	},
	Category: "P2P COMMANDS",
	Description: `
The p2p.create.key creates 'n' sets of Secp256k1 key pairs, each key pair contains a private key 
and a node id, the private key is used to encrypt p2p protocol msg, and the node id is use to public
to other p2p nodes for communication by p2p protocol.`,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL