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

Function db_bind_psbt

db/bindings.c:203–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void db_bind_psbt(struct db_stmt *stmt, int col, const struct wally_psbt *psbt)
204{
205 size_t bytes_written;
206 const u8 *ser = psbt_get_bytes(stmt, psbt, &bytes_written);
207 assert(ser);
208 db_bind_blob(stmt, col, ser, bytes_written);
209}
210
211void db_bind_amount_msat(struct db_stmt *stmt, int pos,
212 const struct amount_msat *msat)

Callers 5

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