mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 09:28:13 +00:00
36784bf0f5
Logic of default values and required fields is better handled on the application layer, not in the protobuf codec. Also, protobuf v3 removed support for both. Since now, messages are defined by subclassing protobuf.MessageType: class Example(protobuf.MessageType): FIELDS = { 1: ('field', protobuf.UVarintType, protobuf.FLAG_REPEATED), } |
||
---|---|---|
.. | ||
apps | ||
lib | ||
tests | ||
trezor | ||
.gitignore | ||
boot.py | ||
main.py |