protos

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TxAddrMarshaller = func(m *TxAddr) ([]byte, error) {
	return json.Marshal(m.Hash)
}

Functions

This section is empty.

Types

type ECPoint

type ECPoint struct {
	X                    []byte   `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"`
	Y                    []byte   `protobuf:"bytes,2,opt,name=y,proto3" json:"y,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ECPoint) Descriptor

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

func (*ECPoint) GetX

func (m *ECPoint) GetX() []byte

func (*ECPoint) GetY

func (m *ECPoint) GetY() []byte

func (*ECPoint) ProtoMessage

func (*ECPoint) ProtoMessage()

func (*ECPoint) Reset

func (m *ECPoint) Reset()

func (*ECPoint) String

func (m *ECPoint) String() string

func (*ECPoint) XXX_DiscardUnknown

func (m *ECPoint) XXX_DiscardUnknown()

func (*ECPoint) XXX_Marshal

func (m *ECPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ECPoint) XXX_Merge

func (m *ECPoint) XXX_Merge(src proto.Message)

func (*ECPoint) XXX_Size

func (m *ECPoint) XXX_Size() int

func (*ECPoint) XXX_Unmarshal

func (m *ECPoint) XXX_Unmarshal(b []byte) error

type KeyDerived

type KeyDerived struct {
	RootFingerprint      []byte   `protobuf:"bytes,1,opt,name=rootFingerprint,proto3" json:"rootFingerprint,omitempty"`
	Index                []byte   `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
	Chaincode            []byte   `protobuf:"bytes,3,opt,name=chaincode,proto3" json:"chaincode,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyDerived) Descriptor

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

func (*KeyDerived) GetChaincode

func (m *KeyDerived) GetChaincode() []byte

func (*KeyDerived) GetIndex

func (m *KeyDerived) GetIndex() []byte

func (*KeyDerived) GetRootFingerprint

func (m *KeyDerived) GetRootFingerprint() []byte

func (*KeyDerived) ProtoMessage

func (*KeyDerived) ProtoMessage()

func (*KeyDerived) Reset

func (m *KeyDerived) Reset()

func (*KeyDerived) String

func (m *KeyDerived) String() string

func (*KeyDerived) XXX_DiscardUnknown

func (m *KeyDerived) XXX_DiscardUnknown()

func (*KeyDerived) XXX_Marshal

func (m *KeyDerived) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyDerived) XXX_Merge

func (m *KeyDerived) XXX_Merge(src proto.Message)

func (*KeyDerived) XXX_Size

func (m *KeyDerived) XXX_Size() int

func (*KeyDerived) XXX_Unmarshal

func (m *KeyDerived) XXX_Unmarshal(b []byte) error

type PrivateKey

type PrivateKey struct {
	Version int32       `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Kd      *KeyDerived `protobuf:"bytes,7,opt,name=kd,proto3" json:"kd,omitempty"`
	// Types that are valid to be assigned to Priv:
	//	*PrivateKey_Ec
	Priv                 isPrivateKey_Priv `protobuf_oneof:"priv"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*PrivateKey) Descriptor

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

func (*PrivateKey) GetEc

func (m *PrivateKey) GetEc() *PrivateKey_ECDSA

func (*PrivateKey) GetKd

func (m *PrivateKey) GetKd() *KeyDerived

func (*PrivateKey) GetPriv

func (m *PrivateKey) GetPriv() isPrivateKey_Priv

func (*PrivateKey) GetVersion

func (m *PrivateKey) GetVersion() int32

func (*PrivateKey) ProtoMessage

func (*PrivateKey) ProtoMessage()

func (*PrivateKey) Reset

func (m *PrivateKey) Reset()

func (*PrivateKey) String

func (m *PrivateKey) String() string

func (*PrivateKey) XXX_DiscardUnknown

func (m *PrivateKey) XXX_DiscardUnknown()

func (*PrivateKey) XXX_Marshal

func (m *PrivateKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivateKey) XXX_Merge

func (m *PrivateKey) XXX_Merge(src proto.Message)

func (*PrivateKey) XXX_OneofFuncs

func (*PrivateKey) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*PrivateKey) XXX_Size

func (m *PrivateKey) XXX_Size() int

func (*PrivateKey) XXX_Unmarshal

func (m *PrivateKey) XXX_Unmarshal(b []byte) error

type PrivateKey_ECDSA

type PrivateKey_ECDSA struct {
	Curvetype            int32    `protobuf:"varint,1,opt,name=curvetype,proto3" json:"curvetype,omitempty"`
	D                    []byte   `protobuf:"bytes,2,opt,name=d,proto3" json:"d,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PrivateKey_ECDSA) Descriptor

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

func (*PrivateKey_ECDSA) GetCurvetype

func (m *PrivateKey_ECDSA) GetCurvetype() int32

func (*PrivateKey_ECDSA) GetD

func (m *PrivateKey_ECDSA) GetD() []byte

func (*PrivateKey_ECDSA) ProtoMessage

func (*PrivateKey_ECDSA) ProtoMessage()

func (*PrivateKey_ECDSA) Reset

func (m *PrivateKey_ECDSA) Reset()

func (*PrivateKey_ECDSA) String

func (m *PrivateKey_ECDSA) String() string

func (*PrivateKey_ECDSA) XXX_DiscardUnknown

func (m *PrivateKey_ECDSA) XXX_DiscardUnknown()

func (*PrivateKey_ECDSA) XXX_Marshal

func (m *PrivateKey_ECDSA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivateKey_ECDSA) XXX_Merge

func (m *PrivateKey_ECDSA) XXX_Merge(src proto.Message)

func (*PrivateKey_ECDSA) XXX_Size

func (m *PrivateKey_ECDSA) XXX_Size() int

func (*PrivateKey_ECDSA) XXX_Unmarshal

func (m *PrivateKey_ECDSA) XXX_Unmarshal(b []byte) error

type PrivateKey_Ec

type PrivateKey_Ec struct {
	Ec *PrivateKey_ECDSA `protobuf:"bytes,8,opt,name=ec,proto3,oneof"`
}

type PublicKey

type PublicKey struct {
	Version int32       `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Kd      *KeyDerived `protobuf:"bytes,7,opt,name=kd,proto3" json:"kd,omitempty"`
	// Types that are valid to be assigned to Pub:
	//	*PublicKey_Ec
	Pub                  isPublicKey_Pub `protobuf_oneof:"pub"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*PublicKey) Descriptor

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

func (*PublicKey) GetEc

func (m *PublicKey) GetEc() *PublicKey_ECDSA

func (*PublicKey) GetKd

func (m *PublicKey) GetKd() *KeyDerived

func (*PublicKey) GetPub

func (m *PublicKey) GetPub() isPublicKey_Pub

func (*PublicKey) GetVersion

func (m *PublicKey) GetVersion() int32

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) Reset

