Example #1
0
 protected override void LogException(string txid, string message, DateTime date, DaemonTransactionType type)
 {
     m_database.Statement("INSERT INTO exceptions (txid, message, date, type) VALUES(@a,@b,@c,@d);", txid, message, date, type);
 }
Example #2
0
 void MarkTransactionEnd(string receivedTxid, string sentTxid, decimal amount, DaemonTransactionType type, string notes=null)
 {
     m_database.Statement("UPDATE transactions SET [email protected], [email protected], [email protected], [email protected] WHERE [email protected];",
                             sentTxid, amount, type, notes, receivedTxid);
 }
Example #3
0
 // ------------------------------------------------------------------------------------------------------------
 void InsertTransaction(string receivedTxid, string sentTxid, decimal amount, DaemonTransactionType type, string notes=null)
 {
     m_database.Statement(	"INSERT INTO transactions (received_txid, sent_txid, asset, amount, date, type, notes) VALUES(@a,@b,@c,@d,@e,@f,@g);",
                             receivedTxid, sentTxid, m_asset.symbol, amount, DateTime.UtcNow, type, notes);
 }
Example #4
0
        protected override void MarkTransactionAsRefundedEnd(	string receivedTxid, string sentTxid, decimal amount, 
																DaemonTransactionType type, string notes)
        {
            MarkTransactionEnd(receivedTxid, sentTxid, amount, type, notes);
        }
Example #5
0
 protected abstract void MarkTransactionAsRefundedEnd(string receivedTxid, string sentTxid, decimal amount, DaemonTransactionType type, string notes);
Example #6
0
 protected abstract void LogException(string txid, string message, DateTime date, DaemonTransactionType type);