diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-07-30 21:27:33 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-07-30 21:57:47 +0000 |
commit | 43f71100bc3e52d06061ef24ba13aa238c01a1f3 (patch) | |
tree | 779f563b5da1c74b290167ef74c5e8170ae2c162 /src/blockchain_db/blockchain_db.h | |
parent | Merge pull request #4129 (diff) | |
download | monero-43f71100bc3e52d06061ef24ba13aa238c01a1f3.tar.xz |
blockchain_db: remove unused get_output_key variant
It was actually incorrect, as it would not return commitment
Diffstat (limited to '')
-rw-r--r-- | src/blockchain_db/blockchain_db.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h index 6851e2404..4431ca44c 100644 --- a/src/blockchain_db/blockchain_db.h +++ b/src/blockchain_db/blockchain_db.h @@ -1262,23 +1262,6 @@ public: virtual output_data_t get_output_key(const uint64_t& amount, const uint64_t& index) = 0; /** - * @brief get some of an output's data - * - * The subclass should return the public key, unlock time, and block height - * for the output with the given global index, collected in a struct. - * - * If the output cannot be found, the subclass should throw OUTPUT_DNE. - * - * If any of these parts cannot be found, but some are, the subclass - * should throw DB_ERROR with a message stating as much. - * - * @param global_index the output's index (global) - * - * @return the requested output data - */ - virtual output_data_t get_output_key(const uint64_t& global_index) const = 0; - - /** * @brief gets an output's tx hash and index * * The subclass should return the hash of the transaction which created the |