func (m *PublicKey) Reset()

func (*PublicKey) String

func (m *PublicKey) String() string

func (*PublicKey) XXX_DiscardUnknown

func (m *PublicKey) XXX_DiscardUnknown()

func (*PublicKey) XXX_Marshal

func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublicKey) XXX_Merge

func (m *PublicKey) XXX_Merge(src proto.Message)

func (*PublicKey) XXX_OneofFuncs

func (*PublicKey) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*PublicKey) XXX_Size

func (m *PublicKey) XXX_Size() int

func (*PublicKey) XXX_Unmarshal

func (m *PublicKey) XXX_Unmarshal(b []byte) error

type PublicKey_ECDSA

type PublicKey_ECDSA struct {
	Curvetype            int32    `protobuf:"varint,1,opt,name=curvetype,proto3" json:"curvetype,omitempty"`
	P                    *ECPoint `protobuf:"bytes,2,opt,name=p,proto3" json:"p,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PublicKey_ECDSA) Descriptor

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

func (*PublicKey_ECDSA) GetCurvetype

func (m *PublicKey_ECDSA) GetCurvetype() int32

func (*PublicKey_ECDSA) GetP

func (m *PublicKey_ECDSA) GetP() *ECPoint

func (*PublicKey_ECDSA) ProtoMessage

func (*PublicKey_ECDSA) ProtoMessage()

func (*PublicKey_ECDSA) Reset

func (m *PublicKey_ECDSA) Reset()

func (*PublicKey_ECDSA) String

func (m *PublicKey_ECDSA) String() string

func (*PublicKey_ECDSA) XXX_DiscardUnknown

func (m *PublicKey_ECDSA) XXX_DiscardUnknown()

func (*PublicKey_ECDSA) XXX_Marshal

func (m *PublicKey_ECDSA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublicKey_ECDSA) XXX_Merge

func (m *PublicKey_ECDSA) XXX_Merge(src proto.Message)

func (*PublicKey_ECDSA) XXX_Size

func (m *PublicKey_ECDSA) XXX_Size() int

func (*PublicKey_ECDSA) XXX_Unmarshal

func (m *PublicKey_ECDSA) XXX_Unmarshal(b []byte) error

type PublicKey_Ec

type PublicKey_Ec struct {
	Ec *PublicKey_ECDSA `protobuf:"bytes,8,opt,name=ec,proto3,oneof"`
}

type Signature

type Signature struct {
	// Types that are valid to be assigned to Data:
	//	*Signature_Ec
	Data                 isSignature_Data `protobuf_oneof:"data"`
	Kd                   *KeyDerived      `protobuf:"bytes,10,opt,name=kd,proto3" json:"kd,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*Signature) Descriptor

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

func (*Signature) GetData

func (m *Signature) GetData() isSignature_Data

func (*Signature) GetEc

func (m *Signature) GetEc() *Signature_ECDSA

func (*Signature) GetKd

func (m *Signature) GetKd() *KeyDerived

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) Reset

