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

Function db_bind_signature

db/bindings.c:204–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204void db_bind_signature(struct db_stmt *stmt,
205 const secp256k1_ecdsa_signature *sig)
206{
207 u8 *buf = tal_arr(stmt, u8, 64);
208 int ret = secp256k1_ecdsa_signature_serialize_compact(secp256k1_ctx,
209 buf, sig);
210 assert(ret == 1);
211 db_bind_blob(stmt, buf, 64);
212}
213
214void db_bind_timeabs(struct db_stmt *stmt, struct timeabs t)
215{

Callers 6

wallet_inflight_addFunction · 0.85
wallet_inflight_saveFunction · 0.85
wallet_announcement_saveFunction · 0.85
wallet_channel_saveFunction · 0.85
wallet_htlc_sigs_saveFunction · 0.85
wallet_htlc_sigs_addFunction · 0.85

Calls 1

db_bind_blobFunction · 0.85

Tested by

no test coverage detected