Example #1
0
        private TransactionRecord GetHistory(TransactionId id)
        {
            var cmd = _getHistoryByTxId;

            cmd.Reset();
            cmd.Parameters.Add(new SQLiteParameter("id", id.TxId));
            using (var reader = cmd.ExecuteReader(CommandBehavior.SequentialAccess))
                return(id.GetTransactionRecord(reader, _cache, Blockchain));
        }