func (m *Signature) Reset()

func (*Signature) String

func (m *Signature) String() string

func (*Signature) XXX_DiscardUnknown

func (m *Signature) XXX_DiscardUnknown()

func (*Signature) XXX_Marshal

func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Signature) XXX_Merge

func (m *Signature) XXX_Merge(src proto.Message)

func (*Signature) XXX_OneofFuncs

func (*Signature) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Signature) XXX_Size

func (m *Signature) XXX_Size() int

func (*Signature) XXX_Unmarshal

func (m *Signature) XXX_Unmarshal(b []byte) error

type Signature_ECDSA

type Signature_ECDSA struct {
	Curvetype int32  `protobuf:"varint,4,opt,name=curvetype,proto3" json:"curvetype,omitempty"`
	R         []byte `protobuf:"bytes,1,opt,name=r,proto3" json:"r,omitempty"`
	S         []byte `protobuf:"bytes,2,opt,name=s,proto3" json:"s,omitempty"`
	// Types that are valid to be assigned to Pub:
	//	*Signature_ECDSA_V
	//	*Signature_ECDSA_P
	Pub                  isSignature_ECDSA_Pub `protobuf_oneof:"pub"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Signature_ECDSA) Descriptor

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

func (*Signature_ECDSA) GetCurvetype

func (m *Signature_ECDSA) GetCurvetype() int32

func (*Signature_ECDSA) GetP

func (m *Signature_ECDSA) GetP() *ECPoint

func (*Signature_ECDSA) GetPub

func (m *Signature_ECDSA) GetPub() isSignature_ECDSA_Pub

func (*Signature_ECDSA) GetR

func (m *Signature_ECDSA) GetR() []byte

func (*Signature_ECDSA) GetS

func (m *Signature_ECDSA) GetS() []byte

func (*Signature_ECDSA) GetV

func (m *Signature_ECDSA) GetV() int32

func (*Signature_ECDSA) ProtoMessage

func (*Signature_ECDSA) ProtoMessage()

func (*Signature_ECDSA) Reset

func (m *Signature_ECDSA) Reset()

func (*Signature_ECDSA) String

func (m *Signature_ECDSA) String() string

func (*Signature_ECDSA) XXX_DiscardUnknown

func (m *Signature_ECDSA) XXX_DiscardUnknown()

func (*Signature_ECDSA) XXX_Marshal

func (m *Signature_ECDSA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Signature_ECDSA) XXX_Merge

func (m *Signature_ECDSA) XXX_Merge(src proto.Message)

func (*Signature_ECDSA) XXX_OneofFuncs

func (*Signature_ECDSA) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Signature_ECDSA) XXX_Size

func (m *Signature_ECDSA) XXX_Size() int

func (*Signature_ECDSA) XXX_Unmarshal

func (m *Signature_ECDSA) XXX_Unmarshal(b []byte) error

type Signature_ECDSA_P

type Signature_ECDSA_P struct {
	P *ECPoint `protobuf:"bytes,5,opt,name=p,proto3,oneof"`
}

type Signature_ECDSA_V

type Signature_ECDSA_V struct {
	V int32 `protobuf:"varint,3,opt,name=v,proto3,oneof"`
}

type Signature_Ec

type Signature_Ec struct {
	Ec *Signature_ECDSA `protobuf:"bytes,4,opt,name=ec,proto3,oneof"`
}

type TxAddr

type TxAddr struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TxAddr) Descriptor

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

func (*TxAddr) GetHash

func (m *TxAddr) GetHash() []byte

func (*TxAddr) MarshalJSON

func (m *TxAddr) MarshalJSON() ([]byte, error)

func (*TxAddr) ProtoMessage

func (*TxAddr) ProtoMessage()

func (*TxAddr) Reset

func (m *TxAddr) Reset()

func (*TxAddr) String

func (m *TxAddr) String() string

func (*TxAddr) XXX_DiscardUnknown

func (m *TxAddr) XXX_DiscardUnknown()

func (*TxAddr) XXX_Marshal

func (m *TxAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxAddr) XXX_Merge

func (m *TxAddr) XXX_Merge(src proto.Message)

func (*TxAddr) XXX_Size

func (m *TxAddr) XXX_Size() int

func (*TxAddr) XXX_Unmarshal

func (m *TxAddr) XXX_Unmarshal(b []byte) error

type TxBase

type TxBase struct {
	Network              string   `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Ccname               string   `protobuf:"bytes,2,opt,name=ccname,proto3" json:"ccname,omitempty"`
	Method               string   `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TxBase) Descriptor

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

func (*TxBase) GetCcname

func (m *TxBase) GetCcname() string

func (*TxBase) GetMethod

func (m *TxBase) GetMethod() string

func (*TxBase) GetNetwork

func (m *TxBase) GetNetwork() string

func (*TxBase) ProtoMessage

func (*TxBase) ProtoMessage()

func (*TxBase) Reset

func (m *TxBase) Reset()

func (*TxBase) String

func (m *TxBase) String() string

func (*TxBase) XXX_DiscardUnknown

func (m *TxBase) XXX_DiscardUnknown()

func (*TxBase) XXX_Marshal

func (m *TxBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxBase) XXX_Merge

func (m *TxBase) XXX_Merge(src proto.Message)

func (*TxBase) XXX_Size

func (m *TxBase) XXX_Size() int

func (*TxBase) XXX_Unmarshal

func (m *TxBase) XXX_Unmarshal(b []byte) error

type TxBatch

type TxBatch struct {
	Txs                  []*TxBatchSubTx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*TxBatch) Descriptor

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

func (*TxBatch) GetTxs

func (m *TxBatch) GetTxs() []*TxBatchSubTx

func (*TxBatch) ProtoMessage

func (*TxBatch) ProtoMessage()

func (*TxBatch) Reset

func (m *TxBatch) Reset()

func (*TxBatch) String

func (m *TxBatch) String() string

func (*TxBatch) XXX_DiscardUnknown

func (m *TxBatch) XXX_DiscardUnknown()

func (*TxBatch) XXX_Marshal

func (m *TxBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxBatch) XXX_Merge

func (m *TxBatch) XXX_Merge(src proto.Message)

func (*TxBatch) XXX_Size

func (m *TxBatch) XXX_Size() int

func (*TxBatch) XXX_Unmarshal

func (m *TxBatch) XXX_Unmarshal(b []byte) error

type TxBatchResp

type TxBatchResp struct {
	Response             [][]byte `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TxBatchResp) Descriptor

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

