You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
374 B
18 lines
374 B
#ifndef LIGHTNING_DAEMON_PAYMENT_H
|
|
#define LIGHTNING_DAEMON_PAYMENT_H
|
|
#include "config.h"
|
|
#include "peer.h"
|
|
|
|
struct lightningd_state;
|
|
|
|
struct payment {
|
|
struct list_node list;
|
|
u64 msatoshis;
|
|
struct rval r;
|
|
struct sha256 rhash;
|
|
};
|
|
|
|
struct payment *find_payment(struct lightningd_state *dstate,
|
|
const struct sha256 *rhash);
|
|
|
|
#endif /* LIGHTNING_DAEMON_PAYMENT_H */
|
|
|