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

Function db_bind_pubkey

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

Source from the content-addressed store, hash-verified

178}
179
180void db_bind_pubkey(struct db_stmt *stmt, const struct pubkey *pk)
181{
182 u8 *der = tal_arr(stmt, u8, PUBKEY_CMPR_LEN);
183 pubkey_to_der(der, pk);
184 db_bind_blob(stmt, der, PUBKEY_CMPR_LEN);
185}
186
187void db_bind_short_channel_id(struct db_stmt *stmt, struct short_channel_id scid)
188{

Callers 6

wallet_add_utxoFunction · 0.85
wallet_add_onchaind_utxoFunction · 0.85
wallet_inflight_addFunction · 0.85
wallet_channel_saveFunction · 0.85
wallet_channel_insertFunction · 0.85

Calls 2

pubkey_to_derFunction · 0.85
db_bind_blobFunction · 0.85

Tested by

no test coverage detected