aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/blockchain_db.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-06-18 17:36:12 +0200
committerRiccardo Spagni <ric@spagni.net>2017-06-18 17:36:12 +0200
commit78f965a9e23145f0e1f3abb422cbd4ea24654cd8 (patch)
tree81ff2d7b170da4620138fdea89ccae17632c2aea /src/blockchain_db/blockchain_db.h
parentMerge pull request #2081 (diff)
parentblockchain_db: add a txpool tx getter which returns existence (diff)
downloadmonero-78f965a9e23145f0e1f3abb422cbd4ea24654cd8.tar.xz
Merge pull request #2082
235df7f4 blockchain_db: add a txpool tx getter which returns existence (moneromooo-monero)
Diffstat (limited to 'src/blockchain_db/blockchain_db.h')
-rw-r--r--src/blockchain_db/blockchain_db.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h
index b0a3d84e1..27e63801d 100644
--- a/src/blockchain_db/blockchain_db.h
+++ b/src/blockchain_db/blockchain_db.h
@@ -1317,6 +1317,16 @@ public:
* @brief get a txpool transaction's blob
*
* @param txid the transaction id of the transation to lookup
+ * @param bd the blob to return
+ *
+ * @return true if the txid was in the txpool, false otherwise
+ */
+ virtual bool get_txpool_tx_blob(const crypto::hash& txid, cryptonote::blobdata &bd) const = 0;
+
+ /**
+ * @brief get a txpool transaction's blob
+ *
+ * @param txid the transaction id of the transation to lookup
*
* @return the blob for that transaction
*/