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

Method tlv_structs

tools/generate-wire.py:498–505  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

496 return sorted_types
497
498 def tlv_structs(self):
499 ret = []
500 for tlv in self.tlvs.values():
501 for v in tlv.messages.values():
502 if not v.singleton():
503 ret.append(v)
504
505 return ret
506
507 def find_template(self, options):
508 dirpath = os.path.dirname(os.path.abspath(__file__))

Callers 1

writeMethod · 0.95

Calls 1

singletonMethod · 0.80

Tested by

no test coverage detected