Merge pull request #3226
e4646379keccak: fix mdlen bounds sanity checking (moneromooo-monero)2e3e90acpass large parameters by const ref, not value (moneromooo-monero)61defd89blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero)9af6b2d1ringct: fix infinite loop in unused h2b function (moneromooo-monero)8cea8d0csimplewallet: double check a new multisig wallet is multisig (moneromooo-monero)9b98a6acthreadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero)24803ed9blockchain_export: fix buffer overflow in exporter (moneromooo-monero)f3f7da62perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero)c6ea3df0performance_tests: remove add_arg call stray extra param (moneromooo-monero)fa6b4566fuzz_tests: fix an uninitialized var in setup (moneromooo-monero)03887f11keccak: fix sanity check bounds test (moneromooo-monero)ad11db91blockchain_db: initialize m_open in base class ctor (moneromooo-monero)bece67f9miner: restore std::cout precision after modification (moneromooo-monero)1aabd14cdb_lmdb: check hard fork info drop succeeded (moneromooo-monero)
This commit is contained in:
@@ -108,7 +108,7 @@ namespace epee
|
||||
}
|
||||
|
||||
template<class t_result, class t_arg, class callback_t, class t_transport>
|
||||
bool async_invoke_remote_command2(boost::uuids::uuid conn_id, int command, const t_arg& out_struct, t_transport& transport, callback_t cb, size_t inv_timeout = LEVIN_DEFAULT_TIMEOUT_PRECONFIGURED)
|
||||
bool async_invoke_remote_command2(boost::uuids::uuid conn_id, int command, const t_arg& out_struct, t_transport& transport, const callback_t &cb, size_t inv_timeout = LEVIN_DEFAULT_TIMEOUT_PRECONFIGURED)
|
||||
{
|
||||
typename serialization::portable_storage stg;
|
||||
const_cast<t_arg&>(out_struct).store(stg);//TODO: add true const support to searilzation
|
||||
|
||||
Reference in New Issue
Block a user