func (*TxBatchResp) GetResponse

func (m *TxBatchResp) GetResponse() [][]byte

func (*TxBatchResp) ProtoMessage

func (*TxBatchResp) ProtoMessage()

func (*TxBatchResp) Reset

func (m *TxBatchResp) Reset()

func (*TxBatchResp) String

func (m *TxBatchResp) String() string

func (*TxBatchResp) XXX_DiscardUnknown

func (m *TxBatchResp) XXX_DiscardUnknown()

func (*TxBatchResp) XXX_Marshal

func (m *TxBatchResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxBatchResp) XXX_Merge

func (m *TxBatchResp) XXX_Merge(src proto.Message)

func (*TxBatchResp) XXX_Size

func (m *TxBatchResp) XXX_Size() int

func (*TxBatchResp) XXX_Unmarshal

func (m *TxBatchResp) XXX_Unmarshal(b []byte) error

type TxBatchSubTx

type TxBatchSubTx struct {
	Method               string   `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Payload              []byte   `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TxBatchSubTx) Descriptor

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

func (*TxBatchSubTx) GetMethod

func (m *TxBatchSubTx) GetMethod() string

func (*TxBatchSubTx) GetPayload

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

func (*TxBatchSubTx) ProtoMessage

func (*TxBatchSubTx) ProtoMessage()

