aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb/db_lmdb.h
diff options
context:
space:
mode:
authorwarptangent <warptangent@tutanota.com>2016-03-04 11:37:41 -0800
committerHoward Chu <hyc@symas.com>2016-04-05 20:54:06 +0100
commita2f518aa014163e63e39ce5e83a4f0d4d5be5c3f (patch)
treebeb3efd371fed289047a1a8804450a61b3b9b99b /src/blockchain_db/lmdb/db_lmdb.h
parentSchema update: tx_indices - improve further with less indirection (diff)
downloadmonero-a2f518aa014163e63e39ce5e83a4f0d4d5be5c3f.tar.xz
Schema update: tx_indices - yet less indirection
Diffstat (limited to 'src/blockchain_db/lmdb/db_lmdb.h')
-rw-r--r--src/blockchain_db/lmdb/db_lmdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h
index ef47ea5f7..e60103712 100644
--- a/src/blockchain_db/lmdb/db_lmdb.h
+++ b/src/blockchain_db/lmdb/db_lmdb.h
@@ -289,7 +289,7 @@ private:
virtual void remove_block();
- virtual void add_transaction_data(const crypto::hash& blk_hash, const transaction& tx, const crypto::hash& tx_hash);
+ virtual uint64_t add_transaction_data(const crypto::hash& blk_hash, const transaction& tx, const crypto::hash& tx_hash);
virtual void remove_transaction_data(const crypto::hash& tx_hash, const transaction& tx);
@@ -301,7 +301,7 @@ private:
uint64_t& global_output_index
);
- virtual void add_amount_and_global_output_indices(const crypto::hash& tx_hash,
+ virtual void add_amount_and_global_output_indices(const uint64_t tx_index,
const std::vector<uint64_t>& amount_output_indices,
const std::vector<uint64_t>& global_output_indices
);