summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-05-24 10:25:00 -0400
committerNick Mathewson <nickm@torproject.org>2017-05-24 10:25:00 -0400
commit511c9006867926cbfcc824567b37e78856fa46d9 (patch)
treee57d9361549d376c4495c117e531ca19f131f42b
parentb80a35e683d63635655191b83200a765141e4fab (diff)
parentcabad0b6c70fab61cd92261855d4d15e720cbf1d (diff)
downloadtor-511c9006867926cbfcc824567b37e78856fa46d9.tar.gz
tor-511c9006867926cbfcc824567b37e78856fa46d9.zip
Merge branch 'master' of git-rw.torproject.org:/tor
-rw-r--r--src/or/nodelist.c10
-rw-r--r--src/or/nodelist.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index e24261b28d..0ef9741243 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -1010,16 +1010,6 @@ node_get_platform(const node_t *node)
return NULL;
}
-/** Return <b>node</b>'s time of publication, or 0 if we don't have one. */
-time_t
-node_get_published_on(const node_t *node)
-{
- if (node->ri)
- return node->ri->cache_info.published_on;
- else
- return 0;
-}
-
/** Return true iff <b>node</b> is one representing this router. */
int
node_is_me(const node_t *node)
diff --git a/src/or/nodelist.h b/src/or/nodelist.h
index b94a066913..6c063de8a3 100644
--- a/src/or/nodelist.h
+++ b/src/or/nodelist.h
@@ -53,7 +53,6 @@ const char *node_get_platform(const node_t *node);
uint32_t node_get_prim_addr_ipv4h(const node_t *node);
void node_get_address_string(const node_t *node, char *cp, size_t len);
long node_get_declared_uptime(const node_t *node);
-time_t node_get_published_on(const node_t *node);
const smartlist_t *node_get_declared_family(const node_t *node);
const ed25519_public_key_t *node_get_ed25519_id(const node_t *node);
int node_ed25519_id_matches(const node_t *node,