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

Function db_bind_pubkey

db/bindings.c:155–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void db_bind_pubkey(struct db_stmt *stmt, int pos, const struct pubkey *pk)
156{
157 u8 *der = tal_arr(stmt, u8, PUBKEY_CMPR_LEN);
158 pubkey_to_der(der, pk);
159 db_bind_blob(stmt, pos, der, PUBKEY_CMPR_LEN);
160}
161
162void db_bind_scid(struct db_stmt *stmt, int col,
163 const struct short_channel_id *id)

Callers 5

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

Calls 2

db_bind_blobFunction · 0.85
pubkey_to_derFunction · 0.50

Tested by

no test coverage detected