I'd rather completely remove the getpeerlist argument from set_state_callback completely, there is no reason for network_get_stats to need to know a list of hashes of other downloads.
If we switch to the moreinfo_stats boolean as suggested by me we don't need the list.