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

Function db_bind_short_channel_id_arr

db/bindings.c:168–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void db_bind_short_channel_id_arr(struct db_stmt *stmt, int col,
169 const struct short_channel_id *id)
170{
171 u8 *ser = tal_arr(stmt, u8, 0);
172 size_t num = tal_count(id);
173
174 for (size_t i = 0; i < num; ++i)
175 towire_short_channel_id(&ser, &id[i]);
176
177 db_bind_talarr(stmt, col, ser);
178}
179
180void db_bind_signature(struct db_stmt *stmt, int col,
181 const secp256k1_ecdsa_signature *sig)

Callers 1

wallet_payment_storeFunction · 0.85

Calls 2

towire_short_channel_idFunction · 0.85
db_bind_talarrFunction · 0.85

Tested by

no test coverage detected