~ We have a helper for messages from the store. */
| 123 | |
| 124 | /*~ We have a helper for messages from the store. */ |
| 125 | void queue_peer_from_store(struct peer *peer, |
| 126 | const struct broadcastable *bcast) |
| 127 | { |
| 128 | struct gossip_store *gs = peer->daemon->rstate->gs; |
| 129 | queue_peer_msg(peer, take(gossip_store_get(NULL, gs, bcast->index))); |
| 130 | } |
| 131 | |
| 132 | /*~ We don't actually keep node_announcements in memory; we keep them in |
| 133 | * a file called `gossip_store`. If we need some node details, we reload |
no test coverage detected