diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-08-10 20:04:30 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-08-10 20:04:32 +0200 |
commit | 09cada45c4e02b5f5dc6c8878dfe90035fe491d4 (patch) | |
tree | 62bab4f94f9fb6b934f79172f6cc1b684a88edb6 /src/blockchain_db/blockchain_db.h | |
parent | Merge pull request #362 (diff) | |
parent | blockchain: factor get_num_outpouts(amount) calls (diff) | |
download | monero-09cada45c4e02b5f5dc6c8878dfe90035fe491d4.tar.xz |
Merge pull request #363
4f19e68 blockchain: factor get_num_outpouts(amount) calls (moneromooo-monero)
275894c blockchain: always select random outs using triangular distribution (moneromooo-monero)
Diffstat (limited to 'src/blockchain_db/blockchain_db.h')
-rw-r--r-- | src/blockchain_db/blockchain_db.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h index ff15109b0..25a34fc09 100644 --- a/src/blockchain_db/blockchain_db.h +++ b/src/blockchain_db/blockchain_db.h @@ -104,7 +104,6 @@ * height get_tx_block_height(hash) * * Outputs: - * index get_random_output(amount) * uint64_t get_num_outputs(amount) * pub_key get_output_key(amount, index) * tx_out get_output(tx_hash, index) @@ -463,9 +462,6 @@ public: // returns height of block that contains transaction with hash <h> virtual uint64_t get_tx_block_height(const crypto::hash& h) const = 0; - // return global output index of a random output of amount <amount> - virtual uint64_t get_random_output(const uint64_t& amount) const = 0; - // returns the total number of outputs of amount <amount> virtual uint64_t get_num_outputs(const uint64_t& amount) const = 0; |