Following problems occur to me during my reading codebase of the current monero project,
- Are the mix-ins grabbed through
wallet2::get_outs
function in the wallet side, which is further delegated to thecore_rpc_server::on_get_output_histogram
andcore_rpc_server::on_get_outs_bin
interfaces in the daemon side by means of rpc call?- If YES, when is the double spending checked during the execution of
wallet2::get_outs
? - If NO, which function is responsible of the mix-ins generation?
- If YES, when is the double spending checked during the execution of
- Will the double spending be checked during the mix-ins procedure? If yes, by who?
Really appreciate if someone can share something about the questions~