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

Method add_message

tools/generate-wire.py:455–458  ·  view source on GitHub ↗

tokens -> (name, value[, option])

(self, tokens, comments=[])

Source from the content-addressed store, hash-verified

453 return self.tlvs[tlv_name]
454
455 def add_message(self, tokens, comments=[]):
456 """ tokens -> (name, value[, option])"""
457 self.messages[tokens[0]] = Message(tokens[0], tokens[1], option=tokens[2:],
458 comments=comments)
459
460 def add_type(self, type_name, field_name=None, outer_name=None):
461 optional = False

Callers 1

mainFunction · 0.95

Calls 1

MessageClass · 0.70

Tested by

no test coverage detected