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

Function db_bind_blob

db/bindings.c:76–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void db_bind_blob(struct db_stmt *stmt, int pos, const u8 *val, size_t len)
77{
78 assert(pos < tal_count(stmt->bindings));
79 stmt->bindings[pos].type = DB_BINDING_BLOB;
80 stmt->bindings[pos].v.blob = memcheck(val, len);
81 stmt->bindings[pos].len = len;
82}
83
84void db_bind_text(struct db_stmt *stmt, int pos, const char *val)
85{

Callers 15

wallet_add_utxoFunction · 0.85
wallet_add_onchaind_utxoFunction · 0.85
wallet_htlc_save_inFunction · 0.85
wallet_htlc_save_outFunction · 0.85
db_bind_datastore_keyFunction · 0.85
db_bind_preimageFunction · 0.85
db_bind_sha256Function · 0.85
db_bind_secretFunction · 0.85
db_bind_secret_arrFunction · 0.85
db_bind_channel_idFunction · 0.85
db_bind_node_idFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected