parent
3259aafce0
commit
69d3607fdd
@ -1 +1,16 @@ |
|||||||
package main |
package main |
||||||
|
|
||||||
|
import "github.com/harmony-one/harmony/internal/cli" |
||||||
|
|
||||||
|
type p2pConfig struct { |
||||||
|
Port int |
||||||
|
KeyFile string |
||||||
|
} |
||||||
|
|
||||||
|
var ( |
||||||
|
p2pPortFlag = &cli.IntFlag{ |
||||||
|
Name: "p2p.port", |
||||||
|
Usage: "port to listen for p2p communication", |
||||||
|
DefValue: nodeconfig., |
||||||
|
} |
||||||
|
) |
||||||
|
Loading…
Reference in new issue