public Transaction Convert(bcdb.Transaction transactionDB)
        {
            var newTransaction = new Models.Transaction()
            {
                Sender    = transactionDB.Sender,
                Recipient = transactionDB.Recipient,
                Amount    = transactionDB.Amount,
                Name      = transactionDB.Name,
                BlockId   = transactionDB.BlockId
            };

            return(newTransaction);
        }
        public bcdb.Transaction Convert(Transaction transaction, int maxBlock)
        {
            var newTransaction = new bcdb.Transaction()
            {
                Sender    = transaction.Sender,
                Recipient = transaction.Recipient,
                Amount    = transaction.Amount,
                Name      = transaction.Name,
                BlockId   = maxBlock
            };

            return(newTransaction);
        }