mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-24 06:11:06 +00:00
update protobuf
This commit is contained in:
parent
8404bef6e3
commit
ce9da28a3d
@ -32,6 +32,5 @@ class Features(p.MessageType):
|
|||||||
24: ('fw_patch', p.UVarintType, 0),
|
24: ('fw_patch', p.UVarintType, 0),
|
||||||
25: ('fw_vendor', p.UnicodeType, 0),
|
25: ('fw_vendor', p.UnicodeType, 0),
|
||||||
26: ('fw_vendor_keys', p.BytesType, 0),
|
26: ('fw_vendor_keys', p.BytesType, 0),
|
||||||
27: ('state', p.BytesType, 0),
|
|
||||||
}
|
}
|
||||||
MESSAGE_WIRE_TYPE = 17
|
MESSAGE_WIRE_TYPE = 17
|
||||||
|
@ -39,6 +39,8 @@ VerifyMessage = 39
|
|||||||
MessageSignature = 40
|
MessageSignature = 40
|
||||||
PassphraseRequest = 41
|
PassphraseRequest = 41
|
||||||
PassphraseAck = 42
|
PassphraseAck = 42
|
||||||
|
PassphraseStateRequest = 77
|
||||||
|
PassphraseStateAck = 78
|
||||||
EstimateTxSize = 43
|
EstimateTxSize = 43
|
||||||
TxSize = 44
|
TxSize = 44
|
||||||
RecoveryDevice = 45
|
RecoveryDevice = 45
|
||||||
|
@ -6,6 +6,5 @@ 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
|
||||||
|
7
trezorlib/messages/PassphraseStateAck.py
Normal file
7
trezorlib/messages/PassphraseStateAck.py
Normal 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
|
10
trezorlib/messages/PassphraseStateRequest.py
Normal file
10
trezorlib/messages/PassphraseStateRequest.py
Normal 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
|
@ -96,6 +96,8 @@ from .NEMSignTx import *
|
|||||||
from .NEMSignedTx import *
|
from .NEMSignedTx import *
|
||||||
from .PassphraseAck import *
|
from .PassphraseAck import *
|
||||||
from .PassphraseRequest import *
|
from .PassphraseRequest import *
|
||||||
|
from .PassphraseStateAck import *
|
||||||
|
from .PassphraseStateRequest import *
|
||||||
from .PinMatrixAck import *
|
from .PinMatrixAck import *
|
||||||
from .PinMatrixRequest import *
|
from .PinMatrixRequest import *
|
||||||
from .Ping import *
|
from .Ping import *
|
||||||
|
Loading…
Reference in New Issue
Block a user