MCPcopy 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
161static size_t ringbuf_used(const struct log_book *log)
162{
163 return log->ringbuf_end - log->ringbuf_start;
164}
165
166static size_t ringbuf_avail(const struct log_book *log)
167{

Callers 7

ringbuf_availFunction · 0.85
get_log_entryFunction · 0.85
del_front_logFunction · 0.85
destroy_log_bookFunction · 0.85
log_dump_to_fileFunction · 0.85
json_getlogFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68