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

Function db_bind_signature

db/bindings.c:180–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180void db_bind_signature(struct db_stmt *stmt, int col,
181 const secp256k1_ecdsa_signature *sig)
182{
183 u8 *buf = tal_arr(stmt, u8, 64);
184 int ret = secp256k1_ecdsa_signature_serialize_compact(secp256k1_ctx,
185 buf, sig);
186 assert(ret == 1);
187 db_bind_blob(stmt, col, buf, 64);
188}
189
190void db_bind_timeabs(struct db_stmt *stmt, int col, struct timeabs t)
191{

Callers 4

wallet_inflight_addFunction · 0.85
wallet_announcement_saveFunction · 0.85
wallet_channel_saveFunction · 0.85
wallet_htlc_sigs_saveFunction · 0.85

Calls 1

db_bind_blobFunction · 0.85

Tested by

no test coverage detected