core: add host and port in static node file
This commit is contained in:
parent
e3e086b470
commit
b85e6faa19
|
@ -38,13 +38,16 @@ const (
|
|||
|
||||
defaultLocalDir = "/tmp/gdata"
|
||||
datadirPrivateKey = "nodekey"
|
||||
defaultIP = net.IPv4(127, 0, 0, 1)
|
||||
|
||||
clientIdentifier = "geth"
|
||||
staticNodeJson = "static-nodes.json"
|
||||
genesisJson = "genesis.json"
|
||||
)
|
||||
|
||||
var (
|
||||
defaultIP = net.IPv4(127, 0, 0, 1)
|
||||
)
|
||||
|
||||
func GenerateClusterKeys(numbers int) []*ecdsa.PrivateKey {
|
||||
keys := make([]*ecdsa.PrivateKey, numbers)
|
||||
for i := 0; i < len(keys); i++ {
|
||||
|
|
Loading…
Reference in New Issue