// For listening from blockchain network.
P2pListenAddrs []string `toml:"p2p_listen_addrs"`
// To connect other hosts as a p2p network.
Bootnodes []string `toml:"bootnodes"`
ProtocolID string `toml:"protocol_id"`
// 0: RSA
// 1: Ed25519
// 2: Secp256k1
// 3: ECDSA
NodeKeyType int `toml:"node_key_type"`
NodeKeyRandSeed int64 `toml:"node_key_rand_seed"`
NodeKey string `toml:"node_key"`
// Only RSA has this param.
NodeKeyBits int `toml:"node_key_bits"`
// When use param 'NodeKey', 'NodeKeyFile' will not work.
NodeKeyFile string `toml:"node_key_file"`