types

package
v0.0.0-...-a01bbec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package types is a generated protocol buffer package.

It is generated from these files:

types.proto

It has these top-level messages:

HDNodeType
HDNodePathType
CoinType
MultisigRedeemScriptType
TxInputType
TxOutputType
TxOutputBinType
TransactionType
RawTransactionType
TxRequestDetailsType
TxRequestSerializedType
IdentityType
PolicyType
ExchangeType

Index

Constants

View Source
const Default_CoinType_AddressType uint32 = 0
View Source
const Default_CoinType_AddressTypeP2Sh uint32 = 5
View Source
const Default_CoinType_AddressTypeP2Wpkh uint32 = 6
View Source
const Default_CoinType_AddressTypeP2Wsh uint32 = 10
View Source
const Default_ExchangeType_WithdrawalCoinName string = "Bitcoin"
View Source
const Default_IdentityType_Index uint32 = 0
View Source
const Default_TxInputType_Sequence uint32 = 4294967295

Variables

View Source
var ButtonRequestType_name = map[int32]string{
	1:  "ButtonRequest_Other",
	2:  "ButtonRequest_FeeOverThreshold",
	3:  "ButtonRequest_ConfirmOutput",
	4:  "ButtonRequest_ResetDevice",
	5:  "ButtonRequest_ConfirmWord",
	6:  "ButtonRequest_WipeDevice",
	7:  "ButtonRequest_ProtectCall",
	8:  "ButtonRequest_SignTx",
	9:  "ButtonRequest_FirmwareCheck",
	10: "ButtonRequest_Address",
	11: "ButtonRequest_FirmwareErase",
	12: "ButtonRequest_ConfirmTransferToAccount",
	13: "ButtonRequest_ConfirmTransferToNodePath",
	14: "ButtonRequest_ChangeLabel",
	15: "ButtonRequest_ChangeLanguage",
	16: "ButtonRequest_EnablePassphrase",
	17: "ButtonRequest_DisablePassphrase",
	18: "ButtonRequest_EncryptAndSignMessage",
	19: "ButtonRequest_EncryptMessage",
	20: "ButtonRequest_ImportPrivateKey",
	21: "ButtonRequest_ImportRecoverySentence",
	22: "ButtonRequest_SignIdentity",
	23: "ButtonRequest_Ping",
	24: "ButtonRequest_RemovePin",
	25: "ButtonRequest_ChangePin",
	26: "ButtonRequest_CreatePin",
	27: "ButtonRequest_GetEntropy",
	28: "ButtonRequest_SignMessage",
	29: "ButtonRequest_ApplyPolicies",
	30: "ButtonRequest_SignExchange",
}
View Source
var ButtonRequestType_value = map[string]int32{
	"ButtonRequest_Other":                     1,
	"ButtonRequest_FeeOverThreshold":          2,
	"ButtonRequest_ConfirmOutput":             3,
	"ButtonRequest_ResetDevice":               4,
	"ButtonRequest_ConfirmWord":               5,
	"ButtonRequest_WipeDevice":                6,
	"ButtonRequest_ProtectCall":               7,
	"ButtonRequest_SignTx":                    8,
	"ButtonRequest_FirmwareCheck":             9,
	"ButtonRequest_Address":                   10,
	"ButtonRequest_FirmwareErase":             11,
	"ButtonRequest_ConfirmTransferToAccount":  12,
	"ButtonRequest_ConfirmTransferToNodePath": 13,
	"ButtonRequest_ChangeLabel":               14,
	"ButtonRequest_ChangeLanguage":            15,
	"ButtonRequest_EnablePassphrase":          16,
	"ButtonRequest_DisablePassphrase":         17,
	"ButtonRequest_EncryptAndSignMessage":     18,
	"ButtonRequest_EncryptMessage":            19,
	"ButtonRequest_ImportPrivateKey":          20,
	"ButtonRequest_ImportRecoverySentence":    21,
	"ButtonRequest_SignIdentity":              22,
	"ButtonRequest_Ping":                      23,
	"ButtonRequest_RemovePin":                 24,
	"ButtonRequest_ChangePin":                 25,
	"ButtonRequest_CreatePin":                 26,
	"ButtonRequest_GetEntropy":                27,
	"ButtonRequest_SignMessage":               28,
	"ButtonRequest_ApplyPolicies":             29,
	"ButtonRequest_SignExchange":              30,
}
View Source
var E_WireDebugIn = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.EnumValueOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         50004,
	Name:          "wire_debug_in",
	Tag:           "varint,50004,opt,name=wire_debug_in,json=wireDebugIn",
	Filename:      "types.proto",
}
View Source
var E_WireDebugOut = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.EnumValueOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         50005,
	Name:          "wire_debug_out",
	Tag:           "varint,50005,opt,name=wire_debug_out,json=wireDebugOut",
	Filename:      "types.proto",
}
View Source
var E_WireIn = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.EnumValueOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         50002,
	Name:          "wire_in",
	Tag:           "varint,50002,opt,name=wire_in,json=wireIn",
	Filename:      "types.proto",
}
View Source
var E_WireOut = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.EnumValueOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         50003,
	Name:          "wire_out",
	Tag:           "varint,50003,opt,name=wire_out,json=wireOut",
	Filename:      "types.proto",
}
View Source
var FailureType_name = map[int32]string{
	1:  "Failure_UnexpectedMessage",
	2:  "Failure_ButtonExpected",
	3:  "Failure_SyntaxError",
	4:  "Failure_ActionCancelled",
	5:  "Failure_PinExpected",
	6:  "Failure_PinCancelled",
	7:  "Failure_PinInvalid",
	8:  "Failure_InvalidSignature",
	9:  "Failure_Other",
	10: "Failure_NotEnoughFunds",
	11: "Failure_NotInitialized",
	99: "Failure_FirmwareError",
}
View Source
var FailureType_value = map[string]int32{
	"Failure_UnexpectedMessage": 1,
	"Failure_ButtonExpected":    2,
	"Failure_SyntaxError":       3,
	"Failure_ActionCancelled":   4,
	"Failure_PinExpected":       5,
	"Failure_PinCancelled":      6,
	"Failure_PinInvalid":        7,
	"Failure_InvalidSignature":  8,
	"Failure_Other":             9,
	"Failure_NotEnoughFunds":    10,
	"Failure_NotInitialized":    11,
	"Failure_FirmwareError":     99,
}
View Source
var InputScriptType_name = map[int32]string{
	0: "SPENDADDRESS",
	1: "SPENDMULTISIG",
	2: "EXTERNAL",
	3: "SPENDWITNESS",
	4: "SPENDP2SHWITNESS",
}
View Source
var InputScriptType_value = map[string]int32{
	"SPENDADDRESS":     0,
	"SPENDMULTISIG":    1,
	"EXTERNAL":         2,
	"SPENDWITNESS":     3,
	"SPENDP2SHWITNESS": 4,
}
View Source
var OutputAddressType_name = map[int32]string{
	0: "SPEND",
	1: "TRANSFER",
	2: "CHANGE",
	3: "EXCHANGE",
}
View Source
var OutputAddressType_value = map[string]int32{
	"SPEND":    0,
	"TRANSFER": 1,
	"CHANGE":   2,
	"EXCHANGE": 3,
}
View Source
var OutputScriptType_name = map[int32]string{
	0: "PAYTOADDRESS",
	1: "PAYTOSCRIPTHASH",
	2: "PAYTOMULTISIG",
	3: "PAYTOOPRETURN",
	4: "PAYTOWITNESS",
	5: "PAYTOP2SHWITNESS",
}
View Source
var OutputScriptType_value = map[string]int32{
	"PAYTOADDRESS":     0,
	"PAYTOSCRIPTHASH":  1,
	"PAYTOMULTISIG":    2,
	"PAYTOOPRETURN":    3,
	"PAYTOWITNESS":     4,
	"PAYTOP2SHWITNESS": 5,
}
View Source
var PinMatrixRequestType_name = map[int32]string{
	1: "PinMatrixRequestType_Current",
	2: "PinMatrixRequestType_NewFirst",
	3: "PinMatrixRequestType_NewSecond",
}
View Source
var PinMatrixRequestType_value = map[string]int32{
	"PinMatrixRequestType_Current":   1,
	"PinMatrixRequestType_NewFirst":  2,
	"PinMatrixRequestType_NewSecond": 3,
}
View Source
var RequestType_name = map[int32]string{
	0: "TXINPUT",
	1: "TXOUTPUT",
	2: "TXMETA",
	3: "TXFINISHED",
	4: "TXEXTRADATA",
}
View Source
var RequestType_value = map[string]int32{
	"TXINPUT":     0,
	"TXOUTPUT":    1,
	"TXMETA":      2,
	"TXFINISHED":  3,
	"TXEXTRADATA": 4,
}

