public void SetNodeInfo(JS_NodeInfo NodeInfo) { this.NodeInfo = NodeInfo; }
public JS_NodeInfo Get_JS_Info() { JS_NodeInfo info = new JS_NodeInfo(); info.Name = Name; info.Address = AddressFactory.GetAddressString(AddressFactory.GetAddress(PublicKey.Hex, Name, NetworkType.MainNet, AccountType.MainValidator)); info.Email = Email; info.Organisation = Organisation; info.Platform = Platform; info.PublicKey = PublicKey.Hex; info.Version = "0.2 alpha-release (development)"; return info; }