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

Method post_process

tools/generate-wire.py:514–519  ·  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

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

Callers 1

mainFunction · 0.95

Calls 1

mark_tlvMethod · 0.80

Tested by

no test coverage detected