mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-03 22:34:21 +01:00
pyln.proto.message: expose array types, add set_field for Message class.
Exposing the array types is required for our dummyrunner in the lnprototest suite, since it wants to be able to generate fake fields. The set_field is similarly useful. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
f52065201b
commit
fd3ea91b44
@@ -1,3 +1,4 @@
|
||||
from .array_types import SizedArrayType, DynamicArrayType, EllipsisArrayType
|
||||
from .message import MessageNamespace, MessageType, Message, SubtypeType
|
||||
from .fundamental_types import split_field, FieldType
|
||||
|
||||
@@ -10,6 +11,9 @@ __all__ = [
|
||||
"SubtypeType",
|
||||
"FieldType",
|
||||
"split_field",
|
||||
"SizedArrayType",
|
||||
"DynamicArrayType",
|
||||
"EllipsisArrayType",
|
||||
|
||||
# fundamental_types
|
||||
'byte',
|
||||
|
||||
Reference in New Issue
Block a user