Functions

This section is empty.

Types

type ButtonRequestType

type ButtonRequestType int32

* Type of button request @used_in ButtonRequest

const (
	ButtonRequestType_ButtonRequest_Other                     ButtonRequestType = 1
	ButtonRequestType_ButtonRequest_FeeOverThreshold          ButtonRequestType = 2
	ButtonRequestType_ButtonRequest_ConfirmOutput             ButtonRequestType = 3
	ButtonRequestType_ButtonRequest_ResetDevice               ButtonRequestType = 4
	ButtonRequestType_ButtonRequest_ConfirmWord               ButtonRequestType = 5
	ButtonRequestType_ButtonRequest_WipeDevice                ButtonRequestType = 6
	ButtonRequestType_ButtonRequest_ProtectCall               ButtonRequestType = 7
	ButtonRequestType_ButtonRequest_SignTx                    ButtonRequestType = 8
	ButtonRequestType_ButtonRequest_FirmwareCheck             ButtonRequestType = 9
	ButtonRequestType_ButtonRequest_Address                   ButtonRequestType = 10
	ButtonRequestType_ButtonRequest_FirmwareErase             ButtonRequestType = 11
	ButtonRequestType_ButtonRequest_ConfirmTransferToAccount  ButtonRequestType = 12
	ButtonRequestType_ButtonRequest_ConfirmTransferToNodePath ButtonRequestType = 13
	ButtonRequestType_ButtonRequest_ChangeLabel               ButtonRequestType = 14
	ButtonRequestType_ButtonRequest_ChangeLanguage            ButtonRequestType = 15
	ButtonRequestType_ButtonRequest_EnablePassphrase          ButtonRequestType = 16
	ButtonRequestType_ButtonRequest_DisablePassphrase         ButtonRequestType = 17
	ButtonRequestType_ButtonRequest_EncryptAndSignMessage     ButtonRequestType = 18
	ButtonRequestType_ButtonRequest_EncryptMessage            ButtonRequestType = 19
	ButtonRequestType_ButtonRequest_ImportPrivateKey          ButtonRequestType = 20
	ButtonRequestType_ButtonRequest_ImportRecoverySentence    ButtonRequestType = 21
	ButtonRequestType_ButtonRequest_SignIdentity              ButtonRequestType = 22
	ButtonRequestType_ButtonRequest_Ping                      ButtonRequestType = 23
	ButtonRequestType_ButtonRequest_RemovePin                 ButtonRequestType = 24
	ButtonRequestType_ButtonRequest_ChangePin                 ButtonRequestType = 25
	ButtonRequestType_ButtonRequest_CreatePin                 ButtonRequestType = 26
	ButtonRequestType_ButtonRequest_GetEntropy                ButtonRequestType = 27
	ButtonRequestType_ButtonRequest_SignMessage               ButtonRequestType = 28
	ButtonRequestType_ButtonRequest_ApplyPolicies             ButtonRequestType = 29
	ButtonRequestType_ButtonRequest_SignExchange              ButtonRequestType = 30
)

func (ButtonRequestType) Enum

func (ButtonRequestType) EnumDescriptor

func (ButtonRequestType) EnumDescriptor() ([]byte, []int)

func (ButtonRequestType) String

func (x ButtonRequestType) String() string

func (*ButtonRequestType) UnmarshalJSON

func (x *ButtonRequestType) UnmarshalJSON(data []byte) error

type CoinType

type CoinType struct {
	CoinName            *string `protobuf:"bytes,1,opt,name=coin_name,json=coinName" json:"coin_name,omitempty"`
	CoinShortcut        *string `protobuf:"bytes,2,opt,name=coin_shortcut,json=coinShortcut" json:"coin_shortcut,omitempty"`
	AddressType         *uint32 `protobuf:"varint,3,opt,name=address_type,json=addressType,def=0" json:"address_type,omitempty"`
	MaxfeeKb            *uint64 `protobuf:"varint,4,opt,name=maxfee_kb,json=maxfeeKb" json:"maxfee_kb,omitempty"`
	AddressTypeP2Sh     *uint32 `protobuf:"varint,5,opt,name=address_type_p2sh,json=addressTypeP2sh,def=5" json:"address_type_p2sh,omitempty"`
	AddressTypeP2Wpkh   *uint32 `protobuf:"varint,6,opt,name=address_type_p2wpkh,json=addressTypeP2wpkh,def=6" json:"address_type_p2wpkh,omitempty"`
	AddressTypeP2Wsh    *uint32 `protobuf:"varint,7,opt,name=address_type_p2wsh,json=addressTypeP2wsh,def=10" json:"address_type_p2wsh,omitempty"`
	SignedMessageHeader *string `protobuf:"bytes,8,opt,name=signed_message_header,json=signedMessageHeader" json:"signed_message_header,omitempty"`
	Bip44AccountPath    *uint32 `protobuf:"varint,9,opt,name=bip44_account_path,json=bip44AccountPath" json:"bip44_account_path,omitempty"`
	XXX_unrecognized    []byte  `json:"-"`
}

