diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-06-05 10:46:18 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-28 21:28:16 +0100 |
| commit | 4258dab4d6dcbf563daa054c7e05e8a0027290b8 (patch) | |
| tree | c992aabb714180d490970957e62b1f54ab65cf59 /src/cryptonote_core/cryptonote_core.cpp | |
| parent | c3a2e1450ad063d97a53e7849d1f618eac4c98e8 (diff) | |
| download | monzero-core-4258dab4d6dcbf563daa054c7e05e8a0027290b8.tar.gz monzero-core-4258dab4d6dcbf563daa054c7e05e8a0027290b8.tar.xz monzero-core-4258dab4d6dcbf563daa054c7e05e8a0027290b8.zip | |
core: new /getrandom_rctouts.bin binary RPC call
to get random ringct outputs to mix with
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
| -rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 550c55759..b3a7cb98d 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -706,6 +706,11 @@ namespace cryptonote return m_blockchain_storage.get_outs(req, res); } //----------------------------------------------------------------------------------------------- + bool core::get_random_rct_outs(const COMMAND_RPC_GET_RANDOM_RCT_OUTPUTS::request& req, COMMAND_RPC_GET_RANDOM_RCT_OUTPUTS::response& res) const + { + return m_blockchain_storage.get_random_rct_outs(req, res); + } + //----------------------------------------------------------------------------------------------- bool core::get_tx_outputs_gindexs(const crypto::hash& tx_id, std::vector<uint64_t>& indexs) const { return m_blockchain_storage.get_tx_outputs_gindexs(tx_id, indexs); |
