MCPcopy Create free account
hub / github.com/ElementsProject/lightning / db_datastore_remove

Function db_datastore_remove

wallet/wallet.c:6362–6370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6360}
6361
6362static void db_datastore_remove(struct db *db, const char **key)
6363{
6364 struct db_stmt *stmt;
6365
6366 stmt = db_prepare_v2(db, SQL("DELETE FROM datastore"
6367 " WHERE key = ?"));
6368 db_bind_datastore_key(stmt, key);
6369 db_exec_prepared_v2(take(stmt));
6370}
6371
6372void wallet_datastore_save_utxo_description(struct db *db,
6373 const struct bitcoin_outpoint *outpoint,

Calls 2

db_exec_prepared_v2Function · 0.85
db_bind_datastore_keyFunction · 0.70

Tested by

no test coverage detected