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

Function db_datastore_remove

wallet/wallet.c:6422–6430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6420}
6421
6422static void db_datastore_remove(struct db *db, const char **key)
6423{
6424 struct db_stmt *stmt;
6425
6426 stmt = db_prepare_v2(db, SQL("DELETE FROM datastore"
6427 " WHERE key = ?"));
6428 db_bind_datastore_key(stmt, key);
6429 db_exec_prepared_v2(take(stmt));
6430}
6431
6432void wallet_datastore_save_utxo_description(struct db *db,
6433 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