code: func NewNetwork(nodeAdapter adapters.NodeAdapter, conf *NetworkConfig) *Network {
  	return &Network{
  		NetworkConfig: *conf,
  		nodeAdapter:   nodeAdapter,
  		nodeMap:       make(map[enode.ID]int),
  		connMap:       make(map[string]int),
  		quitc:         make(chan struct{}),
  	}
  }
docs: // NewNetwork returns a Network which uses the given NodeAdapter and NetworkConfig