channeld: handle onion messages.

We do most of the decoding here, and just hand the results to lightningd.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2020-04-01 14:23:09 +10:30
parent f76ab93df6
commit dd690553b8
4 changed files with 169 additions and 2 deletions

View File

@@ -226,6 +226,7 @@ class Type(FieldSet):
'onionreply',
'witscript',
'feature_set',
'onionmsg_path',
]
# Some BOLT types are re-typed based on their field name