remove dead code

pull/1176/head
Jeff Becker 4 years ago
parent 69126c67df
commit 9cdc7f498d
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -525,13 +525,6 @@ llarp_nodedb::select_random_exit(llarp::RouterContact &result)
return false;
}
bool
llarp_nodedb::select_random_hop(const llarp::RouterContact &prev,
llarp::RouterContact &result, size_t N)
{
(void)N;
return select_random_hop_excluding(result, {prev.pubkey});
}
bool
llarp_nodedb::select_random_hop_excluding(

@ -154,10 +154,6 @@ struct llarp_nodedb
bool
select_random_exit(llarp::RouterContact &rc) EXCLUDES(access);
bool
select_random_hop(const llarp::RouterContact &prev,
llarp::RouterContact &result, size_t N) EXCLUDES(access);
bool
select_random_hop_excluding(llarp::RouterContact &result,
const std::set< llarp::RouterID > &exclude)

Loading…
Cancel
Save