aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb/db_lmdb.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-10-27 10:01:20 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-10-27 10:01:20 +0000
commit4f873bcbaa7cbf8733ed9ffc4f136256cb90d447 (patch)
treeec22aea9d7c100757d097a798774a9edb66cf82f /src/blockchain_db/lmdb/db_lmdb.h
parentMerge pull request #453 (diff)
downloadmonero-4f873bcbaa7cbf8733ed9ffc4f136256cb90d447.tar.xz
Remove some old/obsolete/unused code
git history's here if needed to get any of this back
Diffstat (limited to '')
-rw-r--r--src/blockchain_db/lmdb/db_lmdb.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h
index 85c2dffca..98546620b 100644
--- a/src/blockchain_db/lmdb/db_lmdb.h
+++ b/src/blockchain_db/lmdb/db_lmdb.h
@@ -163,19 +163,6 @@ public:
virtual output_data_t get_output_key(const uint64_t& global_index) const;
virtual void get_output_key(const uint64_t &amount, const std::vector<uint64_t> &offsets, std::vector<output_data_t> &outputs);
- virtual tx_out get_output(const crypto::hash& h, const uint64_t& index) const;
-
- /**
- * @brief get an output from its global index
- *
- * @param index global index of the output desired
- *
- * @return the output associated with the index.
- * Will throw OUTPUT_DNE if not output has that global index.
- * Will throw DB_ERROR if there is a non-specific LMDB error in fetching
- */
- tx_out get_output(const uint64_t& index) const;
-
virtual tx_out_index get_output_tx_and_index_from_global(const uint64_t& index) const;
virtual void get_output_tx_and_index_from_global(const std::vector<uint64_t> &global_indices,
std::vector<tx_out_index> &tx_out_indices) const;
@@ -296,10 +283,8 @@ private:
MDB_dbi m_output_txs;
MDB_dbi m_output_indices;
- MDB_dbi m_output_gindices;
MDB_dbi m_output_amounts;
MDB_dbi m_output_keys;
- MDB_dbi m_outputs;
MDB_dbi m_spent_keys;