diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-01-18 09:25:33 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-01-18 09:25:34 +0200 |
commit | aa5b0c7f71eda9f9a217da38b90f4b8821af2baf (patch) | |
tree | e73c60553b048f762ba37d8a943ebbccb41d35c7 /tests/unit_tests | |
parent | Merge pull request #5020 (diff) | |
parent | blockchain_ancestry: allow getting ancestry of a single output (diff) | |
download | monero-aa5b0c7f71eda9f9a217da38b90f4b8821af2baf.tar.xz |
Merge pull request #5028
464097e5 blockchain_ancestry: allow getting ancestry of a single output (moneromooo-monero)
a6216d1a blockchain_db: allow getting output keys without commitment (moneromooo-monero)
Diffstat (limited to 'tests/unit_tests')
-rw-r--r-- | tests/unit_tests/testdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/testdb.h b/tests/unit_tests/testdb.h index b8fef8ed3..8f5cf70e8 100644 --- a/tests/unit_tests/testdb.h +++ b/tests/unit_tests/testdb.h @@ -89,7 +89,7 @@ public: virtual uint64_t get_tx_block_height(const crypto::hash& h) const { return 0; } virtual uint64_t get_num_outputs(const uint64_t& amount) const { return 1; } virtual uint64_t get_indexing_base() const { return 0; } - virtual cryptonote::output_data_t get_output_key(const uint64_t& amount, const uint64_t& index) const { return cryptonote::output_data_t(); } + virtual cryptonote::output_data_t get_output_key(const uint64_t& amount, const uint64_t& index, bool include_commitmemt) const { return cryptonote::output_data_t(); } virtual cryptonote::tx_out_index get_output_tx_and_index_from_global(const uint64_t& index) const { return cryptonote::tx_out_index(); } virtual cryptonote::tx_out_index get_output_tx_and_index(const uint64_t& amount, const uint64_t& index) const { return cryptonote::tx_out_index(); } virtual void get_output_tx_and_index(const uint64_t& amount, const std::vector<uint64_t> &offsets, std::vector<cryptonote::tx_out_index> &indices) const {} |