* Structure representing Coin @used_in Features

func CoinTyper2Type

func CoinTyper2Type(x types.CoinTyper) CoinType

func (*CoinType) Descriptor

func (*CoinType) Descriptor() ([]byte, []int)

func (*CoinType) GetAddressType

func (m *CoinType) GetAddressType() uint32

func (*CoinType) GetAddressTypeP2Sh

func (m *CoinType) GetAddressTypeP2Sh() uint32

func (*CoinType) GetAddressTypeP2Wpkh

func (m *CoinType) GetAddressTypeP2Wpkh() uint32

func (*CoinType) GetAddressTypeP2Wsh

func (m *CoinType) GetAddressTypeP2Wsh() uint32

func (*CoinType) GetBip44AccountPath

func (m *CoinType) GetBip44AccountPath() uint32

func (*CoinType) GetCoinName

func (m *CoinType) GetCoinName() string

func (*CoinType) GetCoinShortcut

func (m *CoinType) GetCoinShortcut() string

func (*CoinType) GetMaxfeeKb

func (m *CoinType) GetMaxfeeKb() uint64

func (*CoinType) GetSignedMessageHeader

func (m *CoinType) GetSignedMessageHeader() string

func (*CoinType) ProtoMessage

func (*CoinType) ProtoMessage()

func (*CoinType) Reset

func (m *CoinType) Reset()

func (*CoinType) SetAddressType

func (z *CoinType) SetAddressType(x *uint32)

func (*CoinType) SetAddressTypeP2Sh

func (z *CoinType) SetAddressTypeP2Sh(x *uint32)

func (*CoinType) SetAddressTypeP2Wpkh

func (z *CoinType) SetAddressTypeP2Wpkh(x *uint32)

func (*CoinType) SetAddressTypeP2Wsh

func (z *CoinType) SetAddressTypeP2Wsh(x *uint32)

func (*CoinType) SetBip44AccountPath

func (z *CoinType) SetBip44AccountPath(x *uint32)

func (*CoinType) SetCoinName

func (z *CoinType) SetCoinName(x *string)

func (*CoinType) SetCoinShortcut

func (z *CoinType) SetCoinShortcut(x *string)

func (*CoinType) SetMaxfeeKb

func (z *CoinType) SetMaxfeeKb(x *uint64)

func (*CoinType) SetSignedMessageHeader

func (z *CoinType) SetSignedMessageHeader(x *string)

func (*CoinType) String

func (m *CoinType) String() string

type ExchangeType

type ExchangeType struct {
	SignedExchangeResponse *exchange.SignedExchangeResponse `protobuf:"bytes,1,opt,name=signed_exchange_response,json=signedExchangeResponse" json:"signed_exchange_response,omitempty"`
	WithdrawalCoinName     *string                          `protobuf:"bytes,2,opt,name=withdrawal_coin_name,json=withdrawalCoinName,def=Bitcoin" json:"withdrawal_coin_name,omitempty"`
	WithdrawalAddressN     []uint32                         `protobuf:"varint,3,rep,name=withdrawal_address_n,json=withdrawalAddressN" json:"withdrawal_address_n,omitempty"`
	ReturnAddressN         []uint32                         `protobuf:"varint,4,rep,name=return_address_n,json=returnAddressN" json:"return_address_n,omitempty"`
	XXX_unrecognized       []byte                           `json:"-"`
}

* Structure representing exchange data @used_in TxOutputType

func ExchangeTyper2Type

func ExchangeTyper2Type(x types.ExchangeTyper) ExchangeType

func (*ExchangeType) Descriptor

func (*ExchangeType) Descriptor() ([]byte, []int)

func (*ExchangeType) GetReturnAddressN

func (m *ExchangeType) GetReturnAddressN() []uint32

func (*ExchangeType) GetSignedExchangeResponse

func (m *ExchangeType) GetSignedExchangeResponse() *exchange.SignedExchangeResponse

func (*ExchangeType) GetWithdrawalAddressN

func (m *ExchangeType) GetWithdrawalAddressN() []uint32

func (*ExchangeType) GetWithdrawalCoinName

func (m *ExchangeType) GetWithdrawalCoinName() string

func (*ExchangeType) ProtoMessage

func (*ExchangeType) ProtoMessage()

func (*ExchangeType) Reset

func (m *ExchangeType) Reset()

func (*ExchangeType) SetReturnAddressN

func (z *ExchangeType) SetReturnAddressN(x []uint32)

func (*ExchangeType) SetSignedExchangeResponse

func (z *ExchangeType) SetSignedExchangeResponse(x *exchange.SignedExchangeResponse)

func (*ExchangeType) SetWithdrawalAddressN

func (z *ExchangeType) SetWithdrawalAddressN(x []uint32)

func (*ExchangeType) SetWithdrawalCoinName

func (z *ExchangeType) SetWithdrawalCoinName(x *string)

func (*ExchangeType) String

func (m *ExchangeType) String() string

type FailureType

type FailureType int32

* Type of failures returned by Failure message @used_in Failure

const (
	FailureType_Failure_UnexpectedMessage FailureType = 1
	FailureType_Failure_ButtonExpected    FailureType = 2
	FailureType_Failure_SyntaxError       FailureType = 3
	FailureType_Failure_ActionCancelled   FailureType = 4
	FailureType_Failure_PinExpected       FailureType = 5
	FailureType_Failure_PinCancelled      FailureType = 6
	FailureType_Failure_PinInvalid        FailureType = 7
	FailureType_Failure_InvalidSignature  FailureType = 8
	FailureType_Failure_Other             FailureType = 9
	FailureType_Failure_NotEnoughFunds    FailureType = 10
	FailureType_Failure_NotInitialized    FailureType = 11
	FailureType_Failure_FirmwareError     FailureType = 99
)

func FailureTyper2Type

func FailureTyper2Type(x types.FailureTyper) FailureType

func (FailureType) Enum

