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

Function db_col_timeabs

db/bindings.c:460–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458}
459
460struct timeabs db_col_timeabs(struct db_stmt *stmt, const char *colname)
461{
462 struct timeabs t;
463 u64 timestamp = db_col_u64(stmt, colname);
464 t.ts.tv_sec = timestamp / NSEC_IN_SEC;
465 t.ts.tv_nsec = timestamp % NSEC_IN_SEC;
466 return t;
467
468}
469
470struct bitcoin_tx *db_col_tx(const tal_t *ctx, struct db_stmt *stmt, const char *colname)
471{

Callers 3

wallet_state_change_getFunction · 0.85
wallet_stmt2htlc_inFunction · 0.85
forwarding_detailsFunction · 0.85

Calls 1

db_col_u64Function · 0.85

Tested by

no test coverage detected