mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
wallet: no longer expose wallet_add_utxo function.
All users are now internal. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
4271fc8652
commit
e12defa7fb
@@ -73,9 +73,15 @@ struct wallet *wallet_new(struct lightningd *ld, struct timers *timers)
|
||||
return wallet;
|
||||
}
|
||||
|
||||
/* This can fail if we've already seen UTXO. */
|
||||
bool wallet_add_utxo(struct wallet *w, struct utxo *utxo,
|
||||
enum wallet_output_type type)
|
||||
/**
|
||||
* wallet_add_utxo - Register an UTXO which we (partially) own
|
||||
*
|
||||
* Add an UTXO to the set of outputs we care about.
|
||||
*
|
||||
* This can fail if we've already seen UTXO.
|
||||
*/
|
||||
static bool wallet_add_utxo(struct wallet *w, struct utxo *utxo,
|
||||
enum wallet_output_type type)
|
||||
{
|
||||
struct db_stmt *stmt;
|
||||
|
||||
|
||||
@@ -333,14 +333,6 @@ struct wallet_transaction {
|
||||
*/
|
||||
struct wallet *wallet_new(struct lightningd *ld, struct timers *timers);
|
||||
|
||||
/**
|
||||
* wallet_add_utxo - Register an UTXO which we (partially) own
|
||||
*
|
||||
* Add an UTXO to the set of outputs we care about.
|
||||
*/
|
||||
bool wallet_add_utxo(struct wallet *w, struct utxo *utxo,
|
||||
enum wallet_output_type type);
|
||||
|
||||
/**
|
||||
* wallet_confirm_tx - Confirm a tx which contains a UTXO.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user