MCPcopy Create free account
hub / github.com/DNAProject/DNA / delTransaction

Method delTransaction

txnpool/proc/txnpool_server.go:565–567  ·  view source on GitHub ↗

delTransaction deletes a transaction in the tx pool.

(t *tx.Transaction)

Source from the content-addressed store, hash-verified

563
564// delTransaction deletes a transaction in the tx pool.
565func (s *TXPoolServer) delTransaction(t *tx.Transaction) {
566 s.txPool.DelTxList(t)
567}
568
569// addTxList adds a valid transaction to the tx pool.
570func (s *TXPoolServer) addTxList(txEntry *tc.TXEntry) bool {

Callers 1

getTxPoolMethod · 0.95

Calls 1

DelTxListMethod · 0.80

Tested by

no test coverage detected