mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
This distinguishes them before they have an ID, and also if the daemon doesn't know the ID. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
12 lines
315 B
C
12 lines
315 B
C
#ifndef LIGHTNING_LIGHTNINGD_PEER_CONTROL_H
|
|
#define LIGHTNING_LIGHTNINGD_PEER_CONTROL_H
|
|
#include "config.h"
|
|
#include <stdbool.h>
|
|
|
|
struct lightningd;
|
|
|
|
struct peer *peer_by_unique_id(struct lightningd *ld, u64 unique_id);
|
|
|
|
void setup_listeners(struct lightningd *ld);
|
|
#endif /* LIGHTNING_LIGHTNINGD_PEER_CONTROL_H */
|