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

Function db_bind_timeabs

db/bindings.c:214–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214void db_bind_timeabs(struct db_stmt *stmt, struct timeabs t)
215{
216 u64 timestamp = t.ts.tv_nsec + (((u64) t.ts.tv_sec) * ((u64) NSEC_IN_SEC));
217 db_bind_u64(stmt, timestamp);
218}
219
220void db_bind_tx(struct db_stmt *stmt, const struct wally_tx *tx)
221{

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