1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

update protobuf

This commit is contained in:
Pavol Rusnak 2018-03-12 15:10:17 +01:00
parent ab5e4eee34
commit 3ac96f5b00
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
5 changed files with 8 additions and 0 deletions

View File

@ -9,5 +9,6 @@ class ApplySettings(p.MessageType):
2: ('label', p.UnicodeType, 0), 2: ('label', p.UnicodeType, 0),
3: ('use_passphrase', p.BoolType, 0), 3: ('use_passphrase', p.BoolType, 0),
4: ('homescreen', p.BytesType, 0), 4: ('homescreen', p.BytesType, 0),
5: ('passphrase_source', p.UVarintType, 0),
} }
MESSAGE_WIRE_TYPE = 25 MESSAGE_WIRE_TYPE = 25

View File

@ -14,5 +14,6 @@ class EthereumSignTx(p.MessageType):
7: ('data_initial_chunk', p.BytesType, 0), 7: ('data_initial_chunk', p.BytesType, 0),
8: ('data_length', p.UVarintType, 0), 8: ('data_length', p.UVarintType, 0),
9: ('chain_id', p.UVarintType, 0), 9: ('chain_id', p.UVarintType, 0),
10: ('tx_type', p.UVarintType, 0),
} }
MESSAGE_WIRE_TYPE = 58 MESSAGE_WIRE_TYPE = 58

View File

@ -6,5 +6,6 @@ from .. import protobuf as p
class PassphraseAck(p.MessageType): class PassphraseAck(p.MessageType):
FIELDS = { FIELDS = {
1: ('passphrase', p.UnicodeType, 0), 1: ('passphrase', p.UnicodeType, 0),
2: ('state', p.BytesType, 0),
} }
MESSAGE_WIRE_TYPE = 42 MESSAGE_WIRE_TYPE = 42

View File

@ -0,0 +1,4 @@
# Automatically generated by pb2py
ASK = 0
DEVICE = 1
HOST = 2

View File

@ -30,6 +30,7 @@ from . import ButtonRequestType
from . import PinMatrixRequestType from . import PinMatrixRequestType
from . import RecoveryDeviceType from . import RecoveryDeviceType
from . import WordRequestType from . import WordRequestType
from . import PassphraseSourceType
from . import NEMMosaicLevy from . import NEMMosaicLevy
from . import NEMSupplyChangeType from . import NEMSupplyChangeType
from . import NEMModificationType from . import NEMModificationType