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

Function sqlite3_column_pubkey

devtools/checkchannels.c:84–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84static void sqlite3_column_pubkey(struct sqlite3_stmt *stmt, int pos, struct pubkey *dest)
85{
86 bool ok;
87 assert(sqlite3_column_bytes(stmt, pos) == PUBKEY_CMPR_LEN);
88 ok = pubkey_from_der(sqlite3_column_blob(stmt, pos), PUBKEY_CMPR_LEN, dest);
89 assert(ok);
90}
91
92static void sqlite3_column_short_channel_id(struct sqlite3_stmt *stmt,
93 int pos,

Callers 1

mainFunction · 0.85

Calls 1

pubkey_from_derFunction · 0.85

Tested by

no test coverage detected