public PeerData(NodeSocketData socketInfo, NodeState nodeState, NodeConfig nodeConfig) { this.IP = socketInfo.IP; this.ListenPort = socketInfo.ListenPort; this.PubKey = socketInfo.PublicKey; this.Name = socketInfo.Name; TimeStamp = nodeState.NetworkTime; Signature = new Hash(nodeConfig.SignDataWithPrivateKey(signableData())); }