1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-19 12:58:13 +00:00

regenerated messages

This commit is contained in:
Pavol Rusnak 2016-05-23 17:53:18 +02:00
parent af9d2cf21f
commit c56719ea8c
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
55 changed files with 112 additions and 108 deletions

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 30
t.add_field(1, 'address', p.UnicodeType, flags=p.FLAG_REQUIRED)
Address = t
TYPE = const(30)
Address = t

View File

@ -1,9 +1,9 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 25
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
TYPE = const(25)
ApplySettings = t

View File

@ -1,5 +1,5 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
ButtonAck = t
TYPE = const(27)
t.wire_type = 27
ButtonAck = t

View File

@ -1,7 +1,7 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 26
t.add_field(1, 'code', p.UVarintType)
t.add_field(2, 'data', p.UnicodeType)
ButtonRequest = t
TYPE = const(26)
ButtonRequest = t

View File

@ -1,5 +1,5 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
Cancel = t
TYPE = const(20)
t.wire_type = 20
Cancel = t

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 4
t.add_field(1, 'remove', p.BoolType)
ChangePin = t
TYPE = const(4)
ChangePin = t

View File

@ -1,6 +1,7 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 23
t.add_field(1, 'address_n', p.UVarintType, flags=p.FLAG_REPEATED)
t.add_field(2, 'key', p.UnicodeType)
t.add_field(3, 'value', p.BytesType)
@ -8,5 +9,4 @@ 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
TYPE = const(23)
CipherKeyValue = t

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 48
t.add_field(1, 'value', p.BytesType)
CipheredKeyValue = t
TYPE = const(48)
CipheredKeyValue = t

View File

@ -1,5 +1,5 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
ClearSession = t
TYPE = const(24)
t.wire_type = 24
ClearSession = t

View File

@ -6,4 +6,7 @@ t.add_field(2, 'coin_shortcut', p.UnicodeType)
t.add_field(3, 'address_type', p.UVarintType, default=0)
t.add_field(4, 'maxfee_kb', p.UVarintType)
t.add_field(5, 'address_type_p2sh', p.UVarintType, default=5)
t.add_field(6, 'address_type_p2wpkh', p.UVarintType, default=6)
t.add_field(7, 'address_type_p2wsh', p.UVarintType, default=10)
t.add_field(8, 'signed_message_header', p.UnicodeType)
CoinType = t

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 100
t.add_field(1, 'yes_no', p.BoolType, flags=p.FLAG_REQUIRED)
DebugLinkDecision = t
TYPE = const(100)
DebugLinkDecision = t

View File

@ -1,5 +1,5 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
DebugLinkGetState = t
TYPE = const(101)
t.wire_type = 101
DebugLinkGetState = t

View File

@ -1,8 +1,8 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 104
t.add_field(1, 'level', p.UVarintType)
t.add_field(2, 'bucket', p.UnicodeType)
t.add_field(3, 'text', p.UnicodeType)
DebugLinkLog = t
TYPE = const(104)
DebugLinkLog = t

View File

@ -2,6 +2,7 @@
from protobuf import protobuf as p
from .HDNodeType import HDNodeType
t = p.MessageType()
t.wire_type = 102
t.add_field(1, 'layout', p.BytesType)
t.add_field(2, 'pin', p.UnicodeType)
t.add_field(3, 'matrix', p.UnicodeType)
@ -12,5 +13,4 @@ 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
TYPE = const(102)
DebugLinkState = t

View File

@ -1,5 +1,5 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
DebugLinkStop = t
TYPE = const(103)
t.wire_type = 103
DebugLinkStop = t

View File

@ -1,9 +1,9 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 51
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
TYPE = const(51)
DecryptMessage = t

View File

@ -1,7 +1,7 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 52
t.add_field(1, 'message', p.BytesType)
t.add_field(2, 'address', p.UnicodeType)
DecryptedMessage = t
TYPE = const(52)
DecryptedMessage = t

View File

@ -1,10 +1,10 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 49
t.add_field(1, 'pubkey', p.BytesType)
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
TYPE = const(49)
EncryptMessage = t

View File

@ -1,8 +1,8 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 50
t.add_field(1, 'nonce', p.BytesType)
t.add_field(2, 'message', p.BytesType)
t.add_field(3, 'hmac', p.BytesType)
EncryptedMessage = t
TYPE = const(50)
EncryptedMessage = t

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 10
t.add_field(1, 'entropy', p.BytesType, flags=p.FLAG_REQUIRED)
Entropy = t
TYPE = const(10)
Entropy = t

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 36
t.add_field(1, 'entropy', p.BytesType)
EntropyAck = t
TYPE = const(36)
EntropyAck = t

View File

@ -1,5 +1,5 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
EntropyRequest = t
TYPE = const(35)
t.wire_type = 35
EntropyRequest = t

View File

@ -1,8 +1,8 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 43
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
TYPE = const(43)
EstimateTxSize = t

View File

@ -1,7 +1,7 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 3
t.add_field(1, 'code', p.UVarintType)
t.add_field(2, 'message', p.UnicodeType)
Failure = t
TYPE = const(3)
Failure = t

View File

@ -2,6 +2,7 @@
from protobuf import protobuf as p
from .CoinType import CoinType
t = p.MessageType()
t.wire_type = 17
t.add_field(1, 'vendor', p.UnicodeType)
t.add_field(2, 'major_version', p.UVarintType)
t.add_field(3, 'minor_version', p.UVarintType)
@ -19,5 +20,4 @@ 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
TYPE = const(17)
Features = t

View File

@ -1,5 +1,5 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
FirmwareErase = t
TYPE = const(6)
t.wire_type = 6
FirmwareErase = t

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 7
t.add_field(1, 'payload', p.BytesType, flags=p.FLAG_REQUIRED)
FirmwareUpload = t
TYPE = const(7)
FirmwareUpload = t

View File

@ -2,9 +2,9 @@
from protobuf import protobuf as p
from .MultisigRedeemScriptType import MultisigRedeemScriptType
t = p.MessageType()
t.wire_type = 29
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
TYPE = const(29)
GetAddress = t

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 9
t.add_field(1, 'size', p.UVarintType, flags=p.FLAG_REQUIRED)
GetEntropy = t
TYPE = const(9)
GetEntropy = t

View File

@ -1,5 +1,5 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
GetFeatures = t
TYPE = const(55)
t.wire_type = 55
GetFeatures = t

View File

@ -1,8 +1,8 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 11
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
TYPE = const(11)
GetPublicKey = t

View File

@ -1,5 +1,5 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
Initialize = t
TYPE = const(0)
t.wire_type = 0
Initialize = t

View File

@ -2,6 +2,7 @@
from protobuf import protobuf as p
from .HDNodeType import HDNodeType
t = p.MessageType()
t.wire_type = 13
t.add_field(1, 'mnemonic', p.UnicodeType)
t.add_field(2, 'node', p.EmbeddedMessage(HDNodeType))
t.add_field(3, 'pin', p.UnicodeType)
@ -9,5 +10,4 @@ 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
TYPE = const(13)
LoadDevice = t

View File

@ -1,7 +1,7 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 40
t.add_field(1, 'address', p.UnicodeType)
t.add_field(2, 'signature', p.BytesType)
MessageSignature = t
TYPE = const(40)
MessageSignature = t

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 42
t.add_field(1, 'passphrase', p.UnicodeType, flags=p.FLAG_REQUIRED)
PassphraseAck = t
TYPE = const(42)
PassphraseAck = t

View File

@ -1,5 +1,5 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
PassphraseRequest = t
TYPE = const(41)
t.wire_type = 41
PassphraseRequest = t

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 19
t.add_field(1, 'pin', p.UnicodeType, flags=p.FLAG_REQUIRED)
PinMatrixAck = t
TYPE = const(19)
PinMatrixAck = t

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 18
t.add_field(1, 'type', p.UVarintType)
PinMatrixRequest = t
TYPE = const(18)
PinMatrixRequest = t

View File

@ -1,9 +1,9 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 1
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
TYPE = const(1)
Ping = t

View File

