diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-01-10 11:45:15 +0100 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-01-10 11:45:15 +0100 |
commit | 0a110aefbb4e558772cef62422a103933bf04234 (patch) | |
tree | 0bb0cde9d5f4fd8c419f2ccfeb90d926ff58bdb2 /src/blockchain_db/blockchain_db.h | |
parent | Merge pull request #3019 (diff) | |
parent | Fix exceptions not finding txpool txes when relaying (diff) | |
download | monero-0a110aefbb4e558772cef62422a103933bf04234.tar.xz |
Merge pull request #2971
ae860230 Fix exceptions not finding txpool txes when relaying (moneromooo-monero)
Diffstat (limited to 'src/blockchain_db/blockchain_db.h')
-rw-r--r-- | src/blockchain_db/blockchain_db.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h index 88034a927..33c3341fa 100644 --- a/src/blockchain_db/blockchain_db.h +++ b/src/blockchain_db/blockchain_db.h @@ -1333,10 +1333,11 @@ public: * @brief get a txpool transaction's metadata * * @param txid the transaction id of the transation to lookup + * @param meta the metadata to return * - * @return the metadata associated with that transaction + * @return true if the tx meta was found, false otherwise */ - virtual txpool_tx_meta_t get_txpool_tx_meta(const crypto::hash& txid) const = 0; + virtual bool get_txpool_tx_meta(const crypto::hash& txid, txpool_tx_meta_t &meta) const = 0; /** * @brief get a txpool transaction's blob |