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

Function sign_timestamp_and_apply_update

gossipd/gossip_generation.c:604–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602}
603
604static void sign_timestamp_and_apply_update(struct daemon *daemon,
605 const struct chan *chan,
606 int direction,
607 u8 *update TAKES)
608{
609 update = sign_and_timestamp_update(NULL, daemon, chan, direction,
610 update);
611 apply_update(daemon, chan, direction, take(update));
612}
613
614/* We don't want to thrash the gossip network, so we often defer sending an
615 * update. We track them here. */

Callers 3

refresh_local_channelFunction · 0.85
local_enable_chanFunction · 0.85

Calls 2

apply_updateFunction · 0.85

Tested by

no test coverage detected