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

Method needs_context

tools/generate-wire.py:97–99  ·  view source on GitHub ↗

A field needs a context if it's varsized

(self)

Source from the content-addressed store, hash-verified

95 return implicit_expression
96
97 def needs_context(self):
98 """ A field needs a context if it's varsized """
99 return self.is_varlen() or self.type_obj.needs_context()
100
101 def arg_desc_to(self):
102 if self.len_field_of:

Callers

nothing calls this directly

Calls 2

is_varlenMethod · 0.95
needs_contextMethod · 0.45

Tested by

no test coverage detected