Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
511c9006
Commit
511c9006
authored
May 24, 2017
by
Nick Mathewson
👁
Browse files
Merge branch 'master' of git-rw.torproject.org:/tor
parents
b80a35e6
cabad0b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/or/nodelist.c
View file @
511c9006
...
...
@@ -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
)
...
...
src/or/nodelist.h
View file @
511c9006
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment