mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-15 19:08:07 +00:00
2164 lines
82 KiB
Python
2164 lines
82 KiB
Python
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: trezor.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 google.protobuf.descriptor_pb2
|
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
name='trezor.proto',
|
|
package='',
|
|
serialized_pb='\n\x0ctrezor.proto\x1a google/protobuf/descriptor.proto\"\xa3\x01\n\nHDNodeType\x12\x0f\n\x07version\x18\x01 \x02(\r\x12\r\n\x05\x64\x65pth\x18\x02 \x02(\r\x12\x13\n\x0b\x66ingerprint\x18\x03 \x02(\r\x12\x11\n\tchild_num\x18\x04 \x02(\r\x12\x18\n\nchain_code\x18\x05 \x02(\x0c\x42\x04\x88\xb5\x18\x01\x12\x19\n\x0bprivate_key\x18\x06 \x01(\x0c\x42\x04\x88\xb5\x18\x01\x12\x18\n\npublic_key\x18\x07 \x01(\x0c\x42\x04\x88\xb5\x18\x01\"]\n\x08\x43oinType\x12\x11\n\tcoin_name\x18\x01 \x01(\x0c\x12\x15\n\rcoin_shortcut\x18\x02 \x01(\x0c\x12\x14\n\x0c\x61\x64\x64ress_type\x18\x03 \x01(\r\x12\x11\n\tmaxfee_kb\x18\x04 \x01(\x04\"H\n\x0cSettingsType\x12\x10\n\x08language\x18\x01 \x01(\x0c\x12\x17\n\x04\x63oin\x18\x02 \x01(\x0b\x32\t.CoinType\x12\r\n\x05label\x18\x03 \x01(\x0c\"\x0c\n\nInitialize\"\xe3\x01\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\x1f\n\x08settings\x18\x06 \x01(\x0b\x32\r.SettingsType\x12\x17\n\tdevice_id\x18\x07 \x01(\x0c\x42\x04\x88\xb5\x18\x01\x12\x16\n\x08mpk_hash\x18\x08 \x01(\x0c\x42\x04\x88\xb5\x18\x01\x12\x16\n\x0epin_protection\x18\t \x01(\x08\"G\n\rApplySettings\x12\x10\n\x08language\x18\x01 \x01(\x0c\x12\x15\n\rcoin_shortcut\x18\x02 \x01(\x0c\x12\r\n\x05label\x18\x03 \x01(\x0c\"\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\"\x0e\n\x0c\x42uttonCancel\"#\n\x10PinMatrixRequest\x12\x0f\n\x07message\x18\x01 \x01(\x0c\"\x1b\n\x0cPinMatrixAck\x12\x0b\n\x03pin\x18\x01 \x02(\x0c\"\x11\n\x0fPinMatrixCancel\"\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\"%\n\tPublicKey\x12\x18\n\x03mpk\x18\x01 \x02(\x0b\x32\x0b.HDNodeType\"\x1f\n\nGetAddress\x12\x11\n\taddress_n\x18\x01 \x03(\r\"\x1a\n\x07\x41\x64\x64ress\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x02(\x0c\"\x0c\n\nWipeDevice\"B\n\nLoadDevice\x12\x0c\n\x04seed\x18\x01 \x01(\x0c\x12\x19\n\x04node\x18\x02 \x01(\x0b\x32\x0b.HDNodeType\x12\x0b\n\x03pin\x18\x03 \x01(\x0c\"%\n\x0bResetDevice\x12\x16\n\x0e\x64isplay_random\x18\x01 \x01(\x08\"\x10\n\x0e\x45ntropyRequest\"#\n\nEntropyAck\x12\x15\n\x07\x65ntropy\x18\x01 \x01(\x0c\x42\x04\x88\xb5\x18\x01\"5\n\x06SignTx\x12\x15\n\routputs_count\x18\x03 \x02(\r\x12\x14\n\x0cinputs_count\x18\x05 \x02(\r\"D\n\x0cSimpleSignTx\x12\x18\n\x06inputs\x18\x01 \x03(\x0b\x32\x08.TxInput\x12\x1a\n\x07outputs\x18\x02 \x03(\x0b\x32\t.TxOutput\"\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\"\x81\x01\n\x07TxInput\x12\x11\n\taddress_n\x18\x01 \x03(\r\x12\x17\n\tprev_hash\x18\x02 \x02(\x0c\x42\x04\x88\xb5\x18\x01\x12\x12\n\nprev_index\x18\x03 \x02(\r\x12\x18\n\nscript_sig\x18\x04 \x01(\x0c\x42\x04\x88\xb5\x18\x01\x12\x1c\n\x08sequence\x18\x05 \x01(\r:\n4294967295\"{\n\x08TxOutput\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x02(\x0c\x12\x11\n\taddress_n\x18\x02 \x03(\r\x12\x0e\n\x06\x61mount\x18\x03 \x02(\x04\x12 \n\x0bscript_type\x18\x04 \x02(\x0e\x32\x0b.ScriptType\x12\x19\n\x0bscript_args\x18\x05 \x03(\x0c\x42\x04\x88\xb5\x18\x01\"\xc0\x01\n\x0fTransactionType\x12\x12\n\x07version\x18\x01 \x01(\r:\x01\x31\x12\x18\n\x06inputs\x18\x02 \x03(\x0b\x32\x08.TxInput\x12-\n\x07outputs\x18\x03 \x03(\x0b\x32\x1c.TransactionType.TxOutputBin\x12\x14\n\tlock_time\x18\x04 \x01(\r:\x01\x30\x1a:\n\x0bTxOutputBin\x12\x0e\n\x06\x61mount\x18\x01 \x02(\x04\x12\x1b\n\rscript_pubkey\x18\x02 \x02(\x0c\x42\x04\x88\xb5\x18\x01\"\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\"N\n\x11\x44\x65\x62ugLinkGetState\x12\x0e\n\x06layout\x18\x01 \x01(\x08\x12\x0b\n\x03pin\x18\x02 \x01(\x08\x12\x0e\n\x06matrix\x18\x03 \x01(\x08\x12\x0c\n\x04seed\x18\x04 \x01(\x08\"Q\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\x0c\n\x04seed\x18\x04 \x01(\x0c\"\x0f\n\rDebugLinkStop*\xc1\n\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%\n\x1bMessageType_PinMatrixCancel\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\x18MessageType_ButtonCancel\x10\x1c\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\x1c\n\x18MessageType_SettingsType\x10\x1f\x12\x1a\n\x16MessageType_HDNodeType\x10 \x12\x18\n\x14MessageType_CoinType\x10!\x12$\n\x1aMessageType_EntropyRequest\x10#\x1a\x04\x98\xb5\x18\x01\x12 \n\x16MessageType_EntropyAck\x10$\x1a\x04\x90\xb5\x18\x01\x12\x1f\n\x1bMessageType_TransactionType\x10%\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*\xe4\x01\n\x0b\x46\x61ilureType\x12\x1d\n\x19\x46\x61ilure_UnexpectedMessage\x10\x01\x12\x1a\n\x16\x46\x61ilure_ButtonExpected\x10\x02\x12\x17\n\x13\x46\x61ilure_SyntaxError\x10\x03\x12\x1b\n\x17\x46\x61ilure_ActionCancelled\x10\x04\x12\x17\n\x13\x46\x61ilure_PinExpected\x10\x05\x12\x18\n\x14\x46\x61ilure_PinCancelled\x10\x06\x12\x16\n\x12\x46\x61ilure_PinInvalid\x10\x07\x12\x19\n\x15\x46\x61ilure_FirmwareError\x10\x63*3\n\nScriptType\x12\x10\n\x0cPAYTOADDRESS\x10\x00\x12\x13\n\x0fPAYTOSCRIPTHASH\x10\x01*(\n\x0bRequestType\x12\x0b\n\x07TXINPUT\x10\x00\x12\x0c\n\x08TXOUTPUT\x10\x01:/\n\x06\x62inary\x12\x1d.google.protobuf.FieldOptions\x18\xd1\x86\x03 \x01(\x08:4\n\x07wire_in\x12!.google.protobuf.EnumValueOptions\x18\xd2\x86\x03 \x01(\x08:5\n\x08wire_out\x12!.google.protobuf.EnumValueOptions\x18\xd3\x86\x03 \x01(\x08::\n\rwire_debug_in\x12!.google.protobuf.EnumValueOptions\x18\xd4\x86\x03 \x01(\x08:;\n\x0ewire_debug_out\x12!.google.protobuf.EnumValueOptions\x18\xd5\x86\x03 \x01(\x08')
|
|
|
|
_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_PinMatrixCancel', 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_ButtonCancel', index=26, number=28,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_GetAddress', index=27, number=29,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_Address', index=28, number=30,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_SettingsType', index=29, number=31,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_HDNodeType', index=30, number=32,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_CoinType', index=31, number=33,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_EntropyRequest', index=32, number=35,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\230\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_EntropyAck', index=33, number=36,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\220\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_TransactionType', index=34, number=37,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_DebugLinkDecision', index=35, number=100,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\240\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_DebugLinkGetState', index=36, number=101,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\240\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_DebugLinkState', index=37, number=102,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\250\265\030\001'),
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='MessageType_DebugLinkStop', index=38, number=103,
|
|
options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), '\240\265\030\001'),
|
|
type=None),
|
|
],
|
|
containing_type=None,
|
|
options=None,
|
|
serialized_start=2346,
|
|
serialized_end=3691,
|
|
)
|
|
|
|
MessageType = enum_type_wrapper.EnumTypeWrapper(_MESSAGETYPE)
|
|
_FAILURETYPE = _descriptor.EnumDescriptor(
|
|
name='FailureType',
|
|
full_name='FailureType',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
values=[
|
|
_descriptor.EnumValueDescriptor(
|
|
name='Failure_UnexpectedMessage', index=0, number=1,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='Failure_ButtonExpected', index=1, number=2,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='Failure_SyntaxError', index=2, number=3,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='Failure_ActionCancelled', index=3, number=4,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='Failure_PinExpected', index=4, number=5,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='Failure_PinCancelled', index=5, number=6,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='Failure_PinInvalid', index=6, number=7,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='Failure_FirmwareError', index=7, number=99,
|
|
options=None,
|
|
type=None),
|
|
],
|
|
containing_type=None,
|
|
options=None,
|
|
serialized_start=3694,
|
|
serialized_end=3922,
|
|
)
|
|
|
|
FailureType = enum_type_wrapper.EnumTypeWrapper(_FAILURETYPE)
|
|
_SCRIPTTYPE = _descriptor.EnumDescriptor(
|
|
name='ScriptType',
|
|
full_name='ScriptType',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
values=[
|
|
_descriptor.EnumValueDescriptor(
|
|
name='PAYTOADDRESS', index=0, number=0,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='PAYTOSCRIPTHASH', index=1, number=1,
|
|
options=None,
|
|
type=None),
|
|
],
|
|
containing_type=None,
|
|
options=None,
|
|
serialized_start=3924,
|
|
serialized_end=3975,
|
|
)
|
|
|
|
ScriptType = enum_type_wrapper.EnumTypeWrapper(_SCRIPTTYPE)
|
|
_REQUESTTYPE = _descriptor.EnumDescriptor(
|
|
name='RequestType',
|
|
full_name='RequestType',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
values=[
|
|
_descriptor.EnumValueDescriptor(
|
|
name='TXINPUT', index=0, number=0,
|
|
options=None,
|
|
type=None),
|
|
_descriptor.EnumValueDescriptor(
|
|
name='TXOUTPUT', index=1, number=1,
|
|
options=None,
|
|
type=None),
|
|
],
|
|
containing_type=None,
|
|
options=None,
|
|
serialized_start=3977,
|
|
serialized_end=4017,
|
|
)
|
|
|
|
RequestType = enum_type_wrapper.EnumTypeWrapper(_REQUESTTYPE)
|
|
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_PinMatrixCancel = 20
|
|
MessageType_TxRequest = 21
|
|
MessageType_TxInput = 23
|
|
MessageType_TxOutput = 24
|
|
MessageType_ApplySettings = 25
|
|
MessageType_ButtonRequest = 26
|
|
MessageType_ButtonAck = 27
|
|
MessageType_ButtonCancel = 28
|
|
MessageType_GetAddress = 29
|
|
MessageType_Address = 30
|
|
MessageType_SettingsType = 31
|
|
MessageType_HDNodeType = 32
|
|
MessageType_CoinType = 33
|
|
MessageType_EntropyRequest = 35
|
|
MessageType_EntropyAck = 36
|
|
MessageType_TransactionType = 37
|
|
MessageType_DebugLinkDecision = 100
|
|
MessageType_DebugLinkGetState = 101
|
|
MessageType_DebugLinkState = 102
|
|
MessageType_DebugLinkStop = 103
|
|
Failure_UnexpectedMessage = 1
|
|
Failure_ButtonExpected = 2
|
|
Failure_SyntaxError = 3
|
|
Failure_ActionCancelled = 4
|
|
Failure_PinExpected = 5
|
|
Failure_PinCancelled = 6
|
|
Failure_PinInvalid = 7
|
|
Failure_FirmwareError = 99
|
|
PAYTOADDRESS = 0
|
|
PAYTOSCRIPTHASH = 1
|
|
TXINPUT = 0
|
|
TXOUTPUT = 1
|
|
|
|
BINARY_FIELD_NUMBER = 50001
|
|
binary = _descriptor.FieldDescriptor(
|
|
name='binary', full_name='binary', index=0,
|
|
number=50001, 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=True, extension_scope=None,
|
|
options=None)
|
|
WIRE_IN_FIELD_NUMBER = 50002
|
|
wire_in = _descriptor.FieldDescriptor(
|
|
name='wire_in', full_name='wire_in', index=1,
|
|
number=50002, 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=True, extension_scope=None,
|
|
options=None)
|
|
WIRE_OUT_FIELD_NUMBER = 50003
|
|
wire_out = _descriptor.FieldDescriptor(
|
|
name='wire_out', full_name='wire_out', index=2,
|
|
number=50003, 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=True, extension_scope=None,
|
|
options=None)
|
|
WIRE_DEBUG_IN_FIELD_NUMBER = 50004
|
|
wire_debug_in = _descriptor.FieldDescriptor(
|
|
name='wire_debug_in', full_name='wire_debug_in', index=3,
|
|
number=50004, 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=True, extension_scope=None,
|
|
options=None)
|
|
WIRE_DEBUG_OUT_FIELD_NUMBER = 50005
|
|
wire_debug_out = _descriptor.FieldDescriptor(
|
|
name='wire_debug_out', full_name='wire_debug_out', index=4,
|
|
number=50005, 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=True, extension_scope=None,
|
|
options=None)
|
|
|
|
|
|
_HDNODETYPE = _descriptor.Descriptor(
|
|
name='HDNodeType',
|
|
full_name='HDNodeType',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='version', full_name='HDNodeType.version', 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='depth', full_name='HDNodeType.depth', 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='fingerprint', full_name='HDNodeType.fingerprint', index=2,
|
|
number=3, 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='child_num', full_name='HDNodeType.child_num', index=3,
|
|
number=4, 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='chain_code', full_name='HDNodeType.chain_code', index=4,
|
|
number=5, 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='private_key', full_name='HDNodeType.private_key', 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='public_key', full_name='HDNodeType.public_key', index=6,
|
|
number=7, 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=51,
|
|
serialized_end=214,
|
|
)
|
|
|
|
|
|
_COINTYPE = _descriptor.Descriptor(
|
|
name='CoinType',
|
|
full_name='CoinType',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='coin_name', full_name='CoinType.coin_name', 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='coin_shortcut', full_name='CoinType.coin_shortcut', 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='address_type', full_name='CoinType.address_type', 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='maxfee_kb', full_name='CoinType.maxfee_kb', index=3,
|
|
number=4, type=4, cpp_type=4, 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=216,
|
|
serialized_end=309,
|
|
)
|
|
|
|
|
|
_SETTINGSTYPE = _descriptor.Descriptor(
|
|
name='SettingsType',
|
|
full_name='SettingsType',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='language', full_name='SettingsType.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='coin', full_name='SettingsType.coin', 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='label', full_name='SettingsType.label', 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=311,
|
|
serialized_end=383,
|
|
)
|
|
|
|
|
|
_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=385,
|
|
serialized_end=397,
|
|
)
|
|
|
|
|
|
_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='settings', full_name='Features.settings', index=5,
|
|
number=6, 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='device_id', full_name='Features.device_id', index=6,
|
|
number=7, 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='mpk_hash', full_name='Features.mpk_hash', index=7,
|
|
number=8, 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=8,
|
|
number=9, 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=400,
|
|
serialized_end=627,
|
|
)
|
|
|
|
|
|
_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='coin_shortcut', full_name='ApplySettings.coin_shortcut', 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='label', full_name='ApplySettings.label', 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=629,
|
|
serialized_end=700,
|
|
)
|
|
|
|
|
|
_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=702,
|
|
serialized_end=729,
|
|
)
|
|
|
|
|
|
_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=731,
|
|
serialized_end=754,
|
|
)
|
|
|
|
|
|
_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=756,
|
|
serialized_end=782,
|
|
)
|
|
|
|
|
|
_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=784,
|
|
serialized_end=838,
|
|
)
|
|
|
|
|
|
_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=840,
|
|
serialized_end=855,
|
|
)
|
|
|
|
|
|
_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=857,
|
|
serialized_end=868,
|
|
)
|
|
|
|
|
|
_BUTTONCANCEL = _descriptor.Descriptor(
|
|
name='ButtonCancel',
|
|
full_name='ButtonCancel',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=870,
|
|
serialized_end=884,
|
|
)
|
|
|
|
|
|
_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=886,
|
|
serialized_end=921,
|
|
)
|
|
|
|
|
|
_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=923,
|
|
serialized_end=950,
|
|
)
|
|
|
|
|
|
_PINMATRIXCANCEL = _descriptor.Descriptor(
|
|
name='PinMatrixCancel',
|
|
full_name='PinMatrixCancel',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=952,
|
|
serialized_end=969,
|
|
)
|
|
|
|
|
|
_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=971,
|
|
serialized_end=997,
|
|
)
|
|
|
|
|
|
_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=999,
|
|
serialized_end=1031,
|
|
)
|
|
|
|
|
|
_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),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1033,
|
|
serialized_end=1066,
|
|
)
|
|
|
|
|
|
_PUBLICKEY = _descriptor.Descriptor(
|
|
name='PublicKey',
|
|
full_name='PublicKey',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='mpk', full_name='PublicKey.mpk', 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=1068,
|
|
serialized_end=1105,
|
|
)
|
|
|
|
|
|
_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),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1107,
|
|
serialized_end=1138,
|
|
)
|
|
|
|
|
|
_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=1140,
|
|
serialized_end=1166,
|
|
)
|
|
|
|
|
|
_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=1168,
|
|
serialized_end=1180,
|
|
)
|
|
|
|
|
|
_LOADDEVICE = _descriptor.Descriptor(
|
|
name='LoadDevice',
|
|
full_name='LoadDevice',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='seed', full_name='LoadDevice.seed', 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),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1182,
|
|
serialized_end=1248,
|
|
)
|
|
|
|
|
|
_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),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1250,
|
|
serialized_end=1287,
|
|
)
|
|
|
|
|
|
_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=1289,
|
|
serialized_end=1305,
|
|
)
|
|
|
|
|
|
_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=1307,
|
|
serialized_end=1342,
|
|
)
|
|
|
|
|
|
_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=3, 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=5, 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=1344,
|
|
serialized_end=1397,
|
|
)
|
|
|
|
|
|
_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),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1399,
|
|
serialized_end=1467,
|
|
)
|
|
|
|
|
|
_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=1470,
|
|
serialized_end=1616,
|
|
)
|
|
|
|
|
|
_TXINPUT = _descriptor.Descriptor(
|
|
name='TxInput',
|
|
full_name='TxInput',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='address_n', full_name='TxInput.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='prev_hash', full_name='TxInput.prev_hash', 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='prev_index', full_name='TxInput.prev_index', index=2,
|
|
number=3, 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='script_sig', full_name='TxInput.script_sig', 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='sequence', full_name='TxInput.sequence', index=4,
|
|
number=5, type=13, cpp_type=3, label=1,
|
|
has_default_value=True, default_value=4294967295,
|
|
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=1619,
|
|
serialized_end=1748,
|
|
)
|
|
|
|
|
|
_TXOUTPUT = _descriptor.Descriptor(
|
|
name='TxOutput',
|
|
full_name='TxOutput',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='address', full_name='TxOutput.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),
|
|
_descriptor.FieldDescriptor(
|
|
name='address_n', full_name='TxOutput.address_n', index=1,
|
|
number=2, 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='amount', full_name='TxOutput.amount', index=2,
|
|
number=3, type=4, cpp_type=4, 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='script_type', full_name='TxOutput.script_type', index=3,
|
|
number=4, type=14, cpp_type=8, 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='script_args', full_name='TxOutput.script_args', index=4,
|
|
number=5, type=12, cpp_type=9, label=3,
|
|
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=1750,
|
|
serialized_end=1873,
|
|
)
|
|
|
|
|
|
_TRANSACTIONTYPE_TXOUTPUTBIN = _descriptor.Descriptor(
|
|
name='TxOutputBin',
|
|
full_name='TransactionType.TxOutputBin',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='amount', full_name='TransactionType.TxOutputBin.amount', index=0,
|
|
number=1, type=4, cpp_type=4, 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='script_pubkey', full_name='TransactionType.TxOutputBin.script_pubkey', 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')),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=2010,
|
|
serialized_end=2068,
|
|
)
|
|
|
|
_TRANSACTIONTYPE = _descriptor.Descriptor(
|
|
name='TransactionType',
|
|
full_name='TransactionType',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='version', full_name='TransactionType.version', index=0,
|
|
number=1, type=13, cpp_type=3, label=1,
|
|
has_default_value=True, default_value=1,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='inputs', full_name='TransactionType.inputs', 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='outputs', full_name='TransactionType.outputs', 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='lock_time', full_name='TransactionType.lock_time', index=3,
|
|
number=4, type=13, cpp_type=3, label=1,
|
|
has_default_value=True, default_value=0,
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[_TRANSACTIONTYPE_TXOUTPUTBIN, ],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=1876,
|
|
serialized_end=2068,
|
|
)
|
|
|
|
|
|
_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=2070,
|
|
serialized_end=2085,
|
|
)
|
|
|
|
|
|
_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=2087,
|
|
serialized_end=2126,
|
|
)
|
|
|
|
|
|
_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=2128,
|
|
serialized_end=2163,
|
|
)
|
|
|
|
|
|
_DEBUGLINKGETSTATE = _descriptor.Descriptor(
|
|
name='DebugLinkGetState',
|
|
full_name='DebugLinkGetState',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='layout', full_name='DebugLinkGetState.layout', 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='pin', full_name='DebugLinkGetState.pin', 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='matrix', full_name='DebugLinkGetState.matrix', 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='seed', full_name='DebugLinkGetState.seed', 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),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=2165,
|
|
serialized_end=2243,
|
|
)
|
|
|
|
|
|
_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='seed', full_name='DebugLinkState.seed', 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),
|
|
],
|
|
extensions=[
|
|
],
|
|
nested_types=[],
|
|
enum_types=[
|
|
],
|
|
options=None,
|
|
is_extendable=False,
|
|
extension_ranges=[],
|
|
serialized_start=2245,
|
|
serialized_end=2326,
|
|
)
|
|
|
|
|
|
_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=2328,
|
|
serialized_end=2343,
|
|
)
|
|
|
|
_SETTINGSTYPE.fields_by_name['coin'].message_type = _COINTYPE
|
|
_FEATURES.fields_by_name['settings'].message_type = _SETTINGSTYPE
|
|
_FAILURE.fields_by_name['code'].enum_type = _FAILURETYPE
|
|
_PUBLICKEY.fields_by_name['mpk'].message_type = _HDNODETYPE
|
|
_LOADDEVICE.fields_by_name['node'].message_type = _HDNODETYPE
|
|
_SIMPLESIGNTX.fields_by_name['inputs'].message_type = _TXINPUT
|
|
_SIMPLESIGNTX.fields_by_name['outputs'].message_type = _TXOUTPUT
|
|
_TXREQUEST.fields_by_name['request_type'].enum_type = _REQUESTTYPE
|
|
_TXOUTPUT.fields_by_name['script_type'].enum_type = _SCRIPTTYPE
|
|
_TRANSACTIONTYPE_TXOUTPUTBIN.containing_type = _TRANSACTIONTYPE;
|
|
_TRANSACTIONTYPE.fields_by_name['inputs'].message_type = _TXINPUT
|
|
_TRANSACTIONTYPE.fields_by_name['outputs'].message_type = _TRANSACTIONTYPE_TXOUTPUTBIN
|
|
DESCRIPTOR.message_types_by_name['HDNodeType'] = _HDNODETYPE
|
|
DESCRIPTOR.message_types_by_name['CoinType'] = _COINTYPE
|
|
DESCRIPTOR.message_types_by_name['SettingsType'] = _SETTINGSTYPE
|
|
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['ButtonCancel'] = _BUTTONCANCEL
|
|
DESCRIPTOR.message_types_by_name['PinMatrixRequest'] = _PINMATRIXREQUEST
|
|
DESCRIPTOR.message_types_by_name['PinMatrixAck'] = _PINMATRIXACK
|
|
DESCRIPTOR.message_types_by_name['PinMatrixCancel'] = _PINMATRIXCANCEL
|
|
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['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['TransactionType'] = _TRANSACTIONTYPE
|
|
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
|
|
|
|
class HDNodeType(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _HDNODETYPE
|
|
|
|
# @@protoc_insertion_point(class_scope:HDNodeType)
|
|
|
|
class CoinType(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _COINTYPE
|
|
|
|
# @@protoc_insertion_point(class_scope:CoinType)
|
|
|
|
class SettingsType(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _SETTINGSTYPE
|
|
|
|
# @@protoc_insertion_point(class_scope:SettingsType)
|
|
|
|
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 ButtonCancel(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _BUTTONCANCEL
|
|
|
|
# @@protoc_insertion_point(class_scope:ButtonCancel)
|
|
|
|
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 PinMatrixCancel(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _PINMATRIXCANCEL
|
|
|
|
# @@protoc_insertion_point(class_scope:PinMatrixCancel)
|
|
|
|
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 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 TransactionType(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
|
|
class TxOutputBin(_message.Message):
|
|
__metaclass__ = _reflection.GeneratedProtocolMessageType
|
|
DESCRIPTOR = _TRANSACTIONTYPE_TXOUTPUTBIN
|
|
|
|
# @@protoc_insertion_point(class_scope:TransactionType.TxOutputBin)
|
|
DESCRIPTOR = _TRANSACTIONTYPE
|
|
|
|
# @@protoc_insertion_point(class_scope:TransactionType)
|
|
|
|
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)
|
|
|
|
google.protobuf.descriptor_pb2.FieldOptions.RegisterExtension(binary)
|
|
google.protobuf.descriptor_pb2.EnumValueOptions.RegisterExtension(wire_in)
|
|
google.protobuf.descriptor_pb2.EnumValueOptions.RegisterExtension(wire_out)
|
|
google.protobuf.descriptor_pb2.EnumValueOptions.RegisterExtension(wire_debug_in)
|
|
google.protobuf.descriptor_pb2.EnumValueOptions.RegisterExtension(wire_debug_out)
|
|
|
|
_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_PinMatrixCancel"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_PinMatrixCancel"]._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_ButtonCancel"].has_options = True
|
|
_MESSAGETYPE.values_by_name["MessageType_ButtonCancel"]._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_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')
|
|
_HDNODETYPE.fields_by_name['chain_code'].has_options = True
|
|
_HDNODETYPE.fields_by_name['chain_code']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_HDNODETYPE.fields_by_name['private_key'].has_options = True
|
|
_HDNODETYPE.fields_by_name['private_key']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_HDNODETYPE.fields_by_name['public_key'].has_options = True
|
|
_HDNODETYPE.fields_by_name['public_key']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\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['mpk_hash'].has_options = True
|
|
_FEATURES.fields_by_name['mpk_hash']._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')
|
|
_ENTROPYACK.fields_by_name['entropy'].has_options = True
|
|
_ENTROPYACK.fields_by_name['entropy']._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')
|
|
_TXINPUT.fields_by_name['prev_hash'].has_options = True
|
|
_TXINPUT.fields_by_name['prev_hash']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_TXINPUT.fields_by_name['script_sig'].has_options = True
|
|
_TXINPUT.fields_by_name['script_sig']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_TXOUTPUT.fields_by_name['script_args'].has_options = True
|
|
_TXOUTPUT.fields_by_name['script_args']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\210\265\030\001')
|
|
_TRANSACTIONTYPE_TXOUTPUTBIN.fields_by_name['script_pubkey'].has_options = True
|
|
_TRANSACTIONTYPE_TXOUTPUTBIN.fields_by_name['script_pubkey']._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)
|