core-lightning/contrib/pyln-proto/pyln/proto/message
Rusty Russell f52065201b pyln.proto.message.*: add type annotations.
Other changes along the way:

1. In a couple of places we passed None as a dummy for for
   `otherfields` where {} is just as good.
2. Turned bytes into hex for errors.
3. Remove nonsensical (unused) get_tlv_by_number() function from MessageNamespace
4. Renamed unrelated-but-overlapping `field_from_csv` and
   `type_from_csv` static methods, since mypy thought they should have
   the same type.
5. Unknown tlv fields are placed in dict as strings, not ints, for
   type simplicity.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-06-12 15:35:35 +02:00
..
bolt1 new modules: pyln.proto.message.{bolt1,bolt2,bolt4,bolt7} 2020-06-12 15:35:35 +02:00
bolt2 new modules: pyln.proto.message.{bolt1,bolt2,bolt4,bolt7} 2020-06-12 15:35:35 +02:00
bolt4 new modules: pyln.proto.message.{bolt1,bolt2,bolt4,bolt7} 2020-06-12 15:35:35 +02:00
bolt7 new modules: pyln.proto.message.{bolt1,bolt2,bolt4,bolt7} 2020-06-12 15:35:35 +02:00
__init__.py pyln.proto.message: export more. 2020-06-12 15:35:35 +02:00
array_types.py pyln.proto.message.*: add type annotations. 2020-06-12 15:35:35 +02:00
fundamental_types.py pyln.proto.message.*: add type annotations. 2020-06-12 15:35:35 +02:00
Makefile new modules: pyln.proto.message.{bolt1,bolt2,bolt4,bolt7} 2020-06-12 15:35:35 +02:00
message.py pyln.proto.message.*: add type annotations. 2020-06-12 15:35:35 +02:00