mirror of
https://github.com/monero-project/monero.git
synced 2026-01-17 07:12:01 -08:00
Add mempool output to daemon via command and RPC
This is for the "print_pool" command and "get_transaction_pool" RPC method. Add mempool's spent key images to the results.
This commit is contained in:
@@ -401,10 +401,8 @@ namespace cryptonote
|
||||
//------------------------------------------------------------------------------------------------------------------------------
|
||||
bool core_rpc_server::on_get_transaction_pool(const COMMAND_RPC_GET_TRANSACTION_POOL::request& req, COMMAND_RPC_GET_TRANSACTION_POOL::response& res)
|
||||
{
|
||||
/*
|
||||
CHECK_CORE_BUSY();
|
||||
res.transactions = m_core.transaction_pool_info();
|
||||
*/
|
||||
m_core.get_pool_transactions_and_spent_keys_info(res.transactions, res.spent_key_images);
|
||||
res.status = CORE_RPC_STATUS_OK;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user