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

Function db_col_signature

db/bindings.c:451–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451bool db_col_signature(struct db_stmt *stmt, const char *colname,
452 secp256k1_ecdsa_signature *sig)
453{
454 size_t col = db_query_colnum(stmt, colname);
455 assert(db_column_bytes(stmt, col) == 64);
456 return secp256k1_ecdsa_signature_parse_compact(
457 secp256k1_ctx, sig, db_column_blob(stmt, col)) == 1;
458}
459
460struct timeabs db_col_timeabs(struct db_stmt *stmt, const char *colname)
461{

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