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

Function db_bind_timeabs

db/bindings.c:190–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190void db_bind_timeabs(struct db_stmt *stmt, int col, struct timeabs t)
191{
192 u64 timestamp = t.ts.tv_nsec + (((u64) t.ts.tv_sec) * ((u64) NSEC_IN_SEC));
193 db_bind_u64(stmt, col, timestamp);
194}
195
196void db_bind_tx(struct db_stmt *stmt, int col, const struct wally_tx *tx)
197{

Callers 4

wallet_state_change_addFunction · 0.85
wallet_htlc_save_inFunction · 0.85

Calls 1

db_bind_u64Function · 0.85

Tested by

no test coverage detected