mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
Move HTLC handling out of peer_control.c. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 lines
507 B
C
13 lines
507 B
C
/* All about the HTLCs/commitment transactions for a particular peer. */
|
|
#ifndef LIGHTNING_LIGHTNINGD_PEER_HTLCS_H
|
|
#define LIGHTNING_LIGHTNINGD_PEER_HTLCS_H
|
|
#include "config.h"
|
|
#include <ccan/short_types/short_types.h>
|
|
|
|
int peer_accepted_htlc(struct peer *peer, const u8 *msg);
|
|
int peer_fulfilled_htlc(struct peer *peer, const u8 *msg);
|
|
int peer_failed_htlc(struct peer *peer, const u8 *msg);
|
|
int peer_failed_malformed_htlc(struct peer *peer, const u8 *msg);
|
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_PEER_HTLCS_H */
|