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

Function db_col_signature

db/bindings.c:392–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392bool db_col_signature(struct db_stmt *stmt, const char *colname,
393 secp256k1_ecdsa_signature *sig)
394{
395 size_t col = db_query_colnum(stmt, colname);
396 assert(db_column_bytes(stmt, col) == 64);
397 return secp256k1_ecdsa_signature_parse_compact(
398 secp256k1_ctx, sig, db_column_blob(stmt, col)) == 1;
399}
400
401struct timeabs db_col_timeabs(struct db_stmt *stmt, const char *colname)
402{

Callers 6

migrate_last_tx_to_psbtFunction · 0.85
wallet_htlc_sigs_loadFunction · 0.85
wallet_stmt2inflightFunction · 0.85
wallet_stmt2channelFunction · 0.85

Calls 3

db_query_colnumFunction · 0.85
db_column_bytesFunction · 0.85
db_column_blobFunction · 0.85

Tested by

no test coverage detected