mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
e2a6fd7112
Usable other places, not just in wallet
18 lines
441 B
C
18 lines
441 B
C
#ifndef LIGHTNING_WALLET_WALLETRPC_H
|
|
#define LIGHTNING_WALLET_WALLETRPC_H
|
|
#include "config.h"
|
|
#include <common/json.h>
|
|
|
|
struct command;
|
|
struct json_stream;
|
|
struct utxo;
|
|
|
|
void json_add_utxos(struct json_stream *response,
|
|
struct wallet *wallet,
|
|
struct utxo **utxos);
|
|
|
|
/* We evaluate reserved timeouts lazily, so use this. */
|
|
bool is_reserved(const struct utxo *utxo, u32 current_height);
|
|
|
|
#endif /* LIGHTNING_WALLET_WALLETRPC_H */
|