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

Function db_col_psbt

db/bindings.c:421–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421struct wally_psbt *db_col_psbt(const tal_t *ctx, struct db_stmt *stmt, const char *colname)
422{
423 size_t col = db_query_colnum(stmt, colname);
424 const u8 *src = db_column_blob(stmt, col);
425 size_t len = db_column_bytes(stmt, col);
426
427 db_column_null_warn(stmt, colname, col);
428 return psbt_from_bytes(ctx, src, len);
429}
430
431struct bitcoin_tx *db_col_psbt_to_tx(const tal_t *ctx, struct db_stmt *stmt, const char *colname)
432{

Callers 2

wallet_stmt2inflightFunction · 0.85
db_col_psbt_to_txFunction · 0.85

Calls 5

db_query_colnumFunction · 0.85
db_column_blobFunction · 0.85
db_column_bytesFunction · 0.85
db_column_null_warnFunction · 0.85
psbt_from_bytesFunction · 0.85

Tested by

no test coverage detected