func (*TxBatchSubTx) Reset

func (m *TxBatchSubTx) Reset()

func (*TxBatchSubTx) String

func (m *TxBatchSubTx) String() string

func (*TxBatchSubTx) XXX_DiscardUnknown

func (m *TxBatchSubTx) XXX_DiscardUnknown()

func (*TxBatchSubTx) XXX_Marshal

func (m *TxBatchSubTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxBatchSubTx) XXX_Merge

func (m *TxBatchSubTx) XXX_Merge(src proto.Message)

func (*TxBatchSubTx) XXX_Size

func (m *TxBatchSubTx) XXX_Size() int

func (*TxBatchSubTx) XXX_Unmarshal

func (m *TxBatchSubTx) XXX_Unmarshal(b []byte) error

type TxCredential

type TxCredential struct {
	Addrc                []*TxCredential_AddrCredentials `protobuf:"bytes,1,rep,name=addrc,proto3" json:"addrc,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func (*TxCredential) Descriptor

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

func (*TxCredential) GetAddrc

func (m *TxCredential) GetAddrc() []*TxCredential_AddrCredentials

func (*TxCredential) ProtoMessage

func (*TxCredential) ProtoMessage()

func (*TxCredential) Reset

func (m *TxCredential) Reset()

func (*TxCredential) String

func (m *TxCredential) String() string

func (*TxCredential) XXX_DiscardUnknown

func (m *TxCredential) XXX_DiscardUnknown()

func (*TxCredential) XXX_Marshal

func (m *TxCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxCredential) XXX_Merge

func (m *TxCredential) XXX_Merge(src proto.Message)

func (*TxCredential) XXX_Size

func (m *TxCredential) XXX_Size() int

func (*TxCredential) XXX_Unmarshal

func (m *TxCredential) XXX_Unmarshal(b []byte) error

type TxCredential_AddrCredentials

type TxCredential_AddrCredentials struct {
	// Types that are valid to be assigned to Cred:
	//	*TxCredential_AddrCredentials_User
	//	*TxCredential_AddrCredentials_Data
	Cred                 isTxCredential_AddrCredentials_Cred `protobuf_oneof:"cred"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

func (*TxCredential_AddrCredentials) Descriptor

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

func (*TxCredential_AddrCredentials) GetCred

func (m *TxCredential_AddrCredentials) GetCred() isTxCredential_AddrCredentials_Cred

func (*TxCredential_AddrCredentials) GetData

func (*TxCredential_AddrCredentials) GetUser

func (*TxCredential_AddrCredentials) ProtoMessage

func (*TxCredential_AddrCredentials) ProtoMessage()

func (*TxCredential_AddrCredentials) Reset

func (m *TxCredential_AddrCredentials) Reset()

func (*TxCredential_AddrCredentials) String

func (*TxCredential_AddrCredentials) XXX_DiscardUnknown

func (m *TxCredential_AddrCredentials) XXX_DiscardUnknown()

func (*TxCredential_AddrCredentials) XXX_Marshal

func (m *TxCredential_AddrCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxCredential_AddrCredentials) XXX_Merge

func (m *TxCredential_AddrCredentials) XXX_Merge(src proto.Message)

func (*TxCredential_AddrCredentials) XXX_OneofFuncs

func (*TxCredential_AddrCredentials) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*TxCredential_AddrCredentials) XXX_Size

