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

Function db_bind_psbt

db/bindings.c:227–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227void db_bind_psbt(struct db_stmt *stmt, const struct wally_psbt *psbt)
228{
229 size_t bytes_written;
230 const u8 *ser = psbt_get_bytes(stmt, psbt, &bytes_written);
231 assert(ser);
232 db_bind_blob(stmt, ser, bytes_written);
233}
234
235void db_bind_amount_msat(struct db_stmt *stmt,
236 struct amount_msat msat)

Callers 6

migrate_last_tx_to_psbtFunction · 0.85
wallet_inflight_addFunction · 0.85
wallet_inflight_saveFunction · 0.85
wallet_channel_saveFunction · 0.85

Calls 2

psbt_get_bytesFunction · 0.85
db_bind_blobFunction · 0.85

Tested by

no test coverage detected