implement TransactionProvider interface
(hash common.Uint256)
| 130 | |
| 131 | // implement TransactionProvider interface |
| 132 | func (self *Store) ContainTransaction(hash common.Uint256) bool { |
| 133 | _, err := self.GetTransactionBytes(hash) |
| 134 | return err == nil |
| 135 | } |
| 136 | |
| 137 | func (self *Store) GetTransactionBytes(hash common.Uint256) ([]byte, error) { |
| 138 | key := GenDataTransactionKey(hash) |
nothing calls this directly
no test coverage detected