2016-06-30 01:38:11 +02:00
|
|
|
#ifndef LIGHTNING_DAEMON_PAY_H
|
|
|
|
#define LIGHTNING_DAEMON_PAY_H
|
|
|
|
#include "config.h"
|
|
|
|
|
2016-08-31 08:34:59 +02:00
|
|
|
struct lightningd_state;
|
2016-06-30 01:38:11 +02:00
|
|
|
struct htlc;
|
|
|
|
|
2016-08-31 08:34:59 +02:00
|
|
|
void complete_pay_command(struct lightningd_state *dstate,
|
|
|
|
const struct htlc *htlc);
|
2016-06-30 01:38:11 +02:00
|
|
|
|
2016-09-05 05:59:48 +02:00
|
|
|
bool pay_add(struct lightningd_state *dstate,
|
|
|
|
const struct sha256 *rhash,
|
|
|
|
u64 msatoshi,
|
|
|
|
const struct pubkey *ids,
|
|
|
|
struct htlc *htlc,
|
|
|
|
const u8 *fail,
|
|
|
|
const struct rval *r);
|
2016-06-30 01:38:11 +02:00
|
|
|
#endif /* LIGHTNING_DAEMON_PAY_H */
|