func (x FailureType) Enum() *FailureType

func (FailureType) EnumDescriptor

func (FailureType) EnumDescriptor() ([]byte, []int)

func (FailureType) String

func (x FailureType) String() string

func (*FailureType) UnmarshalJSON

func (x *FailureType) UnmarshalJSON(data []byte) error

type Getter

type Getter struct{}

func (*Getter) GetButtonRequestType

func (*Getter) GetButtonRequestType() types.ButtonRequestTyper

func (*Getter) GetCoinType

func (*Getter) GetCoinType() types.CoinTyper

func (*Getter) GetExchangeType

func (*Getter) GetExchangeType() types.ExchangeTyper

func (*Getter) GetFailureType

func (*Getter) GetFailureType() types.FailureTyper

func (*Getter) GetHDNodePathType

func (*Getter) GetHDNodePathType() types.HDNodePathTyper

func (*Getter) GetHDNodeType

func (*Getter) GetHDNodeType() types.HDNodeTyper

func (*Getter) GetIdentityType

func (*Getter) GetIdentityType() types.IdentityTyper

func (*Getter) GetInputScriptType

func (*Getter) GetInputScriptType() types.InputScriptTyper

func (*Getter) GetMultisigRedeemScriptType

func (*Getter) GetMultisigRedeemScriptType() types.MultisigRedeemScriptTyper

func (*Getter) GetOutputAddressType

func (*Getter) GetOutputAddressType() types.OutputAddressTyper

func (*Getter) GetOutputScriptType

func (*Getter) GetOutputScriptType() types.OutputScriptTyper

func (*Getter) GetPinMatrixRequestType

func (*Getter) GetPinMatrixRequestType() types.PinMatrixRequestTyper

func (*Getter) GetPolicyType

func (*Getter) GetPolicyType() types.PolicyTyper

func (*Getter) GetRawTransactionType

func (*Getter) GetRawTransactionType() types.RawTransactionTyper

func (*Getter) GetRecoveryDeviceType

func (*Getter) GetRecoveryDeviceType() types.RecoveryDeviceTyper

func (*Getter) GetRequestType

func (*Getter) GetRequestType() types.RequestTyper

func (*Getter) GetTransactionType

func (*Getter) GetTransactionType() types.TransactionTyper

func (*Getter) GetTxInputType

func (*Getter) GetTxInputType() types.TxInputTyper

func (*Getter) GetTxOutputBinType

func (*Getter) GetTxOutputBinType() types.TxOutputBinTyper

func (*Getter) GetTxOutputType

func (*Getter) GetTxOutputType() types.TxOutputTyper

func (*Getter) GetTxRequestDetailsType

func (*Getter) GetTxRequestDetailsType() types.TxRequestDetailsTyper

func (*Getter) GetTxRequestSerializedType

func (*Getter) GetTxRequestSerializedType() types.TxRequestSerializedTyper

func (*Getter) GetWordRequestType

func (*Getter) GetWordRequestType() types.WordRequestTyper

type HDNodePathType

