diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-31 08:31:13 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-01 15:51:19 +0000 |
commit | 6ecc99ad1fd0f2b86641669077130394ab21e71c (patch) | |
tree | cfc05565174ab34bb387504b371f2df3c9a642af /src/blockchain_db/lmdb/db_lmdb.h | |
parent | unit_tests: notify test special case for the usual weirdo (diff) | |
download | monero-6ecc99ad1fd0f2b86641669077130394ab21e71c.tar.xz |
core: avoid unnecessary tx/blob conversions
Diffstat (limited to 'src/blockchain_db/lmdb/db_lmdb.h')
-rw-r--r-- | src/blockchain_db/lmdb/db_lmdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h index e1f748ed8..7e76236a5 100644 --- a/src/blockchain_db/lmdb/db_lmdb.h +++ b/src/blockchain_db/lmdb/db_lmdb.h @@ -256,7 +256,7 @@ public: virtual bool has_key_image(const crypto::key_image& img) const; - virtual void add_txpool_tx(const transaction &tx, const txpool_tx_meta_t& meta); + virtual void add_txpool_tx(const crypto::hash &txid, const cryptonote::blobdata &blob, const txpool_tx_meta_t& meta); virtual void update_txpool_tx(const crypto::hash &txid, const txpool_tx_meta_t& meta); virtual uint64_t get_txpool_tx_count(bool include_unrelayed_txes = true) const; virtual bool txpool_has_tx(const crypto::hash &txid) const; |