Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ db_query_prepared
Function
db_query_prepared
db/utils.c:154–158 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
152
}
153
154
void db_query_prepared(struct db_stmt *stmt)
155
{
156
if (!db_query_prepared_canfail(stmt))
157
db_fatal(stmt->db,
"query failed: %s"
, stmt->error);
158
}
159
160
bool db_step(struct db_stmt *stmt)
161
{
Callers
15
find_chain_events
Function · 0.85
list_channel_events
Function · 0.85
db_datastore_get
Function · 0.85
db_datastore_first
Function · 0.85
fillin_missing_scriptpubkeys
Function · 0.85
fillin_missing_channel_id
Function · 0.85
fillin_missing_local_basepoints
Function · 0.85
migrate_inflight_last_tx_to_psbt
Function · 0.85
migrate_last_tx_to_psbt
Function · 0.85
migrate_channels_scids_as_integers
Function · 0.85
migrate_payments_scids_as_integers
Function · 0.85
migrate_fill_in_channel_type
Function · 0.85
Calls
2
db_query_prepared_canfail
Function · 0.85
db_fatal
Function · 0.85
Tested by
3
count_inflights
Function · 0.68
count_moves
Function · 0.68
count_moves
Function · 0.68