func (m *TxCredential_AddrCredentials) XXX_Size() int

func (*TxCredential_AddrCredentials) XXX_Unmarshal

func (m *TxCredential_AddrCredentials) XXX_Unmarshal(b []byte) error

type TxCredential_AddrCredentials_Data

type TxCredential_AddrCredentials_Data struct {
	Data *TxCredential_DataCredential `protobuf:"bytes,3,opt,name=data,proto3,oneof"`
}

type TxCredential_AddrCredentials_User

type TxCredential_AddrCredentials_User struct {
	User *TxCredential_UserCredential `protobuf:"bytes,1,opt,name=user,proto3,oneof"`
}

type TxCredential_DataCredential

type TxCredential_DataCredential struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Types that are valid to be assigned to Data:
	//	*TxCredential_DataCredential_Bts
	//	*TxCredential_DataCredential_Int
	//	*TxCredential_DataCredential_Str
	Data                 isTxCredential_DataCredential_Data `protobuf_oneof:"data"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*TxCredential_DataCredential) Descriptor

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

func (*TxCredential_DataCredential) GetBts

func (m *TxCredential_DataCredential) GetBts() []byte

func (*TxCredential_DataCredential) GetData

func (m *TxCredential_DataCredential) GetData() isTxCredential_DataCredential_Data

func (*TxCredential_DataCredential) GetInt

func (m *TxCredential_DataCredential) GetInt() int32

func (*TxCredential_DataCredential) GetKey

func (m *TxCredential_DataCredential) GetKey() string

func (*TxCredential_DataCredential) GetStr

func (m *TxCredential_DataCredential) GetStr() string

func (*TxCredential_DataCredential) ProtoMessage

func (*TxCredential_DataCredential) ProtoMessage()

func (*TxCredential_DataCredential) Reset

func (m *TxCredential_DataCredential) Reset()

func (*TxCredential_DataCredential) String

func (m *TxCredential_DataCredential) String() string

func (*TxCredential_DataCredential) XXX_DiscardUnknown

func (m *TxCredential_DataCredential) XXX_DiscardUnknown()

func (*TxCredential_DataCredential) XXX_Marshal

func (m *TxCredential_DataCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxCredential_DataCredential) XXX_Merge

func (m *TxCredential_DataCredential) XXX_Merge(src proto.Message)

func (*TxCredential_DataCredential) XXX_OneofFuncs

func (*TxCredential_DataCredential) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*TxCredential_DataCredential) XXX_Size

func (m *TxCredential_DataCredential) XXX_Size() int

func (*TxCredential_DataCredential) XXX_Unmarshal

func (m *TxCredential_DataCredential) XXX_Unmarshal(b []byte) error

type TxCredential_DataCredential_Bts

type TxCredential_DataCredential_Bts struct {
	Bts []byte `protobuf:"bytes,2,opt,name=bts,proto3,oneof"`
}

type TxCredential_DataCredential_Int

type TxCredential_DataCredential_Int struct {
	Int int32 `protobuf:"varint,3,opt,name=int,proto3,oneof"`
}

type TxCredential_DataCredential_Str

type TxCredential_DataCredential_Str struct {
	Str string `protobuf:"bytes,4,opt,name=str,proto3,oneof"`
}

type TxCredential_UserCredential

type TxCredential_UserCredential struct {
	Signature            *Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*TxCredential_UserCredential) Descriptor

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

func (*TxCredential_UserCredential) GetSignature

func (m *TxCredential_UserCredential) GetSignature() *Signature

func (*TxCredential_UserCredential) ProtoMessage

func (*TxCredential_UserCredential) ProtoMessage()

func (*TxCredential_UserCredential) Reset

func (m *TxCredential_UserCredential) Reset()

func (*TxCredential_UserCredential) String

func (m *TxCredential_UserCredential) String() string

func (*TxCredential_UserCredential) XXX_DiscardUnknown

func (m *TxCredential_UserCredential) XXX_DiscardUnknown()

func (*TxCredential_UserCredential) XXX_Marshal

func (m *TxCredential_UserCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxCredential_UserCredential) XXX_Merge

func (m *TxCredential_UserCredential) XXX_Merge(src proto.Message)

func (*TxCredential_UserCredential) XXX_Size

func (m *TxCredential_UserCredential) XXX_Size() int

func (*TxCredential_UserCredential) XXX_Unmarshal

func (m *TxCredential_UserCredential) XXX_Unmarshal(b []byte) error

type TxHeader

type TxHeader struct {
	Base                 *TxBase              `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	ExpiredTs            *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expiredTs,proto3" json:"expiredTs,omitempty"`
	Nonce                []byte               `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Flags                uint32               `protobuf:"fixed32,4,opt,name=flags,proto3" json:"flags,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*TxHeader) Descriptor

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

