mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-15 19:08:07 +00:00
2265 lines
88 KiB
Python
2265 lines
88 KiB
Python
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: messages.proto
|
|
|
|
from google.protobuf.internal import enum_type_wrapper
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import message as _message
|
|
from google.protobuf import reflection as _reflection
|
|
from google.protobuf import descriptor_pb2
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
|
|
import types_pb2
|
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
name='messages.proto',
|
|
package='',
|
|
serialized_pb='\n\x0emessages.proto\x1a\x0btypes.proto\"\x0c\n\nInitialize\"\x9f\x02\n\x08\x46\x65\x61tures\x12\x0e\n\x06vendor\x18\x01 \x01(\x0c\x12\x15\n\rmajor_version\x18\x02 \x01(\r\x12\x15\n\rminor_version\x18\x03 \x01(\r\x12\x16\n\x0e\x62ugfix_version\x18\x04 \x01(\r\x12\x17\n\x0f\x62ootloader_mode\x18\x05 \x01(\x08\x12\x17\n\tdevice_id\x18\x06 \x01(\x0c\x42\x04\x88\xb5\x18\x01\x12\x16\n\x0epin_protection\x18\x07 \x01(\x08\x12\x1d\n\x15passphrase_protection\x18\x08 \x01(\x08\x12\x10\n\x08language\x18\t \x01(\x0c\x12\x13\n\x05label\x18\n \x01(\x0c\x42\x04\x88\xb5\x18\x01\x12\x18\n\x05\x63oins\x18\x0b \x03(\x0b\x32\t.CoinType\x12\x13\n\x0binitialized\x18\x0c \x01(\x08\"6\n\rApplySettings\x12\x10\n\x08language\x18\x01 \x01(\x0c\x12\x13\n\x05label\x18\x02 \x01(\x0c\x42\x04\x88\xb5\x18\x01\"\x1b\n\tChangePin\x12\x0e\n\x06remove\x18\x01 \x01(\x08\"\x17\n\x04Ping\x12\x0f\n\x07message\x18\x01 \x01(\x0c\"\x1a\n\x07Success\x12\x0f\n\x07message\x18\x01 \x01(\x0c\"6\n\x07\x46\x61ilure\x12\x1a\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x0c.FailureType\x12\x0f\n\x07message\x18\x02 \x01(\x0c\"\x0f\n\rButtonRequest\"\x0b\n\tButtonAck\"#\n\x10PinMatrixRequest\x12\x0f\n\x07message\x18\x01 \x01(\x0c\"\x1b\n\x0cPinMatrixAck\x12\x0b\n\x03pin\x18\x01 \x02(\x0c\"\x08\n\x06\x43\x61ncel\"\x13\n\x11PassphraseRequest\")\n\rPassphraseAck\x12\x18\n\npassphrase\x18\x01 \x02(\x0c\x42\x04\x88\xb5\x18\x01\"\x1a\n\nGetEntropy\x12\x0c\n\x04size\x18\x01 \x02(\r\" \n\x07\x45ntropy\x12\x15\n\x07\x65ntropy\x18\x01 \x02(\x0c\x42\x04\x88\xb5\x18\x01\"=\n\x0cGetPublicKey\x12\x11\n\taddress_n\x18\x01 \x03(\r\x12\x1a\n\tcoin_name\x18\x02 \x01(\x0c:\x07\x42itcoin\"&\n\tPublicKey\x12\x19\n\x04node\x18\x01 \x02(\x0b\x32\x0b.HDNodeType\";\n\nGetAddress\x12\x11\n\taddress_n\x18\x01 \x03(\r\x12\x1a\n\tcoin_name\x18\x02 \x01(\x0c:\x07\x42itcoin\"\x1a\n\x07\x41\x64\x64ress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x02(\x0c\"\x0c\n\nWipeDevice\"\x95\x01\n\nLoadDevice\x12\x10\n\x08mnemonic\x18\x01 \x01(\x0c\x12\x19\n\x04node\x18\x02 \x01(\x0b\x32\x0b.HDNodeType\x12\x0b\n\x03pin\x18\x03 \x01(\x0c\x12\x1d\n\x15passphrase_protection\x18\x04 \x01(\x08\x12\x19\n\x08language\x18\x05 \x01(\x0c:\x07\x65nglish\x12\x13\n\x05label\x18\x06 \x01(\x0c\x42\x04\x88\xb5\x18\x01\"\xa3\x01\n\x0bResetDevice\x12\x16\n\x0e\x64isplay_random\x18\x01 \x01(\x08\x12\x15\n\x08strength\x18\x02 \x01(\r:\x03\x31\x32\x38\x12\x1d\n\x15passphrase_protection\x18\x03 \x01(\x08\x12\x16\n\x0epin_protection\x18\x04 \x01(\x08\x12\x19\n\x08language\x18\x05 \x01(\x0c:\x07\x65nglish\x12\x13\n\x05label\x18\x06 \x01(\x0c\x42\x04\x88\xb5\x18\x01\"\x10\n\x0e\x45ntropyRequest\"#\n\nEntropyAck\x12\x15\n\x07\x65ntropy\x18\x01 \x01(\x0c\x42\x04\x88\xb5\x18\x01\"\x8b\x01\n\x0eRecoveryDevice\x12\x12\n\nword_count\x18\x01 \x01(\r\x12\x1d\n\x15passphrase_protection\x18\x02 \x01(\x08\x12\x16\n\x0epin_protection\x18\x03 \x01(\x08\x12\x19\n\x08language\x18\x04 \x01(\x0c:\x07\x65nglish\x12\x13\n\x05label\x18\x05 \x01(\x0c\x42\x04\x88\xb5\x18\x01\"\r\n\x0bWordRequest\"\x1d\n\x07WordAck\x12\x12\n\x04word\x18\x01 \x02(\x0c\x42\x04\x88\xb5\x18\x01\"S\n\x0bSignMessage\x12\x11\n\taddress_n\x18\x01 \x03(\r\x12\x15\n\x07message\x18\x02 \x02(\x0c\x42\x04\x88\xb5\x18\x01\x12\x1a\n\tcoin_name\x18\x03 \x01(\x0c:\x07\x42itcoin\"P\n\rVerifyMessage\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x17\n\tsignature\x18\x02 \x01(\x0c\x42\x04\x88\xb5\x18\x01\x12\x15\n\x07message\x18\x03 \x01(\x0c\x42\x04\x88\xb5\x18\x01\"<\n\x10MessageSignature\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x17\n\tsignature\x18\x02 \x01(\x0c\x42\x04\x88\xb5\x18\x01\"Y\n\x0e\x45stimateTxSize\x12\x15\n\routputs_count\x18\x01 \x02(\r\x12\x14\n\x0cinputs_count\x18\x02 \x02(\r\x12\x1a\n\tcoin_name\x18\x03 \x01(\x0c:\x07\x42itcoin\"\x19\n\x06TxSize\x12\x0f\n\x07tx_size\x18\x01 \x01(\r\"Q\n\x06SignTx\x12\x15\n\routputs_count\x18\x01 \x02(\r\x12\x14\n\x0cinputs_count\x18\x02 \x02(\r\x12\x1a\n\tcoin_name\x18\x03 \x01(\x0c:\x07\x42itcoin\"\x90\x01\n\x0cSimpleSignTx\x12\x1c\n\x06inputs\x18\x01 \x03(\x0b\x32\x0c.TxInputType\x12\x1e\n\x07outputs\x18\x02 \x03(\x0b\x32\r.TxOutputType\x12&\n\x0ctransactions\x18\x03 \x03(\x0b\x32\x10.TransactionType\x12\x1a\n\tcoin_name\x18\x04 \x01(\x0c:\x07\x42itcoin\"\x92\x01\n\tTxRequest\x12\x15\n\rrequest_index\x18\x01 \x01(\x05\x12\"\n\x0crequest_type\x18\x02 \x01(\x0e\x32\x0c.RequestType\x12\x14\n\x0csigned_index\x18\x03 \x01(\x05\x12\x17\n\tsignature\x18\x04 \x01(\x0c\x42\x04\x88\xb5\x18\x01\x12\x1b\n\rserialized_tx\x18\x05 \x01(\x0c\x42\x04\x88\xb5\x18\x01\"&\n\x07TxInput\x12\x1b\n\x05input\x18\x01 \x02(\x0b\x32\x0c.TxInputType\")\n\x08TxOutput\x12\x1d\n\x06output\x18\x01 \x02(\x0b\x32\r.TxOutputType\"\x0f\n\rFirmwareErase\"\'\n\x0e\x46irmwareUpload\x12\x15\n\x07payload\x18\x01 \x02(\x0c\x42\x04\x88\xb5\x18\x01\"#\n\x11\x44\x65\x62ugLinkDecision\x12\x0e\n\x06yes_no\x18\x01 \x02(\x08\"\x13\n\x11\x44\x65\x62ugLinkGetState\"\x8f\x01\n\x0e\x44\x65\x62ugLinkState\x12\x14\n\x06layout\x18\x01 \x01(\x0c\x42\x04\x88\xb5\x18\x01\x12\x0b\n\x03pin\x18\x02 \x01(\x0c\x12\x0e\n\x06matrix\x18\x03 \x01(\x0c\x12\x10\n\x08mnemonic\x18\x04 \x01(\x0c\x12\x19\n\x04node\x18\x05 \x01(\x0b\x32\x0b.HDNodeType\x12\x1d\n\x15passphrase_protection\x18\x06 \x01(\x08\"\x0f\n\rDebugLinkStop\";\n\x0c\x44\x65\x62ugLinkLog\x12\r\n\x05level\x18\x01 \x01(\r\x12\x0e\n\x06\x62ucket\x18\x02 \x01(\x0c\x12\x0c\n\x04text\x18\x03 \x01(\x0c*\xad\x0c\n\x0bMessageType\x12 \n\x16MessageType_Initialize\x10\x00\x1a\x04\x90\xb5\x18\x01\x12\x1a\n\x10MessageType_Ping\x10\x01\x1a\x04\x90\xb5\x18\x01\x12\x1d\n\x13MessageType_Success\x10\x02\x1a\x04\x98\xb5\x18\x01\x12\x1d\n\x13MessageType_Failure\x10\x03\x1a\x04\x98\xb5\x18\x01\x12\x1f\n\x15MessageType_ChangePin\x10\x04\x1a\x04\x90\xb5\x18\x01\x12 \n\x16MessageType_WipeDevice\x10\x05\x1a\x04\x90\xb5\x18\x01\x12#\n\x19MessageType_FirmwareErase\x10\x06\x1a\x04\x90\xb5\x18\x01\x12$\n\x1aMessageType_FirmwareUpload\x10\x07\x1a\x04\x90\xb5\x18\x01\x12 \n\x16MessageType_GetEntropy\x10\t\x1a\x04\x90\xb5\x18\x01\x12\x1d\n\x13MessageType_Entropy\x10\n\x1a\x04\x98\xb5\x18\x01\x12\"\n\x18MessageType_GetPublicKey\x10\x0b\x1a\x04\x90\xb5\x18\x01\x12\x1f\n\x15MessageType_PublicKey\x10\x0c\x1a\x04\x98\xb5\x18\x01\x12 \n\x16MessageType_LoadDevice\x10\r\x1a\x04\x90\xb5\x18\x01\x12!\n\x17MessageType_ResetDevice\x10\x0e\x1a\x04\x90\xb5\x18\x01\x12\x1c\n\x12MessageType_SignTx\x10\x0f\x1a\x04\x90\xb5\x18\x01\x12\"\n\x18MessageType_SimpleSignTx\x10\x10\x1a\x04\x90\xb5\x18\x01\x12\x1e\n\x14MessageType_Features\x10\x11\x1a\x04\x98\xb5\x18\x01\x12&\n\x1cMessageType_PinMatrixRequest\x10\x12\x1a\x04\x98\xb5\x18\x01\x12\"\n\x18MessageType_PinMatrixAck\x10\x13\x1a\x04\x90\xb5\x18\x01\x12\x1c\n\x12MessageType_Cancel\x10\x14\x1a\x04\x90\xb5\x18\x01\x12\x1f\n\x15MessageType_TxRequest\x10\x15\x1a\x04\x98\xb5\x18\x01\x12\x1d\n\x13MessageType_TxInput\x10\x17\x1a\x04\x90\xb5\x18\x01\x12\x1e\n\x14MessageType_TxOutput\x10\x18\x1a\x04\x90\xb5\x18\x01\x12#\n\x19MessageType_ApplySettings\x10\x19\x1a\x04\x90\xb5\x18\x01\x12#\n\x19MessageType_ButtonRequest\x10\x1a\x1a\x04\x98\xb5\x18\x01\x12\x1f\n\x15MessageType_ButtonAck\x10\x1b\x1a\x04\x90\xb5\x18\x01\x12 \n\x16MessageType_GetAddress\x10\x1d\x1a\x04\x90\xb5\x18\x01\x12\x1d\n\x13MessageType_Address\x10\x1e\x1a\x04\x98\xb5\x18\x01\x12$\n\x1aMessageType_EntropyRequest\x10#\x1a\x04\x98\xb5\x18\x01\x12 \n\x16MessageType_EntropyAck\x10$\x1a\x04\x90\xb5\x18\x01\x12!\n\x17MessageType_SignMessage\x10&\x1a\x04\x90\xb5\x18\x01\x12#\n\x19MessageType_VerifyMessage\x10\'\x1a\x04\x90\xb5\x18\x01\x12&\n\x1cMessageType_MessageSignature\x10(\x1a\x04\x98\xb5\x18\x01\x12\'\n\x1dMessageType_PassphraseRequest\x10)\x1a\x04\x98\xb5\x18\x01\x12#\n\x19MessageType_PassphraseAck\x10*\x1a\x04\x90\xb5\x18\x01\x12$\n\x1aMessageType_EstimateTxSize\x10+\x1a\x04\x90\xb5\x18\x01\x12\x1c\n\x12MessageType_TxSize\x10,\x1a\x04\x98\xb5\x18\x01\x12$\n\x1aMessageType_RecoveryDevice\x10-\x1a\x04\x90\xb5\x18\x01\x12!\n\x17MessageType_WordRequest\x10.\x1a\x04\x98\xb5\x18\x01\x12\x1d\n\x13MessageType_WordAck\x10/\x1a\x04\x90\xb5\x18\x01\x12\'\n\x1dMessageType_DebugLinkDecision\x10\x64\x1a\x04\xa0\xb5\x18\x01\x12\'\n\x1dMessageType_DebugLinkGetState\x10\x65\x1a\x04\xa0\xb5\x18\x01\x12$\n\x1aMessageType_DebugLinkState\x10\x66\x1a\x04\xa8\xb5\x18\x01\x12#\n\x19MessageType_DebugLinkStop\x10g\x1a\x04\xa0\xb5\x18\x01\x12\"\n\x18MessageType_DebugLinkLog\x10h\x1a\x04\xa8\xb5\x18\x01\x42\x39\n(org.multibit.hd.hardware.trezor.protobufB\rTrezorMessage')
|
|
|
|
_MESSAGETYPE = _descriptor.EnumDescriptor(
|
|
name='MessageType',
|
|
full_name='MessageType',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
values=[
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_Initialize', index=0, number=0,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_Ping', index=1, number=1,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_Success', index=2, number=2,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_Failure', index=3, number=3,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_ChangePin', index=4, number=4,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_WipeDevice', index=5, number=5,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_FirmwareErase', index=6, number=6,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_FirmwareUpload', index=7, number=7,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_GetEntropy', index=8, number=9,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_Entropy', index=9, number=10,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_GetPublicKey', index=10, number=11,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_PublicKey', index=11, number=12,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_LoadDevice', index=12, number=13,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_ResetDevice', index=13, number=14,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_SignTx', index=14, number=15,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_SimpleSignTx', index=15, number=16,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_Features', index=16, number=17,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_PinMatrixRequest', index=17, number=18,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_PinMatrixAck', index=18, number=19,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_Cancel', index=19, number=20,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_TxRequest', index=20, number=21,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_TxInput', index=21, number=23,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_TxOutput', index=22, number=24,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_ApplySettings', index=23, number=25,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_ButtonRequest', index=24, number=26,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_ButtonAck', index=25, number=27,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_GetAddress', index=26, number=29,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_Address', index=27, number=30,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_EntropyRequest', index=28, number=35,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_EntropyAck', index=29, number=36,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_SignMessage', index=30, number=38,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_VerifyMessage', index=31, number=39,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_MessageSignature', index=32, number=40,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_PassphraseRequest', index=33, number=41,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_PassphraseAck', index=34, number=42,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_EstimateTxSize', index=35, number=43,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_TxSize', index=36, number=44,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_RecoveryDevice', index=37, number=45,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_WordRequest', index=38, number=46,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_WordAck', index=39, number=47,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_DebugLinkDecision', index=40, number=100,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\240\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_DebugLinkGetState', index=41, number=101,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\240\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_DebugLinkState', index=42, number=102,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\250\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_DebugLinkStop', index=43, number=103,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\240\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_DebugLinkLog', index=44, number=104,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\250\265\030\001'),
|
|
type=None),
|
|
],
|
|
containing_type=None,
|
|
options=None,
|
|
serialized_start=2678,
|
|
serialized_end=4259,
|
|
)
|
|
|
|
MessageType = enum_type_wrapper.EnumTypeWrapper(_MESSAGETYPE)
|
|
MessageType_Initialize = 0
|
|
MessageType_Ping = 1
|
|
MessageType_Success = 2
|
|
MessageType_Failure = 3
|
|
MessageType_ChangePin = 4
|
|
MessageType_WipeDevice = 5
|
|
MessageType_FirmwareErase = 6
|
|
MessageType_FirmwareUpload = 7
|
|
MessageType_GetEntropy = 9
|
|
MessageType_Entropy = 10
|
|
MessageType_GetPublicKey = 11
|
|
MessageType_PublicKey = 12
|
|
MessageType_LoadDevice = 13
|
|
MessageType_ResetDevice = 14
|
|
MessageType_SignTx = 15
|
|
MessageType_SimpleSignTx = 16
|
|
MessageType_Features = 17
|
|
MessageType_PinMatrixRequest = 18
|
|
MessageType_PinMatrixAck = 19
|
|
MessageType_Cancel = 20
|
|
MessageType_TxRequest = 21
|
|
MessageType_TxInput = 23
|
|
MessageType_TxOutput = 24
|
|
MessageType_ApplySettings = 25
|
|
MessageType_ButtonRequest = 26
|
|
MessageType_ButtonAck = 27
|
|
MessageType_GetAddress = 29
|
|
MessageType_Address = 30
|
|
MessageType_EntropyRequest = 35
|
|
MessageType_EntropyAck = 36
|
|
MessageType_SignMessage = 38
|
|
MessageType_VerifyMessage = 39
|
|
MessageType_MessageSignature = 40
|
|
MessageType_PassphraseRequest = 41
|
|
MessageType_PassphraseAck = 42
|
|
MessageType_EstimateTxSize = 43
|
|
MessageType_TxSize = 44
|
|
MessageType_RecoveryDevice = 45
|
|
MessageType_WordRequest = 46
|
|
MessageType_WordAck = 47
|
|
MessageType_DebugLinkDecision = 100
|
|
MessageType_DebugLinkGetState = 101
|
|
MessageType_DebugLinkState = 102
|
|
MessageType_DebugLinkStop = 103
|
|
MessageType_DebugLinkLog = 104
|
|
|
|
|
|
|
|
_INITIALIZE = _descriptor.Descriptor(
|
|
name='Initialize',
|
|
full_name='Initialize',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=31,
|
|
serialized_end=43,
|
|
)
|
|
|
|
|
|
_FEATURES = _descriptor.Descriptor(
|
|
name='Features',
|
|
full_name='Features',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='vendor', full_name='Features.vendor', index=0,
|
|
number=1, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='major_version', full_name='Features.major_version', index=1,
|
|
number=2, type=13, cpp_type=3, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='minor_version', full_name='Features.minor_version', index=2,
|
|
number=3, type=13, cpp_type=3, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='bugfix_version', full_name='Features.bugfix_version', index=3,
|
|
number=4, type=13, cpp_type=3, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='bootloader_mode', full_name='Features.bootloader_mode', index=4,
|
|
number=5, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='device_id', full_name='Features.device_id', index=5,
|
|
number=6, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
_descriptor.FieldDescriptor(
|
|
name='pin_protection', full_name='Features.pin_protection', index=6,
|
|
number=7, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='passphrase_protection', full_name='Features.passphrase_protection', index=7,
|
|
number=8, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='language', full_name='Features.language', index=8,
|
|
number=9, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='label', full_name='Features.label', index=9,
|
|
number=10, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
_descriptor.FieldDescriptor(
|
|
name='coins', full_name='Features.coins', index=10,
|
|
number=11, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='initialized', full_name='Features.initialized', index=11,
|
|
number=12, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=46,
|
|
serialized_end=333,
|
|
)
|
|
|
|
|
|
_APPLYSETTINGS = _descriptor.Descriptor(
|
|
name='ApplySettings',
|
|
full_name='ApplySettings',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='language', full_name='ApplySettings.language', index=0,
|
|
number=1, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='label', full_name='ApplySettings.label', index=1,
|
|
number=2, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=335,
|
|
serialized_end=389,
|
|
)
|
|
|
|
|
|
_CHANGEPIN = _descriptor.Descriptor(
|
|
name='ChangePin',
|
|
full_name='ChangePin',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='remove', full_name='ChangePin.remove', index=0,
|
|
number=1, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=391,
|
|
serialized_end=418,
|
|
)
|
|
|
|
|
|
_PING = _descriptor.Descriptor(
|
|
name='Ping',
|
|
full_name='Ping',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='message', full_name='Ping.message', index=0,
|
|
number=1, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=420,
|
|
serialized_end=443,
|
|
)
|
|
|
|
|
|
_SUCCESS = _descriptor.Descriptor(
|
|
name='Success',
|
|
full_name='Success',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='message', full_name='Success.message', index=0,
|
|
number=1, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=445,
|
|
serialized_end=471,
|
|
)
|
|
|
|
|
|
_FAILURE = _descriptor.Descriptor(
|
|
name='Failure',
|
|
full_name='Failure',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='code', full_name='Failure.code', index=0,
|
|
number=1, type=14, cpp_type=8, label=1,
|
|
has_default_value=False, default_value=1,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='message', full_name='Failure.message', index=1,
|
|
number=2, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=473,
|
|
serialized_end=527,
|
|
)
|
|
|
|
|
|
_BUTTONREQUEST = _descriptor.Descriptor(
|
|
name='ButtonRequest',
|
|
full_name='ButtonRequest',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=529,
|
|
serialized_end=544,
|
|
)
|
|
|
|
|
|
_BUTTONACK = _descriptor.Descriptor(
|
|
name='ButtonAck',
|
|
full_name='ButtonAck',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=546,
|
|
serialized_end=557,
|
|
)
|
|
|
|
|
|
_PINMATRIXREQUEST = _descriptor.Descriptor(
|
|
name='PinMatrixRequest',
|
|
full_name='PinMatrixRequest',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='message', full_name='PinMatrixRequest.message', index=0,
|
|
number=1, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=559,
|
|
serialized_end=594,
|
|
)
|
|
|
|
|
|
_PINMATRIXACK = _descriptor.Descriptor(
|
|
name='PinMatrixAck',
|
|
full_name='PinMatrixAck',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='pin', full_name='PinMatrixAck.pin', index=0,
|
|
number=1, type=12, cpp_type=9, label=2,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=596,
|
|
serialized_end=623,
|
|
)
|
|
|
|
|
|
_CANCEL = _descriptor.Descriptor(
|
|
name='Cancel',
|
|
full_name='Cancel',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=625,
|
|
serialized_end=633,
|
|
)
|
|
|
|
|
|
_PASSPHRASEREQUEST = _descriptor.Descriptor(
|
|
name='PassphraseRequest',
|
|
full_name='PassphraseRequest',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=635,
|
|
serialized_end=654,
|
|
)
|
|
|
|
|
|
_PASSPHRASEACK = _descriptor.Descriptor(
|
|
name='PassphraseAck',
|
|
full_name='PassphraseAck',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='passphrase', full_name='PassphraseAck.passphrase', index=0,
|
|
number=1, type=12, cpp_type=9, label=2,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=656,
|
|
serialized_end=697,
|
|
)
|
|
|
|
|
|
_GETENTROPY = _descriptor.Descriptor(
|
|
name='GetEntropy',
|
|
full_name='GetEntropy',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='size', full_name='GetEntropy.size', index=0,
|
|
number=1, type=13, cpp_type=3, label=2,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=699,
|
|
serialized_end=725,
|
|
)
|
|
|
|
|
|
_ENTROPY = _descriptor.Descriptor(
|
|
name='Entropy',
|
|
full_name='Entropy',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='entropy', full_name='Entropy.entropy', index=0,
|
|
number=1, type=12, cpp_type=9, label=2,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=727,
|
|
serialized_end=759,
|
|
)
|
|
|
|
|
|
_GETPUBLICKEY = _descriptor.Descriptor(
|
|
name='GetPublicKey',
|
|
full_name='GetPublicKey',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='address_n', full_name='GetPublicKey.address_n', index=0,
|
|
number=1, type=13, cpp_type=3, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='coin_name', full_name='GetPublicKey.coin_name', index=1,
|
|
number=2, type=12, cpp_type=9, label=1,
|
|
has_default_value=True, default_value="Bitcoin",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=761,
|
|
serialized_end=822,
|
|
)
|
|
|
|
|
|
_PUBLICKEY = _descriptor.Descriptor(
|
|
name='PublicKey',
|
|
full_name='PublicKey',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='node', full_name='PublicKey.node', index=0,
|
|
number=1, type=11, cpp_type=10, label=2,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=824,
|
|
serialized_end=862,
|
|
)
|
|
|
|
|
|
_GETADDRESS = _descriptor.Descriptor(
|
|
name='GetAddress',
|
|
full_name='GetAddress',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='address_n', full_name='GetAddress.address_n', index=0,
|
|
number=1, type=13, cpp_type=3, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='coin_name', full_name='GetAddress.coin_name', index=1,
|
|
number=2, type=12, cpp_type=9, label=1,
|
|
has_default_value=True, default_value="Bitcoin",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=864,
|
|
serialized_end=923,
|
|
)
|
|
|
|
|
|
_ADDRESS = _descriptor.Descriptor(
|
|
name='Address',
|
|
full_name='Address',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='address', full_name='Address.address', index=0,
|
|
number=1, type=12, cpp_type=9, label=2,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=925,
|
|
serialized_end=951,
|
|
)
|
|
|
|
|
|
_WIPEDEVICE = _descriptor.Descriptor(
|
|
name='WipeDevice',
|
|
full_name='WipeDevice',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=953,
|
|
serialized_end=965,
|
|
)
|
|
|
|
|
|
_LOADDEVICE = _descriptor.Descriptor(
|
|
name='LoadDevice',
|
|
full_name='LoadDevice',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='mnemonic', full_name='LoadDevice.mnemonic', index=0,
|
|
number=1, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='node', full_name='LoadDevice.node', index=1,
|
|
number=2, type=11, cpp_type=10, label=1,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='pin', full_name='LoadDevice.pin', index=2,
|
|
number=3, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='passphrase_protection', full_name='LoadDevice.passphrase_protection', index=3,
|
|
number=4, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='language', full_name='LoadDevice.language', index=4,
|
|
number=5, type=12, cpp_type=9, label=1,
|
|
has_default_value=True, default_value="english",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='label', full_name='LoadDevice.label', index=5,
|
|
number=6, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=968,
|
|
serialized_end=1117,
|
|
)
|
|
|
|
|
|
_RESETDEVICE = _descriptor.Descriptor(
|
|
name='ResetDevice',
|
|
full_name='ResetDevice',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='display_random', full_name='ResetDevice.display_random', index=0,
|
|
number=1, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='strength', full_name='ResetDevice.strength', index=1,
|
|
number=2, type=13, cpp_type=3, label=1,
|
|
has_default_value=True, default_value=128,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='passphrase_protection', full_name='ResetDevice.passphrase_protection', index=2,
|
|
number=3, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='pin_protection', full_name='ResetDevice.pin_protection', index=3,
|
|
number=4, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='language', full_name='ResetDevice.language', index=4,
|
|
number=5, type=12, cpp_type=9, label=1,
|
|
has_default_value=True, default_value="english",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='label', full_name='ResetDevice.label', index=5,
|
|
number=6, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1120,
|
|
serialized_end=1283,
|
|
)
|
|
|
|
|
|
_ENTROPYREQUEST = _descriptor.Descriptor(
|
|
name='EntropyRequest',
|
|
full_name='EntropyRequest',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1285,
|
|
serialized_end=1301,
|
|
)
|
|
|
|
|
|
_ENTROPYACK = _descriptor.Descriptor(
|
|
name='EntropyAck',
|
|
full_name='EntropyAck',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='entropy', full_name='EntropyAck.entropy', index=0,
|
|
number=1, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1303,
|
|
serialized_end=1338,
|
|
)
|
|
|
|
|
|
_RECOVERYDEVICE = _descriptor.Descriptor(
|
|
name='RecoveryDevice',
|
|
full_name='RecoveryDevice',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='word_count', full_name='RecoveryDevice.word_count', index=0,
|
|
number=1, type=13, cpp_type=3, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='passphrase_protection', full_name='RecoveryDevice.passphrase_protection', index=1,
|
|
number=2, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='pin_protection', full_name='RecoveryDevice.pin_protection', index=2,
|
|
number=3, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='language', full_name='RecoveryDevice.language', index=3,
|
|
number=4, type=12, cpp_type=9, label=1,
|
|
has_default_value=True, default_value="english",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='label', full_name='RecoveryDevice.label', index=4,
|
|
number=5, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1341,
|
|
serialized_end=1480,
|
|
)
|
|
|
|
|
|
_WORDREQUEST = _descriptor.Descriptor(
|
|
name='WordRequest',
|
|
full_name='WordRequest',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1482,
|
|
serialized_end=1495,
|
|
)
|
|
|
|
|
|
_WORDACK = _descriptor.Descriptor(
|
|
name='WordAck',
|
|
full_name='WordAck',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='word', full_name='WordAck.word', index=0,
|
|
number=1, type=12, cpp_type=9, label=2,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1497,
|
|
serialized_end=1526,
|
|
)
|
|
|
|
|
|
_SIGNMESSAGE = _descriptor.Descriptor(
|
|
name='SignMessage',
|
|
full_name='SignMessage',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='address_n', full_name='SignMessage.address_n', index=0,
|
|
number=1, type=13, cpp_type=3, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='message', full_name='SignMessage.message', index=1,
|
|
number=2, type=12, cpp_type=9, label=2,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
_descriptor.FieldDescriptor(
|
|
name='coin_name', full_name='SignMessage.coin_name', index=2,
|
|
number=3, type=12, cpp_type=9, label=1,
|
|
has_default_value=True, default_value="Bitcoin",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1528,
|
|
serialized_end=1611,
|
|
)
|
|
|
|
|
|
_VERIFYMESSAGE = _descriptor.Descriptor(
|
|
name='VerifyMessage',
|
|
full_name='VerifyMessage',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='address', full_name='VerifyMessage.address', index=0,
|
|
number=1, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='signature', full_name='VerifyMessage.signature', index=1,
|
|
number=2, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
_descriptor.FieldDescriptor(
|
|
name='message', full_name='VerifyMessage.message', index=2,
|
|
number=3, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1613,
|
|
serialized_end=1693,
|
|
)
|
|
|
|
|
|
_MESSAGESIGNATURE = _descriptor.Descriptor(
|
|
name='MessageSignature',
|
|
full_name='MessageSignature',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='address', full_name='MessageSignature.address', index=0,
|
|
number=1, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='signature', full_name='MessageSignature.signature', index=1,
|
|
number=2, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1695,
|
|
serialized_end=1755,
|
|
)
|
|
|
|
|
|
_ESTIMATETXSIZE = _descriptor.Descriptor(
|
|
name='EstimateTxSize',
|
|
full_name='EstimateTxSize',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='outputs_count', full_name='EstimateTxSize.outputs_count', index=0,
|
|
number=1, type=13, cpp_type=3, label=2,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='inputs_count', full_name='EstimateTxSize.inputs_count', index=1,
|
|
number=2, type=13, cpp_type=3, label=2,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='coin_name', full_name='EstimateTxSize.coin_name', index=2,
|
|
number=3, type=12, cpp_type=9, label=1,
|
|
has_default_value=True, default_value="Bitcoin",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1757,
|
|
serialized_end=1846,
|
|
)
|
|
|
|
|
|
_TXSIZE = _descriptor.Descriptor(
|
|
name='TxSize',
|
|
full_name='TxSize',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='tx_size', full_name='TxSize.tx_size', index=0,
|
|
number=1, type=13, cpp_type=3, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1848,
|
|
serialized_end=1873,
|
|
)
|
|
|
|
|
|
_SIGNTX = _descriptor.Descriptor(
|
|
name='SignTx',
|
|
full_name='SignTx',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='outputs_count', full_name='SignTx.outputs_count', index=0,
|
|
number=1, type=13, cpp_type=3, label=2,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='inputs_count', full_name='SignTx.inputs_count', index=1,
|
|
number=2, type=13, cpp_type=3, label=2,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='coin_name', full_name='SignTx.coin_name', index=2,
|
|
number=3, type=12, cpp_type=9, label=1,
|
|
has_default_value=True, default_value="Bitcoin",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1875,
|
|
serialized_end=1956,
|
|
)
|
|
|
|
|
|
_SIMPLESIGNTX = _descriptor.Descriptor(
|
|
name='SimpleSignTx',
|
|
full_name='SimpleSignTx',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='inputs', full_name='SimpleSignTx.inputs', index=0,
|
|
number=1, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='outputs', full_name='SimpleSignTx.outputs', index=1,
|
|
number=2, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='transactions', full_name='SimpleSignTx.transactions', index=2,
|
|
number=3, type=11, cpp_type=10, label=3,
|
|
has_default_value=False, default_value=[],
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='coin_name', full_name='SimpleSignTx.coin_name', index=3,
|
|
number=4, type=12, cpp_type=9, label=1,
|
|
has_default_value=True, default_value="Bitcoin",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1959,
|
|
serialized_end=2103,
|
|
)
|
|
|
|
|
|
_TXREQUEST = _descriptor.Descriptor(
|
|
name='TxRequest',
|
|
full_name='TxRequest',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='request_index', full_name='TxRequest.request_index', index=0,
|
|
number=1, type=5, cpp_type=1, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='request_type', full_name='TxRequest.request_type', index=1,
|
|
number=2, type=14, cpp_type=8, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='signed_index', full_name='TxRequest.signed_index', index=2,
|
|
number=3, type=5, cpp_type=1, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='signature', full_name='TxRequest.signature', index=3,
|
|
number=4, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
_descriptor.FieldDescriptor(
|
|
name='serialized_tx', full_name='TxRequest.serialized_tx', index=4,
|
|
number=5, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=2106,
|
|
serialized_end=2252,
|
|
)
|
|
|
|
|
|
_TXINPUT = _descriptor.Descriptor(
|
|
name='TxInput',
|
|
full_name='TxInput',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='input', full_name='TxInput.input', index=0,
|
|
number=1, type=11, cpp_type=10, label=2,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=2254,
|
|
serialized_end=2292,
|
|
)
|
|
|
|
|
|
_TXOUTPUT = _descriptor.Descriptor(
|
|
name='TxOutput',
|
|
full_name='TxOutput',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='output', full_name='TxOutput.output', index=0,
|
|
number=1, type=11, cpp_type=10, label=2,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=2294,
|
|
serialized_end=2335,
|
|
)
|
|
|
|
|
|
_FIRMWAREERASE = _descriptor.Descriptor(
|
|
name='FirmwareErase',
|
|
full_name='FirmwareErase',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=2337,
|
|
serialized_end=2352,
|
|
)
|
|
|
|
|
|
_FIRMWAREUPLOAD = _descriptor.Descriptor(
|
|
name='FirmwareUpload',
|
|
full_name='FirmwareUpload',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='payload', full_name='FirmwareUpload.payload', index=0,
|
|
number=1, type=12, cpp_type=9, label=2,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=2354,
|
|
serialized_end=2393,
|
|
)
|
|
|
|
|
|
_DEBUGLINKDECISION = _descriptor.Descriptor(
|
|
name='DebugLinkDecision',
|
|
full_name='DebugLinkDecision',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='yes_no', full_name='DebugLinkDecision.yes_no', index=0,
|
|
number=1, type=8, cpp_type=7, label=2,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=2395,
|
|
serialized_end=2430,
|
|
)
|
|
|
|
|
|
_DEBUGLINKGETSTATE = _descriptor.Descriptor(
|
|
name='DebugLinkGetState',
|
|
full_name='DebugLinkGetState',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=2432,
|
|
serialized_end=2451,
|
|
)
|
|
|
|
|
|
_DEBUGLINKSTATE = _descriptor.Descriptor(
|
|
name='DebugLinkState',
|
|
full_name='DebugLinkState',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='layout', full_name='DebugLinkState.layout', index=0,
|
|
number=1, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')),
|
|
_descriptor.FieldDescriptor(
|
|
name='pin', full_name='DebugLinkState.pin', index=1,
|
|
number=2, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='matrix', full_name='DebugLinkState.matrix', index=2,
|
|
number=3, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='mnemonic', full_name='DebugLinkState.mnemonic', index=3,
|
|
number=4, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='node', full_name='DebugLinkState.node', index=4,
|
|
number=5, type=11, cpp_type=10, label=1,
|
|
has_default_value=False, default_value=None,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='passphrase_protection', full_name='DebugLinkState.passphrase_protection', index=5,
|
|
number=6, type=8, cpp_type=7, label=1,
|
|
has_default_value=False, default_value=False,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=2454,
|
|
serialized_end=2597,
|
|
)
|
|
|
|
|
|
_DEBUGLINKSTOP = _descriptor.Descriptor(
|
|
name='DebugLinkStop',
|
|
full_name='DebugLinkStop',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=2599,
|
|
serialized_end=2614,
|
|
)
|
|
|
|
|
|
_DEBUGLINKLOG = _descriptor.Descriptor(
|
|
name='DebugLinkLog',
|
|
full_name='DebugLinkLog',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='level', full_name='DebugLinkLog.level', index=0,
|
|
number=1, type=13, cpp_type=3, label=1,
|
|
has_default_value=False, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='bucket', full_name='DebugLinkLog.bucket', index=1,
|
|
number=2, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='text', full_name='DebugLinkLog.text', index=2,
|
|
number=3, type=12, cpp_type=9, label=1,
|
|
has_default_value=False, default_value="",
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=2616,
|
|
serialized_end=2675,
|
|
)
|
|
|
|
_FEATURES.fields_by_name['coins'].message_type = types_pb2._COINTYPE
|
|
_FAILURE.fields_by_name['code'].enum_type = types_pb2._FAILURETYPE
|
|
_PUBLICKEY.fields_by_name['node'].message_type = types_pb2._HDNODETYPE
|
|
_LOADDEVICE.fields_by_name['node'].message_type = types_pb2._HDNODETYPE
|
|
_SIMPLESIGNTX.fields_by_name['inputs'].message_type = types_pb2._TXINPUTTYPE
|
|
_SIMPLESIGNTX.fields_by_name['outputs'].message_type = types_pb2._TXOUTPUTTYPE
|
|
_SIMPLESIGNTX.fields_by_name['transactions'].message_type = types_pb2._TRANSACTIONTYPE
|
|
_TXREQUEST.fields_by_name['request_type'].enum_type = types_pb2._REQUESTTYPE
|
|
_TXINPUT.fields_by_name['input'].message_type = types_pb2._TXINPUTTYPE
|
|
_TXOUTPUT.fields_by_name['output'].message_type = types_pb2._TXOUTPUTTYPE
|
|
_DEBUGLINKSTATE.fields_by_name['node'].message_type = types_pb2._HDNODETYPE
|
|
DESCRIPTOR.message_types_by_name['Initialize'] = _INITIALIZE
|
|
DESCRIPTOR.message_types_by_name['Features'] = _FEATURES
|
|
DESCRIPTOR.message_types_by_name['ApplySettings'] = _APPLYSETTINGS
|
|
DESCRIPTOR.message_types_by_name['ChangePin'] = _CHANGEPIN
|
|
DESCRIPTOR.message_types_by_name['Ping'] = _PING
|
|
DESCRIPTOR.message_types_by_name['Success'] = _SUCCESS
|
|
DESCRIPTOR.message_types_by_name['Failure'] = _FAILURE
|
|
DESCRIPTOR.message_types_by_name['ButtonRequest'] = _BUTTONREQUEST
|
|
DESCRIPTOR.message_types_by_name['ButtonAck'] = _BUTTONACK
|
|
DESCRIPTOR.message_types_by_name['PinMatrixRequest'] = _PINMATRIXREQUEST
|
|
DESCRIPTOR.message_types_by_name['PinMatrixAck'] = _PINMATRIXACK
|
|
DESCRIPTOR.message_types_by_name['Cancel'] = _CANCEL
|
|
DESCRIPTOR.message_types_by_name['PassphraseRequest'] = _PASSPHRASEREQUEST
|
|
DESCRIPTOR.message_types_by_name['PassphraseAck'] = _PASSPHRASEACK
|
|
DESCRIPTOR.message_types_by_name['GetEntropy'] = _GETENTROPY
|
|
DESCRIPTOR.message_types_by_name['Entropy'] = _ENTROPY
|
|
DESCRIPTOR.message_types_by_name['GetPublicKey'] = _GETPUBLICKEY
|
|
DESCRIPTOR.message_types_by_name['PublicKey'] = _PUBLICKEY
|
|
DESCRIPTOR.message_types_by_name['GetAddress'] = _GETADDRESS
|
|
DESCRIPTOR.message_types_by_name['Address'] = _ADDRESS
|
|
DESCRIPTOR.message_types_by_name['WipeDevice'] = _WIPEDEVICE
|
|
DESCRIPTOR.message_types_by_name['LoadDevice'] = _LOADDEVICE
|
|
DESCRIPTOR.message_types_by_name['ResetDevice'] = _RESETDEVICE
|
|
DESCRIPTOR.message_types_by_name['EntropyRequest'] = _ENTROPYREQUEST
|
|
DESCRIPTOR.message_types_by_name['EntropyAck'] = _ENTROPYACK
|
|
DESCRIPTOR.message_types_by_name['RecoveryDevice'] = _RECOVERYDEVICE
|
|
DESCRIPTOR.message_types_by_name['WordRequest'] = _WORDREQUEST
|
|
DESCRIPTOR.message_types_by_name['WordAck'] = _WORDACK
|
|
DESCRIPTOR.message_types_by_name['SignMessage'] = _SIGNMESSAGE
|
|
DESCRIPTOR.message_types_by_name['VerifyMessage'] = _VERIFYMESSAGE
|
|
DESCRIPTOR.message_types_by_name['MessageSignature'] = _MESSAGESIGNATURE
|
|
DESCRIPTOR.message_types_by_name['EstimateTxSize'] = _ESTIMATETXSIZE
|
|
DESCRIPTOR.message_types_by_name['TxSize'] = _TXSIZE
|
|
DESCRIPTOR.message_types_by_name['SignTx'] = _SIGNTX
|
|
DESCRIPTOR.message_types_by_name['SimpleSignTx'] = _SIMPLESIGNTX
|
|
DESCRIPTOR.message_types_by_name['TxRequest'] = _TXREQUEST
|
|
DESCRIPTOR.message_types_by_name['TxInput'] = _TXINPUT
|
|
DESCRIPTOR.message_types_by_name['TxOutput'] = _TXOUTPUT
|
|
DESCRIPTOR.message_types_by_name['FirmwareErase'] = _FIRMWAREERASE
|
|
DESCRIPTOR.message_types_by_name['FirmwareUpload'] = _FIRMWAREUPLOAD
|
|
DESCRIPTOR.message_types_by_name['DebugLinkDecision'] = _DEBUGLINKDECISION
|
|
DESCRIPTOR.message_types_by_name['DebugLinkGetState'] = _DEBUGLINKGETSTATE
|
|
DESCRIPTOR.message_types_by_name['DebugLinkState'] = _DEBUGLINKSTATE
|
|
DESCRIPTOR.message_types_by_name['DebugLinkStop'] = _DEBUGLINKSTOP
|
|
DESCRIPTOR.message_types_by_name['DebugLinkLog'] = _DEBUGLINKLOG
|
|
|
|
class Initialize(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _INITIALIZE
|
|
|
|
# @@protoc_insertion_point(class_scope:Initialize)
|
|
|
|
class Features(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _FEATURES
|
|
|
|
# @@protoc_insertion_point(class_scope:Features)
|
|
|
|
class ApplySettings(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _APPLYSETTINGS
|
|
|
|
# @@protoc_insertion_point(class_scope:ApplySettings)
|
|
|
|
class ChangePin(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _CHANGEPIN
|
|
|
|
# @@protoc_insertion_point(class_scope:ChangePin)
|
|
|
|
class Ping(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _PING
|
|
|
|
# @@protoc_insertion_point(class_scope:Ping)
|
|
|
|
class Success(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _SUCCESS
|
|
|
|
# @@protoc_insertion_point(class_scope:Success)
|
|
|
|
class Failure(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _FAILURE
|
|
|
|
# @@protoc_insertion_point(class_scope:Failure)
|
|
|
|
class ButtonRequest(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _BUTTONREQUEST
|
|
|
|
# @@protoc_insertion_point(class_scope:ButtonRequest)
|
|
|
|
class ButtonAck(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _BUTTONACK
|
|
|
|
# @@protoc_insertion_point(class_scope:ButtonAck)
|
|
|
|
class PinMatrixRequest(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _PINMATRIXREQUEST
|
|
|
|
# @@protoc_insertion_point(class_scope:PinMatrixRequest)
|
|
|
|
class PinMatrixAck(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _PINMATRIXACK
|
|
|
|
# @@protoc_insertion_point(class_scope:PinMatrixAck)
|
|
|
|
class Cancel(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _CANCEL
|
|
|
|
# @@protoc_insertion_point(class_scope:Cancel)
|
|
|
|
class PassphraseRequest(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _PASSPHRASEREQUEST
|
|
|
|
# @@protoc_insertion_point(class_scope:PassphraseRequest)
|
|
|
|
class PassphraseAck(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _PASSPHRASEACK
|
|
|
|
# @@protoc_insertion_point(class_scope:PassphraseAck)
|
|
|
|
class GetEntropy(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _GETENTROPY
|
|
|
|
# @@protoc_insertion_point(class_scope:GetEntropy)
|
|
|
|
class Entropy(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _ENTROPY
|
|
|
|
# @@protoc_insertion_point(class_scope:Entropy)
|
|
|
|
class GetPublicKey(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _GETPUBLICKEY
|
|
|
|
# @@protoc_insertion_point(class_scope:GetPublicKey)
|
|
|
|
class PublicKey(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _PUBLICKEY
|
|
|
|
# @@protoc_insertion_point(class_scope:PublicKey)
|
|
|
|
class GetAddress(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _GETADDRESS
|
|
|
|
# @@protoc_insertion_point(class_scope:GetAddress)
|
|
|
|
class Address(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _ADDRESS
|
|
|
|
# @@protoc_insertion_point(class_scope:Address)
|
|
|
|
class WipeDevice(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _WIPEDEVICE
|
|
|
|
# @@protoc_insertion_point(class_scope:WipeDevice)
|
|
|
|
class LoadDevice(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _LOADDEVICE
|
|
|
|
# @@protoc_insertion_point(class_scope:LoadDevice)
|
|
|
|
class ResetDevice(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _RESETDEVICE
|
|
|
|
# @@protoc_insertion_point(class_scope:ResetDevice)
|
|
|
|
class EntropyRequest(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _ENTROPYREQUEST
|
|
|
|
# @@protoc_insertion_point(class_scope:EntropyRequest)
|
|
|
|
class EntropyAck(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _ENTROPYACK
|
|
|
|
# @@protoc_insertion_point(class_scope:EntropyAck)
|
|
|
|
class RecoveryDevice(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _RECOVERYDEVICE
|
|
|
|
# @@protoc_insertion_point(class_scope:RecoveryDevice)
|
|
|
|
class WordRequest(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _WORDREQUEST
|
|
|
|
# @@protoc_insertion_point(class_scope:WordRequest)
|
|
|
|
class WordAck(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _WORDACK
|
|
|
|
# @@protoc_insertion_point(class_scope:WordAck)
|
|
|
|
class SignMessage(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _SIGNMESSAGE
|
|
|
|
# @@protoc_insertion_point(class_scope:SignMessage)
|
|
|
|
class VerifyMessage(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _VERIFYMESSAGE
|
|
|
|
# @@protoc_insertion_point(class_scope:VerifyMessage)
|
|
|
|
class MessageSignature(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _MESSAGESIGNATURE
|
|
|
|
# @@protoc_insertion_point(class_scope:MessageSignature)
|
|
|
|
class EstimateTxSize(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _ESTIMATETXSIZE
|
|
|
|
# @@protoc_insertion_point(class_scope:EstimateTxSize)
|
|
|
|
class TxSize(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _TXSIZE
|
|
|
|
# @@protoc_insertion_point(class_scope:TxSize)
|
|
|
|
class SignTx(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _SIGNTX
|
|
|
|
# @@protoc_insertion_point(class_scope:SignTx)
|
|
|
|
class SimpleSignTx(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _SIMPLESIGNTX
|
|
|
|
# @@protoc_insertion_point(class_scope:SimpleSignTx)
|
|
|
|
class TxRequest(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _TXREQUEST
|
|
|
|
# @@protoc_insertion_point(class_scope:TxRequest)
|
|
|
|
class TxInput(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _TXINPUT
|
|
|
|
# @@protoc_insertion_point(class_scope:TxInput)
|
|
|
|
class TxOutput(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _TXOUTPUT
|
|
|
|
# @@protoc_insertion_point(class_scope:TxOutput)
|
|
|
|
class FirmwareErase(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _FIRMWAREERASE
|
|
|
|
# @@protoc_insertion_point(class_scope:FirmwareErase)
|
|
|
|
class FirmwareUpload(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _FIRMWAREUPLOAD
|
|
|
|
# @@protoc_insertion_point(class_scope:FirmwareUpload)
|
|
|
|
class DebugLinkDecision(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _DEBUGLINKDECISION
|
|
|
|
# @@protoc_insertion_point(class_scope:DebugLinkDecision)
|
|
|
|
class DebugLinkGetState(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _DEBUGLINKGETSTATE
|
|
|
|
# @@protoc_insertion_point(class_scope:DebugLinkGetState)
|
|
|
|
class DebugLinkState(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _DEBUGLINKSTATE
|
|
|
|
# @@protoc_insertion_point(class_scope:DebugLinkState)
|
|
|
|
class DebugLinkStop(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _DEBUGLINKSTOP
|
|
|
|
# @@protoc_insertion_point(class_scope:DebugLinkStop)
|
|
|
|
class DebugLinkLog(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _DEBUGLINKLOG
|
|
|
|
# @@protoc_insertion_point(class_scope:DebugLinkLog)
|
|
|
|
|
|
DESCRIPTOR.has_options = True
|
|
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), '\n(org.multibit.hd.hardware.trezor.protobufB\rTrezorMessage')
|
|
_MESSAGETYPE.values_by_name["MessageType_Initialize"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_Initialize"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_Ping"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_Ping"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_Success"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_Success"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_Failure"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_Failure"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_ChangePin"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_ChangePin"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_WipeDevice"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_WipeDevice"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_FirmwareErase"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_FirmwareErase"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_FirmwareUpload"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_FirmwareUpload"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_GetEntropy"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_GetEntropy"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_Entropy"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_Entropy"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_GetPublicKey"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_GetPublicKey"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_PublicKey"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_PublicKey"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_LoadDevice"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_LoadDevice"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_ResetDevice"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_ResetDevice"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_SignTx"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_SignTx"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_SimpleSignTx"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_SimpleSignTx"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_Features"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_Features"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_PinMatrixRequest"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_PinMatrixRequest"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_PinMatrixAck"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_PinMatrixAck"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_Cancel"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_Cancel"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_TxRequest"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_TxRequest"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_TxInput"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_TxInput"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_TxOutput"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_TxOutput"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_ApplySettings"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_ApplySettings"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_ButtonRequest"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_ButtonRequest"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_ButtonAck"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_ButtonAck"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_GetAddress"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_GetAddress"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_Address"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_Address"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_EntropyRequest"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_EntropyRequest"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_EntropyAck"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_EntropyAck"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_SignMessage"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_SignMessage"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_VerifyMessage"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_VerifyMessage"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_MessageSignature"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_MessageSignature"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_PassphraseRequest"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_PassphraseRequest"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_PassphraseAck"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_PassphraseAck"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_EstimateTxSize"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_EstimateTxSize"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_TxSize"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_TxSize"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_RecoveryDevice"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_RecoveryDevice"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_WordRequest"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_WordRequest"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_WordAck"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_WordAck"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_DebugLinkDecision"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_DebugLinkDecision"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\240\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_DebugLinkGetState"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_DebugLinkGetState"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\240\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_DebugLinkState"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_DebugLinkState"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\250\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_DebugLinkStop"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_DebugLinkStop"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\240\265\030\001')
|
|
_MESSAGETYPE.values_by_name["MessageType_DebugLinkLog"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_DebugLinkLog"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\250\265\030\001')
|
|
_FEATURES.fields_by_name['device_id'].has_options = True
|
|
_FEATURES.fields_by_name['device_id']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_FEATURES.fields_by_name['label'].has_options = True
|
|
_FEATURES.fields_by_name['label']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_APPLYSETTINGS.fields_by_name['label'].has_options = True
|
|
_APPLYSETTINGS.fields_by_name['label']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_PASSPHRASEACK.fields_by_name['passphrase'].has_options = True
|
|
_PASSPHRASEACK.fields_by_name['passphrase']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_ENTROPY.fields_by_name['entropy'].has_options = True
|
|
_ENTROPY.fields_by_name['entropy']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_LOADDEVICE.fields_by_name['label'].has_options = True
|
|
_LOADDEVICE.fields_by_name['label']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_RESETDEVICE.fields_by_name['label'].has_options = True
|
|
_RESETDEVICE.fields_by_name['label']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_ENTROPYACK.fields_by_name['entropy'].has_options = True
|
|
_ENTROPYACK.fields_by_name['entropy']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_RECOVERYDEVICE.fields_by_name['label'].has_options = True
|
|
_RECOVERYDEVICE.fields_by_name['label']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_WORDACK.fields_by_name['word'].has_options = True
|
|
_WORDACK.fields_by_name['word']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_SIGNMESSAGE.fields_by_name['message'].has_options = True
|
|
_SIGNMESSAGE.fields_by_name['message']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_VERIFYMESSAGE.fields_by_name['signature'].has_options = True
|
|
_VERIFYMESSAGE.fields_by_name['signature']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_VERIFYMESSAGE.fields_by_name['message'].has_options = True
|
|
_VERIFYMESSAGE.fields_by_name['message']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_MESSAGESIGNATURE.fields_by_name['signature'].has_options = True
|
|
_MESSAGESIGNATURE.fields_by_name['signature']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_TXREQUEST.fields_by_name['signature'].has_options = True
|
|
_TXREQUEST.fields_by_name['signature']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_TXREQUEST.fields_by_name['serialized_tx'].has_options = True
|
|
_TXREQUEST.fields_by_name['serialized_tx']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_FIRMWAREUPLOAD.fields_by_name['payload'].has_options = True
|
|
_FIRMWAREUPLOAD.fields_by_name['payload']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_DEBUGLINKSTATE.fields_by_name['layout'].has_options = True
|
|
_DEBUGLINKSTATE.fields_by_name['layout']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
# @@protoc_insertion_point(module_scope)
|