Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ db_set_readonly
Function
db_set_readonly
db/exec.c:154–157 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
152
}
153
154
void db_set_readonly(struct db *db, bool readonly)
155
{
156
db->readonly = readonly;
157
}
158
159
void db_commit_transaction(struct db *db)
160
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected