mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 01:18:28 +00:00
regenerate messages
This commit is contained in:
parent
c5b5955539
commit
15254ffce5
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'address', p.UnicodeType, flags=p.FLAG_REQUIRED)
|
||||
Address = t
|
||||
Address = t
|
||||
TYPE = const(30)
|
@ -5,4 +5,5 @@ t.add_field(1, 'language', p.UnicodeType)
|
||||
t.add_field(2, 'label', p.UnicodeType)
|
||||
t.add_field(3, 'use_passphrase', p.BoolType)
|
||||
t.add_field(4, 'homescreen', p.BytesType)
|
||||
ApplySettings = t
|
||||
ApplySettings = t
|
||||
TYPE = const(25)
|
@ -1,4 +1,5 @@
|
||||
# Automatically generated by pb2py
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
ButtonAck = t
|
||||
ButtonAck = t
|
||||
TYPE = const(27)
|
@ -3,4 +3,5 @@ from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'code', p.UVarintType)
|
||||
t.add_field(2, 'data', p.UnicodeType)
|
||||
ButtonRequest = t
|
||||
ButtonRequest = t
|
||||
TYPE = const(26)
|
@ -1,4 +1,5 @@
|
||||
# Automatically generated by pb2py
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
Cancel = t
|
||||
Cancel = t
|
||||
TYPE = const(20)
|
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'remove', p.BoolType)
|
||||
ChangePin = t
|
||||
ChangePin = t
|
||||
TYPE = const(4)
|
@ -8,4 +8,5 @@ t.add_field(4, 'encrypt', p.BoolType)
|
||||
t.add_field(5, 'ask_on_encrypt', p.BoolType)
|
||||
t.add_field(6, 'ask_on_decrypt', p.BoolType)
|
||||
t.add_field(7, 'iv', p.BytesType)
|
||||
CipherKeyValue = t
|
||||
CipherKeyValue = t
|
||||
TYPE = const(23)
|
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'value', p.BytesType)
|
||||
CipheredKeyValue = t
|
||||
CipheredKeyValue = t
|
||||
TYPE = const(48)
|
@ -1,4 +1,5 @@
|
||||
# Automatically generated by pb2py
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
ClearSession = t
|
||||
ClearSession = t
|
||||
TYPE = const(24)
|
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'yes_no', p.BoolType, flags=p.FLAG_REQUIRED)
|
||||
DebugLinkDecision = t
|
||||
DebugLinkDecision = t
|
||||
TYPE = const(100)
|
@ -1,4 +1,5 @@
|
||||
# Automatically generated by pb2py
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
DebugLinkGetState = t
|
||||
DebugLinkGetState = t
|
||||
TYPE = const(101)
|
@ -4,4 +4,5 @@ t = p.MessageType()
|
||||
t.add_field(1, 'level', p.UVarintType)
|
||||
t.add_field(2, 'bucket', p.UnicodeType)
|
||||
t.add_field(3, 'text', p.UnicodeType)
|
||||
DebugLinkLog = t
|
||||
DebugLinkLog = t
|
||||
TYPE = const(104)
|
@ -12,4 +12,5 @@ t.add_field(7, 'reset_word', p.UnicodeType)
|
||||
t.add_field(8, 'reset_entropy', p.BytesType)
|
||||
t.add_field(9, 'recovery_fake_word', p.UnicodeType)
|
||||
t.add_field(10, 'recovery_word_pos', p.UVarintType)
|
||||
DebugLinkState = t
|
||||
DebugLinkState = t
|
||||
TYPE = const(102)
|
@ -1,4 +1,5 @@
|
||||
# Automatically generated by pb2py
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
DebugLinkStop = t
|
||||
DebugLinkStop = t
|
||||
TYPE = const(103)
|
@ -5,4 +5,5 @@ t.add_field(1, 'address_n', p.UVarintType, flags=p.FLAG_REPEATED)
|
||||
t.add_field(2, 'nonce', p.BytesType)
|
||||
t.add_field(3, 'message', p.BytesType)
|
||||
t.add_field(4, 'hmac', p.BytesType)
|
||||
DecryptMessage = t
|
||||
DecryptMessage = t
|
||||
TYPE = const(51)
|
@ -3,4 +3,5 @@ from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'message', p.BytesType)
|
||||
t.add_field(2, 'address', p.UnicodeType)
|
||||
DecryptedMessage = t
|
||||
DecryptedMessage = t
|
||||
TYPE = const(52)
|
@ -6,4 +6,5 @@ t.add_field(2, 'message', p.BytesType)
|
||||
t.add_field(3, 'display_only', p.BoolType)
|
||||
t.add_field(4, 'address_n', p.UVarintType, flags=p.FLAG_REPEATED)
|
||||
t.add_field(5, 'coin_name', p.UnicodeType, default=u'Bitcoin')
|
||||
EncryptMessage = t
|
||||
EncryptMessage = t
|
||||
TYPE = const(49)
|
@ -4,4 +4,5 @@ t = p.MessageType()
|
||||
t.add_field(1, 'nonce', p.BytesType)
|
||||
t.add_field(2, 'message', p.BytesType)
|
||||
t.add_field(3, 'hmac', p.BytesType)
|
||||
EncryptedMessage = t
|
||||
EncryptedMessage = t
|
||||
TYPE = const(50)
|
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'entropy', p.BytesType, flags=p.FLAG_REQUIRED)
|
||||
Entropy = t
|
||||
Entropy = t
|
||||
TYPE = const(10)
|
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'entropy', p.BytesType)
|
||||
EntropyAck = t
|
||||
EntropyAck = t
|
||||
TYPE = const(36)
|
@ -1,4 +1,5 @@
|
||||
# Automatically generated by pb2py
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
EntropyRequest = t
|
||||
EntropyRequest = t
|
||||
TYPE = const(35)
|
@ -4,4 +4,5 @@ t = p.MessageType()
|
||||
t.add_field(1, 'outputs_count', p.UVarintType, flags=p.FLAG_REQUIRED)
|
||||
t.add_field(2, 'inputs_count', p.UVarintType, flags=p.FLAG_REQUIRED)
|
||||
t.add_field(3, 'coin_name', p.UnicodeType, default=u'Bitcoin')
|
||||
EstimateTxSize = t
|
||||
EstimateTxSize = t
|
||||
TYPE = const(43)
|
@ -3,4 +3,5 @@ from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'code', p.UVarintType)
|
||||
t.add_field(2, 'message', p.UnicodeType)
|
||||
Failure = t
|
||||
Failure = t
|
||||
TYPE = const(3)
|
@ -19,4 +19,5 @@ t.add_field(14, 'bootloader_hash', p.BytesType)
|
||||
t.add_field(15, 'imported', p.BoolType)
|
||||
t.add_field(16, 'pin_cached', p.BoolType)
|
||||
t.add_field(17, 'passphrase_cached', p.BoolType)
|
||||
Features = t
|
||||
Features = t
|
||||
TYPE = const(17)
|
@ -1,4 +1,5 @@
|
||||
# Automatically generated by pb2py
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
FirmwareErase = t
|
||||
FirmwareErase = t
|
||||
TYPE = const(6)
|
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'payload', p.BytesType, flags=p.FLAG_REQUIRED)
|
||||
FirmwareUpload = t
|
||||
FirmwareUpload = t
|
||||
TYPE = const(7)
|
@ -6,4 +6,5 @@ t.add_field(1, 'address_n', p.UVarintType, flags=p.FLAG_REPEATED)
|
||||
t.add_field(2, 'coin_name', p.UnicodeType, default=u'Bitcoin')
|
||||
t.add_field(3, 'show_display', p.BoolType)
|
||||
t.add_field(4, 'multisig', p.EmbeddedMessage(MultisigRedeemScriptType))
|
||||
GetAddress = t
|
||||
GetAddress = t
|
||||
TYPE = const(29)
|
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'size', p.UVarintType, flags=p.FLAG_REQUIRED)
|
||||
GetEntropy = t
|
||||
GetEntropy = t
|
||||
TYPE = const(9)
|
@ -1,4 +1,5 @@
|
||||
# Automatically generated by pb2py
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
GetFeatures = t
|
||||
GetFeatures = t
|
||||
TYPE = const(55)
|
@ -4,4 +4,5 @@ t = p.MessageType()
|
||||
t.add_field(1, 'address_n', p.UVarintType, flags=p.FLAG_REPEATED)
|
||||
t.add_field(2, 'ecdsa_curve_name', p.UnicodeType)
|
||||
t.add_field(3, 'show_display', p.BoolType)
|
||||
GetPublicKey = t
|
||||
GetPublicKey = t
|
||||
TYPE = const(11)
|
@ -1,4 +1,5 @@
|
||||
# Automatically generated by pb2py
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
Initialize = t
|
||||
Initialize = t
|
||||
TYPE = const(0)
|
@ -9,4 +9,5 @@ t.add_field(4, 'passphrase_protection', p.BoolType)
|
||||
t.add_field(5, 'language', p.UnicodeType, default=u'english')
|
||||
t.add_field(6, 'label', p.UnicodeType)
|
||||
t.add_field(7, 'skip_checksum', p.BoolType)
|
||||
LoadDevice = t
|
||||
LoadDevice = t
|
||||
TYPE = const(13)
|
@ -3,4 +3,5 @@ from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'address', p.UnicodeType)
|
||||
t.add_field(2, 'signature', p.BytesType)
|
||||
MessageSignature = t
|
||||
MessageSignature = t
|
||||
TYPE = const(40)
|
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'passphrase', p.UnicodeType, flags=p.FLAG_REQUIRED)
|
||||
PassphraseAck = t
|
||||
PassphraseAck = t
|
||||
TYPE = const(42)
|
@ -1,4 +1,5 @@
|
||||
# Automatically generated by pb2py
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
PassphraseRequest = t
|
||||
PassphraseRequest = t
|
||||
TYPE = const(41)
|
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'pin', p.UnicodeType, flags=p.FLAG_REQUIRED)
|
||||
PinMatrixAck = t
|
||||
PinMatrixAck = t
|
||||
TYPE = const(19)
|
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'type', p.UVarintType)
|
||||
PinMatrixRequest = t
|
||||
PinMatrixRequest = t
|
||||
TYPE = const(18)
|
@ -5,4 +5,5 @@ t.add_field(1, 'message', p.UnicodeType)
|
||||
t.add_field(2, 'button_protection', p.BoolType)
|
||||
t.add_field(3, 'pin_protection', p.BoolType)
|
||||
t.add_field(4, 'passphrase_protection', p.BoolType)
|
||||
Ping = t
|
||||
Ping = t
|
||||
TYPE = const(1)
|
@ -4,4 +4,5 @@ from .HDNodeType import HDNodeType
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'node', p.EmbeddedMessage(HDNodeType), flags=p.FLAG_REQUIRED)
|
||||
t.add_field(2, 'xpub', p.UnicodeType)
|
||||
PublicKey = t
|
||||
PublicKey = t
|
||||
TYPE = const(12)
|
@ -7,4 +7,5 @@ t.add_field(3, 'pin_protection', p.BoolType)
|
||||
t.add_field(4, 'language', p.UnicodeType, default=u'english')
|
||||
t.add_field(5, 'label', p.UnicodeType)
|
||||
t.add_field(6, 'enforce_wordlist', p.BoolType)
|
||||
RecoveryDevice = t
|
||||
RecoveryDevice = t
|
||||
TYPE = const(45)
|
@ -7,4 +7,5 @@ t.add_field(3, 'passphrase_protection', p.BoolType)
|
||||
t.add_field(4, 'pin_protection', p.BoolType)
|
||||
t.add_field(5, 'language', p.UnicodeType, default=u'english')
|
||||
t.add_field(6, 'label', p.UnicodeType)
|
||||
ResetDevice = t
|
||||
ResetDevice = t
|
||||
TYPE = const(14)
|
@ -6,4 +6,5 @@ t.add_field(1, 'identity', p.EmbeddedMessage(IdentityType))
|
||||
t.add_field(2, 'challenge_hidden', p.BytesType)
|
||||
t.add_field(3, 'challenge_visual', p.UnicodeType)
|
||||
t.add_field(4, 'ecdsa_curve_name', p.UnicodeType)
|
||||
SignIdentity = t
|
||||
SignIdentity = t
|
||||
TYPE = const(53)
|
@ -4,4 +4,5 @@ t = p.MessageType()
|
||||
t.add_field(1, 'address_n', p.UVarintType, flags=p.FLAG_REPEATED)
|
||||
t.add_field(2, 'message', p.BytesType, flags=p.FLAG_REQUIRED)
|
||||
t.add_field(3, 'coin_name', p.UnicodeType, default=u'Bitcoin')
|
||||
SignMessage = t
|
||||
SignMessage = t
|
||||
TYPE = const(38)
|
@ -6,4 +6,5 @@ t.add_field(2, 'inputs_count', p.UVarintType, flags=p.FLAG_REQUIRED)
|
||||
t.add_field(3, 'coin_name', p.UnicodeType, default=u'Bitcoin')
|
||||
t.add_field(4, 'version', p.UVarintType, default=1)
|
||||
t.add_field(5, 'lock_time', p.UVarintType, default=0)
|
||||
SignTx = t
|
||||
SignTx = t
|
||||
TYPE = const(15)
|
@ -4,4 +4,5 @@ t = p.MessageType()
|
||||
t.add_field(1, 'address', p.UnicodeType)
|
||||
t.add_field(2, 'public_key', p.BytesType)
|
||||
t.add_field(3, 'signature', p.BytesType)
|
||||
SignedIdentity = t
|
||||
SignedIdentity = t
|
||||
TYPE = const(54)
|
@ -10,4 +10,5 @@ t.add_field(3, 'transactions', p.EmbeddedMessage(TransactionType), flags=p.FLAG_
|
||||
t.add_field(4, 'coin_name', p.UnicodeType, default=u'Bitcoin')
|
||||
t.add_field(5, 'version', p.UVarintType, default=1)
|
||||
t.add_field(6, 'lock_time', p.UVarintType, default=0)
|
||||
SimpleSignTx = t
|
||||
SimpleSignTx = t
|
||||
TYPE = const(16)
|
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'message', p.UnicodeType)
|
||||
Success = t
|
||||
Success = t
|
||||
TYPE = const(2)
|
@ -3,4 +3,5 @@ from protobuf import protobuf as p
|
||||
from .TransactionType import TransactionType
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'tx', p.EmbeddedMessage(TransactionType))
|
||||
TxAck = t
|
||||
TxAck = t
|
||||
TYPE = const(22)
|
@ -6,4 +6,5 @@ t = p.MessageType()
|
||||
t.add_field(1, 'request_type', p.UVarintType)
|
||||
t.add_field(2, 'details', p.EmbeddedMessage(TxRequestDetailsType))
|
||||
t.add_field(3, 'serialized', p.EmbeddedMessage(TxRequestSerializedType))
|
||||
TxRequest = t
|
||||
TxRequest = t
|
||||
TYPE = const(21)
|
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'tx_size', p.UVarintType)
|
||||
TxSize = t
|
||||
TxSize = t
|
||||
TYPE = const(44)
|
@ -4,4 +4,5 @@ t = p.MessageType()
|
||||
t.add_field(1, 'address', p.UnicodeType)
|
||||
t.add_field(2, 'signature', p.BytesType)
|
||||
t.add_field(3, 'message', p.BytesType)
|
||||
VerifyMessage = t
|
||||
VerifyMessage = t
|
||||
TYPE = const(39)
|
@ -1,4 +1,5 @@
|
||||
# Automatically generated by pb2py
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
WipeDevice = t
|
||||
WipeDevice = t
|
||||
TYPE = const(5)
|
@ -2,4 +2,5 @@
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
t.add_field(1, 'word', p.UnicodeType, flags=p.FLAG_REQUIRED)
|
||||
WordAck = t
|
||||
WordAck = t
|
||||
TYPE = const(47)
|
@ -1,4 +1,5 @@
|
||||
# Automatically generated by pb2py
|
||||
from protobuf import protobuf as p
|
||||
t = p.MessageType()
|
||||
WordRequest = t
|
||||
WordRequest = t
|
||||
TYPE = const(46)
|
Loading…
Reference in New Issue
Block a user