aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/blockchain_db.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-30 12:12:11 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-16 20:13:08 +0000
commita6216d1ac2dc3a93476f23a47a9f52689b8f0a83 (patch)
tree692f5c4608d1da3884309e3ea035b8de65007424 /src/blockchain_db/blockchain_db.h
parentMerge pull request #5042 (diff)
downloadmonero-a6216d1ac2dc3a93476f23a47a9f52689b8f0a83.tar.xz
blockchain_db: allow getting output keys without commitment
Since the commitment has to be calculated for non rct outputs, it slows down a lot unnecessarily if we don't need it
Diffstat (limited to 'src/blockchain_db/blockchain_db.h')
-rw-r--r--src/blockchain_db/blockchain_db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h
index 5c80bfe4a..fe61aabd8 100644
--- a/src/blockchain_db/blockchain_db.h
+++ b/src/blockchain_db/blockchain_db.h
@@ -1258,7 +1258,7 @@ public:
*
* @return the requested output data
*/
- virtual output_data_t get_output_key(const uint64_t& amount, const uint64_t& index) const = 0;
+ virtual output_data_t get_output_key(const uint64_t& amount, const uint64_t& index, bool include_commitmemt = true) const = 0;
/**
* @brief gets an output's tx hash and index