Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
majestrate committed Mar 11, 2020
1 parent 69126c6 commit 9cdc7f4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
7 changes: 0 additions & 7 deletions llarp/nodedb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 0 additions & 4 deletions llarp/nodedb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9cdc7f4

Please sign in to comment.