mirror of
https://github.com/jwinterm/wownero.git
synced 2026-11-26 11:04:19 +01:00
Remove some old/obsolete/unused code
git history's here if needed to get any of this back
This commit is contained in:
@@ -1536,22 +1536,6 @@ output_data_t BlockchainBDB::get_output_key(const uint64_t& amount, const uint64
|
||||
return get_output_key(glob_index);
|
||||
}
|
||||
|
||||
// As this is not used, its return is now a blank output.
|
||||
// This will save on space in the db.
|
||||
tx_out BlockchainBDB::get_output(const crypto::hash& h, const uint64_t& index) const
|
||||
{
|
||||
LOG_PRINT_L3("BlockchainBDB::" << __func__);
|
||||
return tx_out();
|
||||
}
|
||||
|
||||
// As this is not used, its return is now a blank output.
|
||||
// This will save on space in the db.
|
||||
tx_out BlockchainBDB::get_output(const uint64_t& index) const
|
||||
{
|
||||
LOG_PRINT_L3("BlockchainBDB::" << __func__);
|
||||
return tx_out();
|
||||
}
|
||||
|
||||
tx_out_index BlockchainBDB::get_output_tx_and_index(const uint64_t& amount, const uint64_t& index)
|
||||
{
|
||||
LOG_PRINT_L3("BlockchainBDB::" << __func__);
|
||||
|
||||
@@ -300,18 +300,6 @@ public:
|
||||
virtual output_data_t get_output_key(const uint64_t& amount, const uint64_t& index);
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user