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

Method post_process

tools/generate-wire.py:516–521  ·  view source on GitHub ↗

method to handle any 'post processing' that needs to be done. for now, we just need match up types to TLVs

(self)

Source from the content-addressed store, hash-verified

514 return Template(filename=filename)
515
516 def post_process(self):
517 """ method to handle any 'post processing' that needs to be done.
518 for now, we just need match up types to TLVs """
519 for tlv_name, tlv in self.tlvs.items():
520 if tlv_name in self.types:
521 self.types[tlv_name].mark_tlv(tlv)
522
523 def write(self, options, output):
524 template = self.find_template(options)

Callers 1

mainFunction · 0.95

Calls 1

mark_tlvMethod · 0.80

Tested by

no test coverage detected