Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ ringbuf_used
Function
ringbuf_used
lightningd/log.c:161–164 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
159
}
160
161
static size_t ringbuf_used(const struct log_book *log)
162
{
163
return log->ringbuf_end - log->ringbuf_start;
164
}
165
166
static size_t ringbuf_avail(const struct log_book *log)
167
{
Callers
7
ringbuf_avail
Function · 0.85
get_log_entry
Function · 0.85
del_front_log
Function · 0.85
destroy_log_book
Function · 0.85
log_dump_to_file
Function · 0.85
json_getlog
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
1
main
Function · 0.68