diff options
author | NoodleDoodleNoodleDoodleNoodleDoodleNoo <xeven77@outlook.com> | 2015-05-01 17:16:48 -0700 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-07-15 21:13:42 -0700 |
commit | da1d3c01de23d5c6a3efa0b047de68f26f18d7af (patch) | |
tree | c3b9ad85585f717e735a90f2b645a02d3390fd4e /src/blockchain_db/blockchain_db.h | |
parent | Merge pull request #336 (diff) | |
download | monero-da1d3c01de23d5c6a3efa0b047de68f26f18d7af.tar.xz |
Experimental BDB workaround optimizations
Diffstat (limited to 'src/blockchain_db/blockchain_db.h')
-rw-r--r-- | src/blockchain_db/blockchain_db.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h index c4ca328f6..7b826f762 100644 --- a/src/blockchain_db/blockchain_db.h +++ b/src/blockchain_db/blockchain_db.h @@ -472,6 +472,8 @@ public: // returns the transaction-local reference for the output with <amount> at <index> // return type is pair of tx hash and index virtual tx_out_index get_output_tx_and_index(const uint64_t& amount, const uint64_t& index) const = 0; + virtual void get_output_tx_and_index(const uint64_t& amount, std::vector<uint64_t> &offsets, std::vector<tx_out_index> &indices) const = 0; + virtual bool has_bulk_indices() const = 0; // return a vector of indices corresponding to the global output index for // each output in the transaction with hash <h> |