MCPcopy Create free account
hub / github.com/ElementsProject/lightning / gossip_time_now

Function gossip_time_now

gossipd/routing.c:2032–2039  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2030}
2031
2032struct timeabs gossip_time_now(const struct routing_state *rstate)
2033{
2034#if DEVELOPER
2035 if (rstate->gossip_time)
2036 return *rstate->gossip_time;
2037#endif
2038 return time_now();
2039}
2040
2041const char *unfinalized_entries(const tal_t *ctx, struct routing_state *rstate)
2042{

Callers 6

gossip_refresh_networkFunction · 0.70
timestamp_for_updateFunction · 0.70
timestamp_reasonableFunction · 0.70
route_pruneFunction · 0.70

Calls 1

time_nowFunction · 0.85

Tested by

no test coverage detected