pub fn random_improve(
    db: &Database,
    spend_query: &SpendQuery
) -> Result<Vec<Vec<Resource<Coin, Message>>>, ResourceQueryError>