mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
71b8a07c56
These tables could use a rework, as they largely reflect our internal state. But it's a start. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
22 lines
585 B
C
22 lines
585 B
C
#ifndef LIGHTNING_DAEMON_WALLET_H
|
|
#define LIGHTNING_DAEMON_WALLET_H
|
|
#include "config.h"
|
|
|
|
struct wallet;
|
|
struct lightningd_state;
|
|
struct bitcoin_tx;
|
|
struct bitcoin_tx_output;
|
|
|
|
bool restore_wallet_address(struct lightningd_state *dstate,
|
|
const struct privkey *privkey);
|
|
|
|
void wallet_add_signed_input(struct lightningd_state *dstate,
|
|
const struct wallet *w,
|
|
struct bitcoin_tx *tx,
|
|
unsigned int input_num);
|
|
|
|
struct wallet *wallet_can_spend(struct lightningd_state *dstate,
|
|
const struct bitcoin_tx_output *output);
|
|
|
|
#endif /* LIGHTNING_DAEMON_WALLET_H */
|