core: new /getrandom_rctouts.bin binary RPC call

to get random ringct outputs to mix with
This commit is contained in:
moneromooo-monero
2016-06-05 10:46:18 +01:00
parent c3a2e1450a
commit 4258dab4d6
7 changed files with 192 additions and 0 deletions
+5
View File
@@ -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);