mirror of
https://github.com/monero-project/monero.git
synced 2025-08-08 03:12:17 -04:00
json serialization for rpc-relevant monero types
Structured {de-,}serialization methods for (many new) types which are used for requests or responses in the RPC. New types include RPC requests and responses, and structs which compose types within those. # Conflicts: # src/cryptonote_core/blockchain.cpp
This commit is contained in:
parent
5c1e08fe80
commit
77986023c3
29 changed files with 4968 additions and 3 deletions
|
@ -1574,7 +1574,7 @@ void Blockchain::add_out_to_get_random_outs(COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_A
|
|||
|
||||
uint64_t Blockchain::get_num_mature_outputs(uint64_t amount) const
|
||||
{
|
||||
auto num_outs = m_db->get_num_outputs(amount);
|
||||
uint64_t num_outs = m_db->get_num_outputs(amount);
|
||||
// ensure we don't include outputs that aren't yet eligible to be used
|
||||
// outpouts are sorted by height
|
||||
while (num_outs > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue