diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-08-09 18:07:44 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-08-09 18:07:44 +0100 |
commit | 275894cdefeb80095b4b3463ec732c6e728f91b9 (patch) | |
tree | 7667f4d4d05e795ca1696a541c8d6fd252c69112 /src/blockchain_db/lmdb/db_lmdb.h | |
parent | Merge pull request #358 (diff) | |
download | monero-275894cdefeb80095b4b3463ec732c6e728f91b9.tar.xz |
blockchain: always select random outs using triangular distribution
It was only used by the older blockchain_storage.
We also move the code to the calling blockchain level, to avoid
replicating the code in every DB implementation. This also makes
the get_random_out method obsolete, and we delete it.
Diffstat (limited to '')
-rw-r--r-- | src/blockchain_db/lmdb/db_lmdb.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h index 0facb8713..b4c197803 100644 --- a/src/blockchain_db/lmdb/db_lmdb.h +++ b/src/blockchain_db/lmdb/db_lmdb.h @@ -157,8 +157,6 @@ public: virtual uint64_t get_tx_block_height(const crypto::hash& h) const; - virtual uint64_t get_random_output(const uint64_t& amount) const; - virtual uint64_t get_num_outputs(const uint64_t& amount) const; virtual output_data_t get_output_key(const uint64_t& amount, const uint64_t& index); |