mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 08:34:20 +01:00
chaintopology: restore anchor timeout.
Instead of using wall-clock time, we use blocks. This is simpler and better for database restores. And both sides will time out. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -278,6 +278,8 @@ const char *command_htlc_add(struct peer *peer, u64 msatoshi,
|
||||
enum fail_error *error_code,
|
||||
struct htlc **htlc);
|
||||
|
||||
void peers_new_block(struct lightningd_state *dstate, unsigned int height);
|
||||
|
||||
/* Peer has an issue, breakdown and fail. */
|
||||
void peer_fail(struct peer *peer, const char *caller);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user