Ejemplo n.º 1
0
        public Task <bool> VerifyQueryAsync(uint dbId, ulong tId, BigInteger dataId, byte[] hash, BlockParameter blockParameter = null)
        {
            var verifyFunction = new VerifyFunction();

            verifyFunction.DbId   = dbId;
            verifyFunction.TId    = tId;
            verifyFunction.DataId = dataId;
            verifyFunction.Hash   = hash;

            return(ContractHandler.QueryAsync <VerifyFunction, bool>(verifyFunction, blockParameter));
        }
Ejemplo n.º 2
0
 public Task <bool> VerifyQueryAsync(VerifyFunction verifyFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <VerifyFunction, bool>(verifyFunction, blockParameter));
 }