1. preparing for NetworkDomain load from config

This commit is contained in:
vadym 2022-10-30 23:03:28 +02:00
parent 09d4564282
commit c7bca5d212
5 changed files with 25 additions and 20 deletions

View file

@ -35,11 +35,12 @@ type Core struct {
log Logger
addPeerTimer *time.Timer
config struct {
_peers map[Peer]*linkInfo // configurable after startup
_peers map[Peer]*linkInfo // configurable after startup
_listeners map[ListenAddress]struct{} // configurable after startup
nodeinfo NodeInfo // immutable after startup
nodeinfoPrivacy NodeInfoPrivacy // immutable after startup
_allowedPublicKeys map[[32]byte]struct{} // configurable after startup
networkdomain NetworkDomain // immutable after startup
}
}