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

Method tlv_structs

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

Source from the content-addressed store, hash-verified

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

Callers 1

writeMethod · 0.95

Calls 1

singletonMethod · 0.80

Tested by

no test coverage detected