mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-15 12:50:22 +02:00
wire-gen: move in-house wire delcarations to new format
tidying things up!
This commit is contained in:
parent
236d26308f
commit
32eaae0cb9
23 changed files with 703 additions and 698 deletions
|
|
@ -169,6 +169,9 @@ class Type(FieldSet):
|
|||
'u64',
|
||||
'bool',
|
||||
'secp256k1_ecdsa_signature',
|
||||
'secp256k1_ecdsa_recoverable_signature',
|
||||
'wirestring',
|
||||
'double',
|
||||
]
|
||||
|
||||
truncated_typedefs = [
|
||||
|
|
@ -576,6 +579,7 @@ def main(options, args=None, output=sys.stdout, lines=None):
|
|||
|
||||
msg.add_data_field(tokens[2], type_obj, count, comments=list(comment_set),
|
||||
optional=optional)
|
||||
|
||||
comment_set = []
|
||||
elif token_type.startswith('#include'):
|
||||
master.add_include(token_type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue