1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-08 22:40:59 +00:00

update protobuf

This commit is contained in:
Pavol Rusnak 2018-02-28 23:06:44 +01:00
parent 8404bef6e3
commit ce9da28a3d
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
6 changed files with 21 additions and 2 deletions

View File

@ -32,6 +32,5 @@ class Features(p.MessageType):
24: ('fw_patch', p.UVarintType, 0),
25: ('fw_vendor', p.UnicodeType, 0),
26: ('fw_vendor_keys', p.BytesType, 0),
27: ('state', p.BytesType, 0),
}
MESSAGE_WIRE_TYPE = 17

View File

@ -39,6 +39,8 @@ VerifyMessage = 39
MessageSignature = 40
PassphraseRequest = 41
PassphraseAck = 42
PassphraseStateRequest = 77
PassphraseStateAck = 78
EstimateTxSize = 43
TxSize = 44
RecoveryDevice = 45

View File

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

View File

@ -0,0 +1,7 @@
# Automatically generated by pb2py
from __future__ import absolute_import
from .. import protobuf as p
class PassphraseStateAck(p.MessageType):
MESSAGE_WIRE_TYPE = 78

View File

@ -0,0 +1,10 @@
# Automatically generated by pb2py
from __future__ import absolute_import
from .. import protobuf as p
class PassphraseStateRequest(p.MessageType):
FIELDS = {
1: ('state', p.BytesType, 0),
}
MESSAGE_WIRE_TYPE = 77

View File

@ -96,6 +96,8 @@ from .NEMSignTx import *
from .NEMSignedTx import *
from .PassphraseAck import *
from .PassphraseRequest import *
from .PassphraseStateAck import *
from .PassphraseStateRequest import *
from .PinMatrixAck import *
from .PinMatrixRequest import *
from .Ping import *