type HDNodePathType struct {
	Node             *HDNodeType `protobuf:"bytes,1,req,name=node" json:"node,omitempty"`
	AddressN         []uint32    `protobuf:"varint,2,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	XXX_unrecognized []byte      `json:"-"`
}

func HDNodePathTyper2Type

func HDNodePathTyper2Type(x types.HDNodePathTyper) HDNodePathType

func (*HDNodePathType) Descriptor

func (*HDNodePathType) Descriptor() ([]byte, []int)

func (*HDNodePathType) GetAddressN

func (m *HDNodePathType) GetAddressN() []uint32

func (*HDNodePathType) GetNode

func (m *HDNodePathType) GetNode() types.HDNodeTyper

func (*HDNodePathType) ProtoMessage

func (*HDNodePathType) ProtoMessage()

func (*HDNodePathType) Reset

func (m *HDNodePathType) Reset()

func (*HDNodePathType) SetAddressN

func (z *HDNodePathType) SetAddressN(x []uint32)

func (*HDNodePathType) SetNode

func (z *HDNodePathType) SetNode(x types.HDNodeTyper)

func (*HDNodePathType) String

func (m *HDNodePathType) String() string

type HDNodeType

type HDNodeType struct {
	Depth            *uint32 `protobuf:"varint,1,req,name=depth" json:"depth,omitempty"`
	Fingerprint      *uint32 `protobuf:"varint,2,req,name=fingerprint" json:"fingerprint,omitempty"`
	ChildNum         *uint32 `protobuf:"varint,3,req,name=child_num,json=childNum" json:"child_num,omitempty"`
	ChainCode        []byte  `protobuf:"bytes,4,req,name=chain_code,json=chainCode" json:"chain_code,omitempty"`
	PrivateKey       []byte  `protobuf:"bytes,5,opt,name=private_key,json=privateKey" json:"private_key,omitempty"`
	PublicKey        []byte  `protobuf:"bytes,6,opt,name=public_key,json=publicKey" json:"public_key,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

* Structure representing BIP32 (hierarchical deterministic) node Used for imports of private key into the device and exporting public key out of device @used_in PublicKey @used_in LoadDevice @used_in DebugLinkState @used_in Storage

func HDNodeTyper2Type

func HDNodeTyper2Type(x types.HDNodeTyper) HDNodeType

func (*HDNodeType) Descriptor

func (*HDNodeType) Descriptor() ([]byte, []int)

func (*HDNodeType) GetChainCode

func (m *HDNodeType) GetChainCode() []byte

func (*HDNodeType) GetChildNum

func (m *HDNodeType) GetChildNum() uint32

func (*HDNodeType) GetDepth

func (m *HDNodeType) GetDepth() uint32

func (*HDNodeType) GetFingerprint

func (m *HDNodeType) GetFingerprint() uint32

func (*HDNodeType) GetPrivateKey

func (m *HDNodeType) GetPrivateKey() []byte

func (*HDNodeType) GetPublicKey

func (m *HDNodeType) GetPublicKey() []byte

func (*HDNodeType) ProtoMessage

func (*HDNodeType) ProtoMessage()

func (*HDNodeType) Reset

func (m *HDNodeType) Reset()

func (*HDNodeType) SetChainCode

func (z *HDNodeType) SetChainCode(x []byte)

func (*HDNodeType) SetChildNum

func (z *HDNodeType) SetChildNum(x *uint32)

func (*HDNodeType) SetDepth

func (z *HDNodeType) SetDepth(x *uint32)

func (*HDNodeType) SetFingerprint

func (z *HDNodeType) SetFingerprint(x *uint32)

func (*HDNodeType) SetPrivateKey

func (z *HDNodeType) SetPrivateKey(x []byte)

func (*HDNodeType) SetPublicKey

func (z *HDNodeType) SetPublicKey(x []byte)

func (*HDNodeType) String

func (m *HDNodeType) String() string

type IdentityType

type IdentityType struct {
	Proto            *string `protobuf:"bytes,1,opt,name=proto" json:"proto,omitempty"`
	User             *string `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
	Host             *string `protobuf:"bytes,3,opt,name=host" json:"host,omitempty"`
	Port             *string `protobuf:"bytes,4,opt,name=port" json:"port,omitempty"`
	Path             *string `protobuf:"bytes,5,opt,name=path" json:"path,omitempty"`
	Index            *uint32 `protobuf:"varint,6,opt,name=index,def=0" json:"index,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

* Structure representing identity data @used_in IdentityType

func IdentityTyper2Type

func IdentityTyper2Type(x types.IdentityTyper) IdentityType

func (*IdentityType) Descriptor

func (*IdentityType) Descriptor() ([]byte, []int)

func (*IdentityType) GetHost

func (m *IdentityType) GetHost() string

func (*IdentityType) GetIndex

func (m *IdentityType) GetIndex() uint32

func (*IdentityType) GetPath

func (m *IdentityType) GetPath() string

func (*IdentityType) GetPort

func (m *IdentityType) GetPort() string

func (*IdentityType) GetProto

func (m *IdentityType) GetProto() string

func (*IdentityType) GetUser

func (m *IdentityType) GetUser() string

func (*IdentityType) ProtoMessage

func (*IdentityType) ProtoMessage()

func (*IdentityType) Reset

func (m *IdentityType) Reset()

func (*IdentityType) SetHost

func (z *IdentityType) SetHost(x *string)

func (*IdentityType) SetIndex

func (z *IdentityType) SetIndex(x *uint32)

func (*IdentityType) SetPath

func (z *IdentityType) SetPath(x *string)

func (*IdentityType) SetPort

func (z *IdentityType) SetPort(x *string)

func (*IdentityType) SetProto

func (z *IdentityType) SetProto(x *string)

func (*IdentityType) SetUser

func (z *IdentityType) SetUser(x *string)

func (*IdentityType) String

func (m *IdentityType) String() string

type InputScriptType

type InputScriptType int32

* Type of script which will be used for transaction output @used_in TxInputType

const (
	InputScriptType_SPENDADDRESS     InputScriptType = 0
	InputScriptType_SPENDMULTISIG    InputScriptType = 1
	InputScriptType_EXTERNAL         InputScriptType = 2
	InputScriptType_SPENDWITNESS     InputScriptType = 3
	InputScriptType_SPENDP2SHWITNESS InputScriptType = 4
)
const Default_TxInputType_ScriptType InputScriptType = InputScriptType_SPENDADDRESS

func InputScriptTyper2Type

func InputScriptTyper2Type(x types.InputScriptTyper) InputScriptType

func (InputScriptType) Enum

func (x InputScriptType) Enum() *InputScriptType

func (InputScriptType) EnumDescriptor

func (InputScriptType) EnumDescriptor() ([]byte, []int)

func (InputScriptType) String

func (x InputScriptType) String() string

func (*InputScriptType) UnmarshalJSON

func (x *InputScriptType) UnmarshalJSON(data []byte) error

type MultisigRedeemScriptType

type MultisigRedeemScriptType struct {
	Pubkeys          []*HDNodePathType `protobuf:"bytes,1,rep,name=pubkeys" json:"pubkeys,omitempty"`
	Signatures       [][]byte          `protobuf:"bytes,2,rep,name=signatures" json:"signatures,omitempty"`
	M                *uint32           `protobuf:"varint,3,opt,name=m" json:"m,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

* Type of redeem script used in input @used_in TxInputType

func (*MultisigRedeemScriptType) Descriptor

func (*MultisigRedeemScriptType) Descriptor() ([]byte, []int)

func (*MultisigRedeemScriptType) GetM

func (m *MultisigRedeemScriptType) GetM() uint32

func (*MultisigRedeemScriptType) GetPubkeys

func (*MultisigRedeemScriptType) GetSignatures

func (m *MultisigRedeemScriptType) GetSignatures() [][]byte

func (*MultisigRedeemScriptType) ProtoMessage

func (*MultisigRedeemScriptType) ProtoMessage()

func (*MultisigRedeemScriptType) Reset

func (m *MultisigRedeemScriptType) Reset()

func (*MultisigRedeemScriptType) SetM

func (z *MultisigRedeemScriptType) SetM(x *uint32)

func (*MultisigRedeemScriptType) SetPubkeys

func (z *MultisigRedeemScriptType) SetPubkeys(x []types.HDNodePathTyper)

func (*MultisigRedeemScriptType) SetSignatures

func (z *MultisigRedeemScriptType) SetSignatures(x [][]byte)

func (*MultisigRedeemScriptType) String

func (m *MultisigRedeemScriptType) String() string

type OutputAddressType

type OutputAddressType int32

* Type of ouput address specify in transaction @used_in TxOutputType

const (
	OutputAddressType_SPEND    OutputAddressType = 0
	OutputAddressType_TRANSFER OutputAddressType = 1
	OutputAddressType_CHANGE   OutputAddressType = 2
	OutputAddressType_EXCHANGE OutputAddressType = 3
)

func (OutputAddressType) Enum

func (OutputAddressType) EnumDescriptor

func (OutputAddressType) EnumDescriptor() ([]byte, []int)

func (OutputAddressType) String

func (x OutputAddressType) String() string

func (*OutputAddressType) UnmarshalJSON

func (x *OutputAddressType) UnmarshalJSON(data []byte) error

type OutputScriptType

type OutputScriptType int32

* Type of script which will be used for transaction output @used_in TxOutputType

const (
	OutputScriptType_PAYTOADDRESS     OutputScriptType = 0
	OutputScriptType_PAYTOSCRIPTHASH  OutputScriptType = 1
	OutputScriptType_PAYTOMULTISIG    OutputScriptType = 2
	OutputScriptType_PAYTOOPRETURN    OutputScriptType = 3
	OutputScriptType_PAYTOWITNESS     OutputScriptType = 4
	OutputScriptType_PAYTOP2SHWITNESS OutputScriptType = 5
)

func OutputScriptTyper2Type

func OutputScriptTyper2Type(x types.OutputScriptTyper) OutputScriptType

func (OutputScriptType) Enum

func (OutputScriptType) EnumDescriptor

func (OutputScriptType) EnumDescriptor() ([]byte, []int)

func (OutputScriptType) String

func (x OutputScriptType) String() string

func (*OutputScriptType) UnmarshalJSON

func (x *OutputScriptType) UnmarshalJSON(data []byte) error

type PinMatrixRequestType

type PinMatrixRequestType int32

* Type of PIN request @used_in PinMatrixRequest

const (
	PinMatrixRequestType_PinMatrixRequestType_Current   PinMatrixRequestType = 1
	PinMatrixRequestType_PinMatrixRequestType_NewFirst  PinMatrixRequestType = 2
	PinMatrixRequestType_PinMatrixRequestType_NewSecond PinMatrixRequestType = 3
)

func (PinMatrixRequestType) Enum

func (PinMatrixRequestType) EnumDescriptor

func (PinMatrixRequestType) EnumDescriptor() ([]byte, []int)

func (PinMatrixRequestType) String

func (x PinMatrixRequestType) String() string

func (*PinMatrixRequestType) UnmarshalJSON

func (x *PinMatrixRequestType) UnmarshalJSON(data []byte) error

type PolicyType

type PolicyType struct {
	PolicyName       *string `protobuf:"bytes,1,opt,name=policy_name,json=policyName" json:"policy_name,omitempty"`
	Enabled          *bool   `protobuf:"varint,2,opt,name=enabled" json:"enabled,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

* Structure representing policy data @used_in ApplyPolicy

func PolicyTyper2Type

func PolicyTyper2Type(x types.PolicyTyper) PolicyType

func (*PolicyType) Descriptor

func (*PolicyType) Descriptor() ([]byte, []int)

func (*PolicyType) GetEnabled

func (m *PolicyType) GetEnabled() bool

func (*PolicyType) GetPolicyName

func (m *PolicyType) GetPolicyName() string

func (*PolicyType) ProtoMessage

func (*PolicyType) ProtoMessage()

func (*PolicyType) Reset

func (m *PolicyType) Reset()

func (*PolicyType) SetEnabled

func (z *PolicyType) SetEnabled(x *bool)

func (*PolicyType) SetPolicyName

func (z *PolicyType) SetPolicyName(x *string)

func (*PolicyType) String

func (m *PolicyType) String() string

type RawTransactionType

type RawTransactionType struct {
	Payload          []byte `protobuf:"bytes,1,req,name=payload" json:"payload,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

* Structure representing raw transaction @used_in RawTxAck

func (*RawTransactionType) Descriptor

func (*RawTransactionType) Descriptor() ([]byte, []int)

func (*RawTransactionType) GetPayload

func (m *RawTransactionType) GetPayload() []byte

func (*RawTransactionType) ProtoMessage

func (*RawTransactionType) ProtoMessage()

func (*RawTransactionType) Reset

func (m *RawTransactionType) Reset()

func (*RawTransactionType) SetPayload

func (z *RawTransactionType) SetPayload(x []byte)

func (*RawTransactionType) String

func (m *RawTransactionType) String() string

type RecoveryDeviceType

type RecoveryDeviceType int32

func (*RecoveryDeviceType) String

func (*RecoveryDeviceType) String() string

func (*RecoveryDeviceType) UnmarshalJSON

func (*RecoveryDeviceType) UnmarshalJSON(data []byte) error

type RequestType

type RequestType int32

* Type of information required by transaction signing process @used_in TxRequest

const (
	RequestType_TXINPUT     RequestType = 0
	RequestType_TXOUTPUT    RequestType = 1
	RequestType_TXMETA      RequestType = 2
	RequestType_TXFINISHED  RequestType = 3
	RequestType_TXEXTRADATA RequestType = 4
)

func RequestTyper2Type

func RequestTyper2Type(x types.RequestTyper) RequestType

func (RequestType) Enum

func (x RequestType) Enum() *RequestType

func (RequestType) EnumDescriptor

func (RequestType) EnumDescriptor() ([]byte, []int)

func (RequestType) String

func (x RequestType) String() string

func (*RequestType) UnmarshalJSON

func (x *RequestType) UnmarshalJSON(data []byte) error

type TransactionType

type TransactionType struct {
	Version          *uint32            `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	Inputs           []*TxInputType     `protobuf:"bytes,2,rep,name=inputs" json:"inputs,omitempty"`
	BinOutputs       []*TxOutputBinType `protobuf:"bytes,3,rep,name=bin_outputs,json=binOutputs" json:"bin_outputs,omitempty"`
	Outputs          []*TxOutputType    `protobuf:"bytes,5,rep,name=outputs" json:"outputs,omitempty"`
	LockTime         *uint32            `protobuf:"varint,4,opt,name=lock_time,json=lockTime" json:"lock_time,omitempty"`
	InputsCnt        *uint32            `protobuf:"varint,6,opt,name=inputs_cnt,json=inputsCnt" json:"inputs_cnt,omitempty"`
	OutputsCnt       *uint32            `protobuf:"varint,7,opt,name=outputs_cnt,json=outputsCnt" json:"outputs_cnt,omitempty"`
	ExtraData        []byte             `protobuf:"bytes,8,opt,name=extra_data,json=extraData" json:"extra_data,omitempty"`
	ExtraDataLen     *uint32            `protobuf:"varint,9,opt,name=extra_data_len,json=extraDataLen" json:"extra_data_len,omitempty"`
	XXX_unrecognized []byte             `json:"-"`
}

* Structure representing transaction @used_in SimpleSignTx,

func TransactionTyper2Type

func TransactionTyper2Type(x types.TransactionTyper) TransactionType

func (*TransactionType) Descriptor

func (*TransactionType) Descriptor() ([]byte, []int)

func (*TransactionType) GetBinOutputs

func (m *TransactionType) GetBinOutputs() []types.TxOutputBinTyper

func (*TransactionType) GetExtraData

func (m *TransactionType) GetExtraData() []byte

func (*TransactionType) GetExtraDataLen

func (m *TransactionType) GetExtraDataLen() uint32

func (*TransactionType) GetInputs

func (m *TransactionType) GetInputs() []types.TxInputTyper

func (*TransactionType) GetInputsCnt

func (m *TransactionType) GetInputsCnt() uint32

func (*TransactionType) GetLockTime

func (m *TransactionType) GetLockTime() uint32

func (*TransactionType) GetOutputs

func (m *TransactionType) GetOutputs() []types.TxOutputTyper

func (*TransactionType) GetOutputsCnt

func (m *TransactionType) GetOutputsCnt() uint32

func (*TransactionType) GetVersion

func (m *TransactionType) GetVersion() uint32

func (*TransactionType) ProtoMessage

func (*TransactionType) ProtoMessage()

func (*TransactionType) Reset

func (m *TransactionType) Reset()

func (*TransactionType) SetBinOutputs

func (z *TransactionType) SetBinOutputs(x []types.TxOutputBinTyper)

func (*TransactionType) SetExtraData

func (z *TransactionType) SetExtraData(x []byte)

func (*TransactionType) SetExtraDataLen

func (z *TransactionType) SetExtraDataLen(x *uint32)

func (*TransactionType) SetInputs

func (z *TransactionType) SetInputs(x []types.TxInputTyper)

func (*TransactionType) SetInputsCnt

func (z *TransactionType) SetInputsCnt(x *uint32)

func (*TransactionType) SetLockTime

func (z *TransactionType) SetLockTime(x *uint32)

func (*TransactionType) SetOutputs

func (z *TransactionType) SetOutputs(x []types.TxOutputTyper)

func (*TransactionType) SetOutputsCnt

func (z *TransactionType) SetOutputsCnt(x *uint32)

func (*TransactionType) SetVersion

func (z *TransactionType) SetVersion(x *uint32)

func (*TransactionType) String

func (m *TransactionType) String() string

type TxInputType

type TxInputType struct {
	AddressN         []uint32                  `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	PrevHash         []byte                    `protobuf:"bytes,2,req,name=prev_hash,json=prevHash" json:"prev_hash,omitempty"`
	PrevIndex        *uint32                   `protobuf:"varint,3,req,name=prev_index,json=prevIndex" json:"prev_index,omitempty"`
	ScriptSig        []byte                    `protobuf:"bytes,4,opt,name=script_sig,json=scriptSig" json:"script_sig,omitempty"`
	Sequence         *uint32                   `protobuf:"varint,5,opt,name=sequence,def=4294967295" json:"sequence,omitempty"`
	ScriptType       *InputScriptType          `protobuf:"varint,6,opt,name=script_type,json=scriptType,enum=InputScriptType,def=0" json:"script_type,omitempty"`
	Multisig         *MultisigRedeemScriptType `protobuf:"bytes,7,opt,name=multisig" json:"multisig,omitempty"`
	Amount           *uint64                   `protobuf:"varint,8,opt,name=amount" json:"amount,omitempty"`
	XXX_unrecognized []byte                    `json:"-"`
}

* Structure representing transaction input @used_in SimpleSignTx @used_in TransactionType

func TxInputTyper2Type

func TxInputTyper2Type(x types.TxInputTyper) TxInputType

func (*TxInputType) Descriptor

func (*TxInputType) Descriptor() ([]byte, []int)

func (*TxInputType) GetAddressN

func (m *TxInputType) GetAddressN() []uint32

func (*TxInputType) GetAmount

func (m *TxInputType) GetAmount() uint64

func (*TxInputType) GetMultisig

func (m *TxInputType) GetMultisig() types.MultisigRedeemScriptTyper

func (*TxInputType) GetPrevHash

func (m *TxInputType) GetPrevHash() []byte

func (*TxInputType) GetPrevIndex

func (m *TxInputType) GetPrevIndex() uint32

func (*TxInputType) GetScriptSig

func (m *TxInputType) GetScriptSig() []byte

func (*TxInputType) GetScriptType

func (m *TxInputType) GetScriptType() types.InputScriptTyper

func (*TxInputType) GetSequence

func (m *TxInputType) GetSequence() uint32

func (*TxInputType) ProtoMessage

func (*TxInputType) ProtoMessage()

func (*TxInputType) Reset

func (m *TxInputType) Reset()

func (*TxInputType) SetAddressN

func (z *TxInputType) SetAddressN(x []uint32)

func (*TxInputType) SetAmount

func (z *TxInputType) SetAmount(x *uint64)

func (*TxInputType) SetMultisig

func (z *TxInputType) SetMultisig(x types.MultisigRedeemScriptTyper)

func (*TxInputType) SetPrevHash

func (z *TxInputType) SetPrevHash(x []byte)

func (*TxInputType) SetPrevIndex

func (z *TxInputType) SetPrevIndex(x *uint32)

func (*TxInputType) SetScriptSig

func (z *TxInputType) SetScriptSig(x []byte)

func (*TxInputType) SetScriptType

func (z *TxInputType) SetScriptType(x types.InputScriptTyper)

func (*TxInputType) SetSequence

func (z *TxInputType) SetSequence(x *uint32)

func (*TxInputType) String

func (m *TxInputType) String() string

type TxOutputBinType

type TxOutputBinType struct {
	Amount           *uint64 `protobuf:"varint,1,req,name=amount" json:"amount,omitempty"`
	ScriptPubkey     []byte  `protobuf:"bytes,2,req,name=script_pubkey,json=scriptPubkey" json:"script_pubkey,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

* Structure representing compiled transaction output @used_in TransactionType

func TxOutputBinTyper2Type

func TxOutputBinTyper2Type(x types.TxOutputBinTyper) TxOutputBinType

func (*TxOutputBinType) Descriptor

func (*TxOutputBinType) Descriptor() ([]byte, []int)

func (*TxOutputBinType) GetAmount

func (m *TxOutputBinType) GetAmount() uint64

func (*TxOutputBinType) GetScriptPubkey

func (m *TxOutputBinType) GetScriptPubkey() []byte

func (*TxOutputBinType) ProtoMessage

func (*TxOutputBinType) ProtoMessage()

func (*TxOutputBinType) Reset

func (m *TxOutputBinType) Reset()

func (*TxOutputBinType) SetAmount

func (z *TxOutputBinType) SetAmount(x *uint64)

func (*TxOutputBinType) SetScriptPubkey

func (z *TxOutputBinType) SetScriptPubkey(x []byte)

func (*TxOutputBinType) String

func (m *TxOutputBinType) String() string

type TxOutputType

type TxOutputType struct {
	Address          *string                   `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	AddressN         []uint32                  `protobuf:"varint,2,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	Amount           *uint64                   `protobuf:"varint,3,req,name=amount" json:"amount,omitempty"`
	ScriptType       *OutputScriptType         `protobuf:"varint,4,req,name=script_type,json=scriptType,enum=OutputScriptType" json:"script_type,omitempty"`
	Multisig         *MultisigRedeemScriptType `protobuf:"bytes,5,opt,name=multisig" json:"multisig,omitempty"`
	OpReturnData     []byte                    `protobuf:"bytes,6,opt,name=op_return_data,json=opReturnData" json:"op_return_data,omitempty"`
	AddressType      *OutputAddressType        `protobuf:"varint,7,opt,name=address_type,json=addressType,enum=OutputAddressType" json:"address_type,omitempty"`
	ExchangeType     *ExchangeType             `protobuf:"bytes,8,opt,name=exchange_type,json=exchangeType" json:"exchange_type,omitempty"`
	XXX_unrecognized []byte                    `json:"-"`
}

* Structure representing transaction output @used_in SimpleSignTx @used_in TransactionType

func TxOutputTyper2Type

func TxOutputTyper2Type(x types.TxOutputTyper) TxOutputType

func (*TxOutputType) Descriptor

func (*TxOutputType) Descriptor() ([]byte, []int)

func (*TxOutputType) GetAddress

func (m *TxOutputType) GetAddress() string

func (*TxOutputType) GetAddressN

func (m *TxOutputType) GetAddressN() []uint32

func (*TxOutputType) GetAddressType

func (m *TxOutputType) GetAddressType() types.OutputAddressTyper

func (*TxOutputType) GetAmount

func (m *TxOutputType) GetAmount() uint64

func (*TxOutputType) GetExchangeType

func (m *TxOutputType) GetExchangeType() types.ExchangeTyper

func (*TxOutputType) GetMultisig

func (m *TxOutputType) GetMultisig() types.MultisigRedeemScriptTyper

func (*TxOutputType) GetOpReturnData

func (m *TxOutputType) GetOpReturnData() []byte

func (*TxOutputType) GetScriptType

func (m *TxOutputType) GetScriptType() types.OutputScriptTyper

func (*TxOutputType) ProtoMessage

func (*TxOutputType) ProtoMessage()

func (*TxOutputType) Reset

func (m *TxOutputType) Reset()

func (*TxOutputType) SetAddress

func (z *TxOutputType) SetAddress(x *string)

func (*TxOutputType) SetAddressN

func (z *TxOutputType) SetAddressN(x []uint32)

func (*TxOutputType) SetAddressType

func (z *TxOutputType) SetAddressType(x types.OutputAddressTyper)

func (*TxOutputType) SetAmount

func (z *TxOutputType) SetAmount(x *uint64)

func (*TxOutputType) SetExchangeType

func (z *TxOutputType) SetExchangeType(x types.ExchangeTyper)

func (*TxOutputType) SetMultisig

func (z *TxOutputType) SetMultisig(x types.MultisigRedeemScriptTyper)

func (*TxOutputType) SetOpReturnData

func (z *TxOutputType) SetOpReturnData(x []byte)

func (*TxOutputType) SetScriptType

func (z *TxOutputType) SetScriptType(x types.OutputScriptTyper)

func (*TxOutputType) String

func (m *TxOutputType) String() string

type TxRequestDetailsType

type TxRequestDetailsType struct {
	RequestIndex     *uint32 `protobuf:"varint,1,opt,name=request_index,json=requestIndex" json:"request_index,omitempty"`
	TxHash           []byte  `protobuf:"bytes,2,opt,name=tx_hash,json=txHash" json:"tx_hash,omitempty"`
	ExtraDataLen     *uint32 `protobuf:"varint,3,opt,name=extra_data_len,json=extraDataLen" json:"extra_data_len,omitempty"`
	ExtraDataOffset  *uint32 `protobuf:"varint,4,opt,name=extra_data_offset,json=extraDataOffset" json:"extra_data_offset,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

* Structure representing request details @used_in TxRequest

func (*TxRequestDetailsType) Descriptor

func (*TxRequestDetailsType) Descriptor() ([]byte, []int)

func (*TxRequestDetailsType) GetExtraDataLen

func (m *TxRequestDetailsType) GetExtraDataLen() uint32

func (*TxRequestDetailsType) GetExtraDataOffset

func (m *TxRequestDetailsType) GetExtraDataOffset() uint32

func (*TxRequestDetailsType) GetRequestIndex

func (m *TxRequestDetailsType) GetRequestIndex() uint32

func (*TxRequestDetailsType) GetTxHash

func (m *TxRequestDetailsType) GetTxHash() []byte

func (*TxRequestDetailsType) ProtoMessage

func (*TxRequestDetailsType) ProtoMessage()

func (*TxRequestDetailsType) Reset

func (m *TxRequestDetailsType) Reset()

func (*TxRequestDetailsType) SetExtraDataLen

func (z *TxRequestDetailsType) SetExtraDataLen(x *uint32)

func (*TxRequestDetailsType) SetExtraDataOffset

func (z *TxRequestDetailsType) SetExtraDataOffset(x *uint32)

func (*TxRequestDetailsType) SetRequestIndex

func (z *TxRequestDetailsType) SetRequestIndex(x *uint32)

func (*TxRequestDetailsType) SetTxHash

func (z *TxRequestDetailsType) SetTxHash(x []byte)

func (*TxRequestDetailsType) String

func (m *TxRequestDetailsType) String() string

type TxRequestSerializedType

type TxRequestSerializedType struct {
	SignatureIndex   *uint32 `protobuf:"varint,1,opt,name=signature_index,json=signatureIndex" json:"signature_index,omitempty"`
	Signature        []byte  `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
	SerializedTx     []byte  `protobuf:"bytes,3,opt,name=serialized_tx,json=serializedTx" json:"serialized_tx,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

* Structure representing serialized data @used_in TxRequest

func (*TxRequestSerializedType) Descriptor

func (*TxRequestSerializedType) Descriptor() ([]byte, []int)

func (*TxRequestSerializedType) GetSerializedTx

func (m *TxRequestSerializedType) GetSerializedTx() []byte

func (*TxRequestSerializedType) GetSignature

func (m *TxRequestSerializedType) GetSignature() []byte

func (*TxRequestSerializedType) GetSignatureIndex

func (m *TxRequestSerializedType) GetSignatureIndex() uint32

func (*TxRequestSerializedType) ProtoMessage

func (*TxRequestSerializedType) ProtoMessage()

func (*TxRequestSerializedType) Reset

func (m *TxRequestSerializedType) Reset()

func (*TxRequestSerializedType) SetSerializedTx

func (z *TxRequestSerializedType) SetSerializedTx(x []byte)

func (*TxRequestSerializedType) SetSignature

func (z *TxRequestSerializedType) SetSignature(x []byte)

func (*TxRequestSerializedType) SetSignatureIndex

func (z *TxRequestSerializedType) SetSignatureIndex(x *uint32)

func (*TxRequestSerializedType) String

func (m *TxRequestSerializedType) String() string

type WordRequestType

type WordRequestType int32

func (*WordRequestType) String

func (*WordRequestType) String() string

func (*WordRequestType) UnmarshalJSON

func (*WordRequestType) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL