mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
lightningd/bitcoind: use the Bitcoin plugin for getutxout
This commit is contained in:
@@ -166,12 +166,19 @@ void bitcoind_getrawblockbyheight_(struct bitcoind *bitcoind,
|
||||
struct bitcoin_block *),\
|
||||
(arg))
|
||||
|
||||
void bitcoind_gettxout(struct bitcoind *bitcoind,
|
||||
const struct bitcoin_txid *txid, const u32 outnum,
|
||||
void (*cb)(struct bitcoind *bitcoind,
|
||||
const struct bitcoin_tx_output *txout,
|
||||
void *arg),
|
||||
void *arg);
|
||||
void bitcoind_getutxout_(struct bitcoind *bitcoind,
|
||||
const struct bitcoin_txid *txid, const u32 outnum,
|
||||
void (*cb)(struct bitcoind *bitcoind,
|
||||
const struct bitcoin_tx_output *txout,
|
||||
void *arg),
|
||||
void *arg);
|
||||
#define bitcoind_getutxout(bitcoind_, txid_, vout_, cb, arg) \
|
||||
bitcoind_getutxout_((bitcoind_), (txid_), (vout_), \
|
||||
typesafe_cb_preargs(void, void *, \
|
||||
(cb), (arg), \
|
||||
struct bitcoind *, \
|
||||
struct bitcoin_tx_output *),\
|
||||
(arg))
|
||||
|
||||
void bitcoind_getclientversion(struct bitcoind *bitcoind);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user