Newer
Older
CFG_ADDRESS = "autopeering.address"
CFG_ENTRY_NODES = "autopeering.entryNodes"
CFG_PORT = "autopeering.port"
CFG_SELECTION = "autopeering.selection"
func init() {
flag.String(CFG_ADDRESS, "0.0.0.0", "address to bind for incoming peering requests")
flag.String(CFG_ENTRY_NODES, "pub_Key@127.0.0.1:14626", "list of trusted entry nodes for auto peering")
flag.Int(CFG_PORT, 14626, "udp port for incoming peering requests")