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

Function db_col_bytes

db/bindings.c:306–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306size_t db_col_bytes(struct db_stmt *stmt, const char *colname)
307{
308 size_t col = db_query_colnum(stmt, colname);
309
310 if (db_column_null_warn(stmt, colname, col))
311 return 0;
312
313 return stmt->db->config->column_bytes_fn(stmt, col);
314}
315
316const void *db_col_blob(struct db_stmt *stmt, const char *colname)
317{

Callers 5

db_col_datastore_keyFunction · 0.85
wallet_stmt2channelFunction · 0.85
wallet_stmt2htlc_inFunction · 0.85
wallet_stmt2htlc_outFunction · 0.85

Calls 2

db_query_colnumFunction · 0.85
db_column_null_warnFunction · 0.85

Tested by

no test coverage detected