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:192–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void db_bind_short_channel_id_arr(struct db_stmt *stmt,
193 const struct short_channel_id *id)
194{
195 u8 *ser = tal_arr(stmt, u8, 0);
196 size_t num = tal_count(id);
197
198 for (size_t i = 0; i < num; ++i)
199 towire_short_channel_id(&ser, id[i]);
200
201 db_bind_talarr(stmt, ser);
202}
203
204void db_bind_signature(struct db_stmt *stmt,
205 const secp256k1_ecdsa_signature *sig)

Callers 2

wallet_channel_saveFunction · 0.85
wallet_add_paymentFunction · 0.85

Calls 2

towire_short_channel_idFunction · 0.85
db_bind_talarrFunction · 0.85

Tested by

no test coverage detected