Example #1
0
 public SignatureEvidence(HexString _signature, HexString _publicKey)
 {
     this.SignatureData = _signature;
     this.PublicKey     = _publicKey;
 }
Example #2
0
        public Transaction(DateTime _timestamp, IEnumerable <Record> _data, HexString _hash, HexString _pubkey, HexString _sign)
        {
            if (_timestamp == null)
            {
                throw new ArgumentNullException(nameof(_timestamp));
            }

            this.TimeStamp = _timestamp;
            this.Data      = _data ?? throw new ArgumentNullException(nameof(_data));
            this.Hash      = _hash ?? throw new ArgumentNullException(nameof(_hash));
            this.Sign      = _sign ?? throw new ArgumentNullException(nameof(_sign));
            this.PubKey    = _pubkey ?? throw new ArgumentNullException(nameof(_pubkey));
        }
Example #3
0
 public AccountKey(HexString _key)
 {
     Key = _key;
 }