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

Function db_bind_blob

db/bindings.c:87–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void db_bind_blob(struct db_stmt *stmt, const u8 *val, size_t len)
88{
89 size_t pos = check_bind_pos(stmt);
90 stmt->bindings[pos].type = DB_BINDING_BLOB;
91 stmt->bindings[pos].v.blob = memcheck(val, len);
92 stmt->bindings[pos].len = len;
93}
94
95void db_bind_text(struct db_stmt *stmt, const char *val)
96{

Callers 15

db_bind_datastore_keyFunction · 0.85
wallet_add_utxoFunction · 0.85
wallet_add_onchaind_utxoFunction · 0.85
wallet_htlc_save_inFunction · 0.85
wallet_htlc_save_outFunction · 0.85
wallet_utxoset_addFunction · 0.85
invoices_create_fallbackFunction · 0.85
db_bind_preimageFunction · 0.85
db_bind_sha256Function · 0.85
db_bind_secretFunction · 0.85
db_bind_secret_arrFunction · 0.85

Calls 1

check_bind_posFunction · 0.85

Tested by

no test coverage detected