@ -2,7 +2,7 @@
from protobuf import protobuf as p
from .HDNodeType import HDNodeType
t = p.MessageType()
t.wire_type = 12
t.add_field(1, 'node', p.EmbeddedMessage(HDNodeType), flags=p.FLAG_REQUIRED)
t.add_field(2, 'xpub', p.UnicodeType)
PublicKey = t
TYPE = const(12)
PublicKey = t

View File

@ -1,11 +1,11 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 45
t.add_field(1, 'word_count', p.UVarintType)
t.add_field(2, 'passphrase_protection', p.BoolType)
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
TYPE = const(45)
RecoveryDevice = t

View File

@ -1,11 +1,11 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 14
t.add_field(1, 'display_random', p.BoolType)
t.add_field(2, 'strength', p.UVarintType, default=256)
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
TYPE = const(14)
ResetDevice = t

View File

@ -2,9 +2,9 @@
from protobuf import protobuf as p
from .IdentityType import IdentityType
t = p.MessageType()
t.wire_type = 53
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
TYPE = const(53)
SignIdentity = t

View File

@ -1,8 +1,8 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 38
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
TYPE = const(38)
SignMessage = t

View File

@ -1,10 +1,10 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 15
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')
t.add_field(4, 'version', p.UVarintType, default=1)
t.add_field(5, 'lock_time', p.UVarintType, default=0)
SignTx = t
TYPE = const(15)
SignTx = t

View File

@ -1,8 +1,8 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 54
t.add_field(1, 'address', p.UnicodeType)
t.add_field(2, 'public_key', p.BytesType)
t.add_field(3, 'signature', p.BytesType)
SignedIdentity = t
TYPE = const(54)
SignedIdentity = t

View File

@ -4,11 +4,11 @@ from .TxInputType import TxInputType
from .TxOutputType import TxOutputType
from .TransactionType import TransactionType
t = p.MessageType()
t.wire_type = 16
t.add_field(1, 'inputs', p.EmbeddedMessage(TxInputType), flags=p.FLAG_REPEATED)
t.add_field(2, 'outputs', p.EmbeddedMessage(TxOutputType), flags=p.FLAG_REPEATED)
t.add_field(3, 'transactions', p.EmbeddedMessage(TransactionType), flags=p.FLAG_REPEATED)
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
TYPE = const(16)
SimpleSignTx = t

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 2
t.add_field(1, 'message', p.UnicodeType)
Success = t
TYPE = const(2)
Success = t

View File

@ -2,6 +2,6 @@
from protobuf import protobuf as p
from .TransactionType import TransactionType
t = p.MessageType()
t.wire_type = 22
t.add_field(1, 'tx', p.EmbeddedMessage(TransactionType))
TxAck = t
TYPE = const(22)
TxAck = t

View File

@ -3,8 +3,8 @@ from protobuf import protobuf as p
from .TxRequestDetailsType import TxRequestDetailsType
from .TxRequestSerializedType import TxRequestSerializedType
t = p.MessageType()
t.wire_type = 21
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
TYPE = const(21)
TxRequest = t

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 44
t.add_field(1, 'tx_size', p.UVarintType)
TxSize = t
TYPE = const(44)
TxSize = t

View File

@ -1,8 +1,9 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 39
t.add_field(1, 'address', p.UnicodeType)
t.add_field(2, 'signature', p.BytesType)
t.add_field(3, 'message', p.BytesType)
VerifyMessage = t
TYPE = const(39)
t.add_field(4, 'coin_name', p.UnicodeType, default=u'Bitcoin')
VerifyMessage = t

View File

@ -1,5 +1,5 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
WipeDevice = t
TYPE = const(5)
t.wire_type = 5
WipeDevice = t

View File

@ -1,6 +1,6 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
t.wire_type = 47
t.add_field(1, 'word', p.UnicodeType, flags=p.FLAG_REQUIRED)
WordAck = t
TYPE = const(47)
WordAck = t

View File

@ -1,5 +1,5 @@
# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType()
WordRequest = t
TYPE = const(46)
t.wire_type = 46
WordRequest = t