mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
blockchain: allow marking "tx not found" without an exception
This is a normal occurence in many cases, and there is no need to spam the log with those when it is.
This commit is contained in:
parent
049b7e9a93
commit
0478ac6848
5 changed files with 33 additions and 8 deletions
|
@ -78,6 +78,7 @@ public:
|
|||
virtual bool tx_exists(const crypto::hash& h, uint64_t& tx_index) const { return false; }
|
||||
virtual uint64_t get_tx_unlock_time(const crypto::hash& h) const { return 0; }
|
||||
virtual transaction get_tx(const crypto::hash& h) const { return transaction(); }
|
||||
virtual bool get_tx(const crypto::hash& h, transaction &tx) const { return false; }
|
||||
virtual uint64_t get_tx_count() const { return 0; }
|
||||
virtual std::vector<transaction> get_tx_list(const std::vector<crypto::hash>& hlist) const { return std::vector<transaction>(); }
|
||||
virtual uint64_t get_tx_block_height(const crypto::hash& h) const { return 0; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue