7d0505c8 wallet2: increase rpc timeout for get_output_distribution (moneromooo-monero)
96370488 add top height to get_output_distribution, and cache it for rct (moneromooo-monero)
bc4d53be rpc: add missing perf timer for get_output_distribution (moneromooo-monero)
THROW_WALLET_EXCEPTION_IF(d.start_height>segregation_fork_height,error::get_output_distribution,"Distribution start_height too high");
THROW_WALLET_EXCEPTION_IF(segregation_fork_height-d.start_height>=d.distribution.size(),error::get_output_distribution,"Distribution size too small");
THROW_WALLET_EXCEPTION_IF(segregation_fork_height-RECENT_OUTPUT_BLOCKS-d.start_height>=d.distribution.size(),error::get_output_distribution,"Distribution size too small");
THROW_WALLET_EXCEPTION_IF(segregation_fork_height<=RECENT_OUTPUT_BLOCKS,error::wallet_internal_error,"Fork height too low");