pyln.proto.message: expose fundamental MessageTypes as variables.

Suggested-by: Christian Decker
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2020-06-04 12:11:45 +09:30
committed by Christian Decker
parent 47631cc23c
commit 42aab89b9f
3 changed files with 27 additions and 30 deletions

View File

@@ -7,4 +7,20 @@ __all__ = [
"MessageType",
"Message",
"SubtypeType",
# fundamental_types
'byte',
'u16',
'u32',
'u64',
'tu16',
'tu32',
'tu64',
'chain_hash',
'channel_id',
'sha256',
'point',
'short_channel_id',
'signature',
'bigsize',
]