func (*TxHeader) GetBase

func (m *TxHeader) GetBase() *TxBase

func (*TxHeader) GetExpiredTs

func (m *TxHeader) GetExpiredTs() *timestamp.Timestamp

func (*TxHeader) GetFlags

func (m *TxHeader) GetFlags() uint32

func (*TxHeader) GetNonce

func (m *TxHeader) GetNonce() []byte

func (*TxHeader) ProtoMessage

func (*TxHeader) ProtoMessage()

func (*TxHeader) Reset

func (m *TxHeader) Reset()

func (*TxHeader) String

func (m *TxHeader) String() string

func (*TxHeader) XXX_DiscardUnknown

func (m *TxHeader) XXX_DiscardUnknown()

func (*TxHeader) XXX_Marshal

func (m *TxHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxHeader) XXX_Merge

func (m *TxHeader) XXX_Merge(src proto.Message)

func (*TxHeader) XXX_Size

func (m *TxHeader) XXX_Size() int

func (*TxHeader) XXX_Unmarshal

func (m *TxHeader) XXX_Unmarshal(b []byte) error

type TxMsgExample

type TxMsgExample struct {
	Param1               []byte   `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"`
	Param2               int32    `protobuf:"varint,2,opt,name=param2,proto3" json:"param2,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TxMsgExample) Descriptor

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

func (*TxMsgExample) GetParam1

func (m *TxMsgExample) GetParam1() []byte

func (*TxMsgExample) GetParam2

func (m *TxMsgExample) GetParam2() int32

func (*TxMsgExample) ProtoMessage

func (*TxMsgExample) ProtoMessage()

func (*TxMsgExample) Reset

func (m *TxMsgExample) Reset()

func (*TxMsgExample) String

func (m *TxMsgExample) String() string

func (*TxMsgExample) XXX_DiscardUnknown

func (m *TxMsgExample) XXX_DiscardUnknown()

func (*TxMsgExample) XXX_Marshal

func (m *TxMsgExample) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxMsgExample) XXX_Merge

func (m *TxMsgExample) XXX_Merge(src proto.Message)

func (*TxMsgExample) XXX_Size

func (m *TxMsgExample) XXX_Size() int

func (*TxMsgExample) XXX_Unmarshal

func (m *TxMsgExample) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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