pb

package
v0.0.0-...-f069fcf Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: GPL-3.0 Imports: 31 Imported by: 1

Documentation

Overview

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const BxhTxType = 2
View Source
const (
	V1 = "1.0"
)

Variables

View Source
var (
	ErrInvalidLengthArg        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowArg          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupArg = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthBasic        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBasic          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupBasic = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthBlock        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBlock          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupBlock = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthBroker        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBroker          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupBroker = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthBxhTransaction        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBxhTransaction          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupBxhTransaction = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthChain        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChain          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupChain = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCommit = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCommit   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthIbtp        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIbtp          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIbtp = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthIbtpx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIbtpx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIbtpx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthInterchainMeta        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowInterchainMeta          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupInterchainMeta = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPlugin        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPlugin          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPlugin = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthReceipt        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowReceipt          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupReceipt = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthVpInfo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVpInfo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupVpInfo = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Arg_Type_name = map[int32]string{
	0: "I32",
	1: "I64",
	2: "U32",
	3: "U64",
	4: "F32",
	5: "F64",
	6: "String",
	7: "Bytes",
	8: "Bool",
}
View Source
var Arg_Type_value = map[string]int32{
	"I32":    0,
	"I64":    1,
	"U32":    2,
	"U64":    3,
	"F32":    4,
	"F64":    5,
	"String": 6,
	"Bytes":  7,
	"Bool":   8,
}
View Source
var AssetExchangeStatus_name = map[int32]string{
	0: "INIT",
	1: "REDEEM",
	2: "REFUND",
}
View Source
var AssetExchangeStatus_value = map[string]int32{
	"INIT":   0,
	"REDEEM": 1,
	"REFUND": 2,
}
View Source
var CheckSidecarResponse_Status_name = map[int32]string{
	0: "ERROR_MASTER",
	1: "HAS_MASTER",
	2: "NO_MASTER",
}
View Source
var CheckSidecarResponse_Status_value = map[string]int32{
	"ERROR_MASTER": 0,
	"HAS_MASTER":   1,
	"NO_MASTER":    2,
}
View Source
var GetBlockRequest_Type_name = map[int32]string{
	0: "HEIGHT",
	1: "HASH",
}
View Source
var GetBlockRequest_Type_value = map[string]int32{
	"HEIGHT": 0,
	"HASH":   1,
}
View Source
var GetMultiSignsRequest_Type_name = map[int32]string{
	0: "ASSET_EXCHANGE",
	1: "IBTP",
	2: "BLOCK_HEADER",
}
View Source
var GetMultiSignsRequest_Type_value = map[string]int32{
	"ASSET_EXCHANGE": 0,
	"IBTP":           1,
	"BLOCK_HEADER":   2,
}
View Source
var HeartBeatRespones_Status_name = map[int32]string{
	0: "ALIVE",
	1: "DEAD",
}
View Source
var HeartBeatRespones_Status_value = map[string]int32{
	"ALIVE": 0,
	"DEAD":  1,
}
View Source
var IBTP_Category_name = map[int32]string{
	0: "REQUEST",
	1: "RESPONSE",
	2: "UNKNOWN",
}
View Source
var IBTP_Category_value = map[string]int32{
	"REQUEST":  0,
	"RESPONSE": 1,
	"UNKNOWN":  2,
}
View Source
var IBTP_Type_name = map[int32]string{
	0: "INTERCHAIN",
	1: "RECEIPT_SUCCESS",
	2: "RECEIPT_FAILURE",
	3: "ROLLBACK",
	4: "RECEIPT_ROLLBACK",
}
View Source
var IBTP_Type_value = map[string]int32{
	"INTERCHAIN":       0,
	"RECEIPT_SUCCESS":  1,
	"RECEIPT_FAILURE":  2,
	"ROLLBACK":         3,
	"RECEIPT_ROLLBACK": 4,
}
View Source
var Message_Type_name = map[int32]string{
	0:  "ACK",
	1:  "ADDRESS_GET",
	2:  "APPCHAIN_REGISTER",
	3:  "APPCHAIN_UPDATE",
	4:  "APPCHAIN_GET",
	5:  "INTERCHAIN_META_GET",
	6:  "RULE_DEPLOY",
	7:  "IBTP_GET",
	8:  "IBTP_SEND",
	9:  "IBTP_RECEIPT_SEND",
	10: "IBTP_RECEIPT_GET",
	11: "PEER_INFO_GET",
}
View Source
var Message_Type_value = map[string]int32{
	"ACK":                 0,
	"ADDRESS_GET":         1,
	"APPCHAIN_REGISTER":   2,
	"APPCHAIN_UPDATE":     3,
	"APPCHAIN_GET":        4,
	"INTERCHAIN_META_GET": 5,
	"RULE_DEPLOY":         6,
	"IBTP_GET":            7,
	"IBTP_SEND":           8,
	"IBTP_RECEIPT_SEND":   9,
	"IBTP_RECEIPT_GET":    10,
	"PEER_INFO_GET":       11,
}
View Source
var Receipt_Status_name = map[int32]string{
	0: "SUCCESS",
	1: "FAILED",
}
View Source
var Receipt_Status_value = map[string]int32{
	"SUCCESS": 0,
	"FAILED":  1,
}
View Source
var Request_Type_name = map[int32]string{
	0: "CHAIN_STATUS",
	1: "NETWORK",
	2: "VALIDATORS",
}
View Source
var Request_Type_value = map[string]int32{
	"CHAIN_STATUS": 0,
	"NETWORK":      1,
	"VALIDATORS":   2,
}
View Source
var SubscriptionRequest_Type_name = map[int32]string{
	0: "BLOCK",
	1: "EVENT",
	2: "INTERCHAIN_TX",
	3: "BLOCK_HEADER",
	4: "INTERCHAIN_TX_WRAPPER",
	5: "UNION_INTERCHAIN_TX_WRAPPER",
}
View Source
var SubscriptionRequest_Type_value = map[string]int32{
	"BLOCK":                       0,
	"EVENT":                       1,
	"INTERCHAIN_TX":               2,
	"BLOCK_HEADER":                3,
	"INTERCHAIN_TX_WRAPPER":       4,
	"UNION_INTERCHAIN_TX_WRAPPER": 5,
}
View Source
var TransactionData_Type_name = map[int32]string{
	0: "NORMAL",
	1: "INVOKE",
	2: "UPDATE",
	3: "FREEZE",
	4: "UNFREEZE",
}
View Source
var TransactionData_Type_value = map[string]int32{
	"NORMAL":   0,
	"INVOKE":   1,
	"UPDATE":   2,
	"FREEZE":   3,
	"UNFREEZE": 4,
}
View Source
var TransactionData_VMType_name = map[int32]string{
	0: "BVM",
	1: "XVM",
}
View Source
var TransactionData_VMType_value = map[string]int32{
	"BVM": 0,
	"XVM": 1,
}
View Source
var TransactionStatus_name = map[int32]string{
	0: "BEGIN",
	1: "SUCCESS",
	2: "FAILURE",
}
View Source
var TransactionStatus_value = map[string]int32{
	"BEGIN":   0,
	"SUCCESS": 1,
	"FAILURE": 2,
}

Functions

func GenServicePair

func GenServicePair(from, to string) string

func IBTPKey

func IBTPKey(id string) []byte

func ParseFullServiceID

func ParseFullServiceID(id string) (string, string, string, error)

func ParseIBTPID

func ParseIBTPID(id string) (string, string, uint64, error)

func ParseServicePair

func ParseServicePair(servicePair string) (string, string, error)

func RegisterAppchainPluginServer

func RegisterAppchainPluginServer(s *grpc.Server, srv AppchainPluginServer)

func RegisterChainBrokerHandler

func RegisterChainBrokerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterChainBrokerHandler registers the http handlers for service ChainBroker to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterChainBrokerHandlerClient

func RegisterChainBrokerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChainBrokerClient) error

RegisterChainBrokerHandlerClient registers the http handlers for service ChainBroker to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ChainBrokerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ChainBrokerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ChainBrokerClient" to call the correct interceptors.

func RegisterChainBrokerHandlerFromEndpoint

func RegisterChainBrokerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterChainBrokerHandlerFromEndpoint is same as RegisterChainBrokerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterChainBrokerHandlerServer

func RegisterChainBrokerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChainBrokerServer) error

RegisterChainBrokerHandlerServer registers the http handlers for service ChainBroker to "mux". UnaryRPC :call ChainBrokerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterChainBrokerServer

func RegisterChainBrokerServer(s *grpc.Server, srv ChainBrokerServer)

func RegisterTxConstructor

func RegisterTxConstructor(flag uint64, txConstructer TxConstructer)

func WrapperKey

func WrapperKey(height uint64) []byte

Types

type Address

type Address struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*Address) Descriptor

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

func (*Address) GetAddress

func (m *Address) GetAddress() string

func (*Address) Marshal

func (m *Address) Marshal() (dAtA []byte, err error)

func (*Address) MarshalTo

func (m *Address) MarshalTo(dAtA []byte) (int, error)

func (*Address) MarshalToSizedBuffer

func (m *Address) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) Reset

func (m *Address) Reset()

func (*Address) Size

func (m *Address) Size() (n int)

func (*Address) String

func (m *Address) String() string

func (*Address) Unmarshal

func (m *Address) Unmarshal(dAtA []byte) error

func (*Address) XXX_DiscardUnknown

func (m *Address) XXX_DiscardUnknown()

func (*Address) XXX_Marshal

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

func (*Address) XXX_Merge

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

func (*Address) XXX_Size

func (m *Address) XXX_Size() int

func (*Address) XXX_Unmarshal

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

type AppchainPluginClient

type AppchainPluginClient interface {
	Initialize(ctx context.Context, in *InitializeRequest, opts ...grpc.CallOption) (*Empty, error)
	Start(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
	Stop(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
	GetIBTP(ctx context.Context, in *Empty, opts ...grpc.CallOption) (AppchainPlugin_GetIBTPClient, error)
	SubmitIBTP(ctx context.Context, in *IBTP, opts ...grpc.CallOption) (*SubmitIBTPResponse, error)
	RollbackIBTP(ctx context.Context, in *RollbackIBTPRequest, opts ...grpc.CallOption) (*RollbackIBTPResponse, error)
	IncreaseInMeta(ctx context.Context, in *IBTP, opts ...grpc.CallOption) (*IBTP, error)
	GetOutMessage(ctx context.Context, in *GetOutMessageRequest, opts ...grpc.CallOption) (*IBTP, error)
	GetInMessage(ctx context.Context, in *GetInMessageRequest, opts ...grpc.CallOption) (*GetInMessageResponse, error)
	GetInMeta(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetMetaResponse, error)
	GetOutMeta(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetMetaResponse, error)
	GetCallbackMeta(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetMetaResponse, error)
	CommitCallback(ctx context.Context, in *IBTP, opts ...grpc.CallOption) (*Empty, error)
	GetReceipt(ctx context.Context, in *IBTP, opts ...grpc.CallOption) (*IBTP, error)
	Name(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*NameResponse, error)
	Type(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TypeResponse, error)
}

AppchainPluginClient is the client API for AppchainPlugin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAppchainPluginClient

func NewAppchainPluginClient(cc *grpc.ClientConn) AppchainPluginClient

type AppchainPluginServer

AppchainPluginServer is the server API for AppchainPlugin service.

type AppchainPlugin_GetIBTPClient

type AppchainPlugin_GetIBTPClient interface {
	Recv() (*IBTP, error)
	grpc.ClientStream
}

type AppchainPlugin_GetIBTPServer

type AppchainPlugin_GetIBTPServer interface {
	Send(*IBTP) error
	grpc.ServerStream
}

type Arg

type Arg struct {
	Type    Arg_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.Arg_Type" json:"type,omitempty"`
	IsArray bool     `protobuf:"varint,2,opt,name=is_array,json=isArray,proto3" json:"is_array,omitempty"`
	Value   []byte   `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
}

func Bytes

func Bytes(content []byte) *Arg

func Int32

func Int32(i int32) *Arg

func Int64

func Int64(i int64) *Arg

func String

func String(content string) *Arg

func Uint32

func Uint32(i uint32) *Arg

func Uint64

func Uint64(i uint64) *Arg

func (*Arg) Descriptor

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

func (*Arg) GetIsArray

func (m *Arg) GetIsArray() bool

func (*Arg) GetType

func (m *Arg) GetType() Arg_Type

func (*Arg) GetValue

func (m *Arg) GetValue() []byte

func (*Arg) Marshal

func (m *Arg) Marshal() (dAtA []byte, err error)

func (*Arg) MarshalTo

func (m *Arg) MarshalTo(dAtA []byte) (int, error)

func (*Arg) MarshalToSizedBuffer

func (m *Arg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Arg) ProtoMessage

func (*Arg) ProtoMessage()

func (*Arg) Reset

func (m *Arg) Reset()

func (*Arg) Size

func (m *Arg) Size() (n int)

func (*Arg) String

func (m *Arg) String() string

func (*Arg) Unmarshal

func (m *Arg) Unmarshal(dAtA []byte) error

func (*Arg) XXX_DiscardUnknown

func (m *Arg) XXX_DiscardUnknown()

func (*Arg) XXX_Marshal

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

func (*Arg) XXX_Merge

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

func (*Arg) XXX_Size

func (m *Arg) XXX_Size() int

func (*Arg) XXX_Unmarshal

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

type Arg_Type

type Arg_Type int32
const (
	Arg_I32    Arg_Type = 0
	Arg_I64    Arg_Type = 1
	Arg_U32    Arg_Type = 2
	Arg_U64    Arg_Type = 3
	Arg_F32    Arg_Type = 4
	Arg_F64    Arg_Type = 5
	Arg_String Arg_Type = 6
	Arg_Bytes  Arg_Type = 7
	Arg_Bool   Arg_Type = 8
)

func (Arg_Type) EnumDescriptor

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

func (Arg_Type) String

func (x Arg_Type) String() string

type AssetExchangeInfo

type AssetExchangeInfo struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SenderOnSrc   string `protobuf:"bytes,2,opt,name=sender_on_src,json=senderOnSrc,proto3" json:"sender_on_src,omitempty"`
	ReceiverOnSrc string `protobuf:"bytes,3,opt,name=receiver_on_src,json=receiverOnSrc,proto3" json:"receiver_on_src,omitempty"`
	AssetOnSrc    uint64 `protobuf:"varint,4,opt,name=asset_on_src,json=assetOnSrc,proto3" json:"asset_on_src,omitempty"`
	SenderOnDst   string `protobuf:"bytes,5,opt,name=sender_on_dst,json=senderOnDst,proto3" json:"sender_on_dst,omitempty"`
	ReceiverOnDst string `protobuf:"bytes,6,opt,name=receiver_on_dst,json=receiverOnDst,proto3" json:"receiver_on_dst,omitempty"`
	AssetOnDst    uint64 `protobuf:"varint,7,opt,name=asset_on_dst,json=assetOnDst,proto3" json:"asset_on_dst,omitempty"`
}

func (*AssetExchangeInfo) Descriptor

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

func (*AssetExchangeInfo) GetAssetOnDst

func (m *AssetExchangeInfo) GetAssetOnDst() uint64

func (*AssetExchangeInfo) GetAssetOnSrc

func (m *AssetExchangeInfo) GetAssetOnSrc() uint64

func (*AssetExchangeInfo) GetId

func (m *AssetExchangeInfo) GetId() string

func (*AssetExchangeInfo) GetReceiverOnDst

func (m *AssetExchangeInfo) GetReceiverOnDst() string

func (*AssetExchangeInfo) GetReceiverOnSrc

func (m *AssetExchangeInfo) GetReceiverOnSrc() string

func (*AssetExchangeInfo) GetSenderOnDst

func (m *AssetExchangeInfo) GetSenderOnDst() string

func (*AssetExchangeInfo) GetSenderOnSrc

func (m *AssetExchangeInfo) GetSenderOnSrc() string

func (*AssetExchangeInfo) Marshal

func (m *AssetExchangeInfo) Marshal() (dAtA []byte, err error)

func (*AssetExchangeInfo) MarshalTo

func (m *AssetExchangeInfo) MarshalTo(dAtA []byte) (int, error)

func (*AssetExchangeInfo) MarshalToSizedBuffer

func (m *AssetExchangeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AssetExchangeInfo) ProtoMessage

func (*AssetExchangeInfo) ProtoMessage()

func (*AssetExchangeInfo) Reset

func (m *AssetExchangeInfo) Reset()

func (*AssetExchangeInfo) Size

func (m *AssetExchangeInfo) Size() (n int)

func (*AssetExchangeInfo) String

func (m *AssetExchangeInfo) String() string

func (*AssetExchangeInfo) Unmarshal

func (m *AssetExchangeInfo) Unmarshal(dAtA []byte) error

func (*AssetExchangeInfo) XXX_DiscardUnknown

func (m *AssetExchangeInfo) XXX_DiscardUnknown()

func (*AssetExchangeInfo) XXX_Marshal

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

func (*AssetExchangeInfo) XXX_Merge

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

func (*AssetExchangeInfo) XXX_Size

func (m *AssetExchangeInfo) XXX_Size() int

func (*AssetExchangeInfo) XXX_Unmarshal

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

type AssetExchangeStatus

type AssetExchangeStatus int32
const (
	AssetExchangeStatus_INIT   AssetExchangeStatus = 0
	AssetExchangeStatus_REDEEM AssetExchangeStatus = 1
	AssetExchangeStatus_REFUND AssetExchangeStatus = 2
)

func (AssetExchangeStatus) EnumDescriptor

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

func (AssetExchangeStatus) String

func (x AssetExchangeStatus) String() string

type Block

type Block struct {
	BlockHeader  *BlockHeader                                `protobuf:"bytes,1,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"`
	Transactions *Transactions                               `protobuf:"bytes,2,opt,name=transactions,proto3,customtype=Transactions" json:"transactions,omitempty"`
	BlockHash    *github_com_meshplus_bitxhub_kit_types.Hash `` /* 142-byte string literal not displayed */
	Signature    []byte                                      `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	Extra        []byte                                      `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"`
}

func (*Block) Descriptor

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

func (*Block) GetBlockHeader

func (m *Block) GetBlockHeader() *BlockHeader

func (*Block) GetExtra

func (m *Block) GetExtra() []byte

func (*Block) GetSignature

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

func (*Block) Hash

func (m *Block) Hash() *types.Hash

func (*Block) Height

func (m *Block) Height() uint64

func (*Block) Marshal

func (m *Block) Marshal() (dAtA []byte, err error)

func (*Block) MarshalTo

func (m *Block) MarshalTo(dAtA []byte) (int, error)

func (*Block) MarshalToSizedBuffer

func (m *Block) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) Size

func (m *Block) Size() (n int)

func (*Block) String

func (m *Block) String() string

func (*Block) Unmarshal

func (m *Block) Unmarshal(dAtA []byte) error

func (*Block) XXX_DiscardUnknown

func (m *Block) XXX_DiscardUnknown()

func (*Block) XXX_Marshal

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

func (*Block) XXX_Merge

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

func (*Block) XXX_Size

func (m *Block) XXX_Size() int

func (*Block) XXX_Unmarshal

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

type BlockHeader

type BlockHeader struct {
	Number      uint64                                       `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	StateRoot   *github_com_meshplus_bitxhub_kit_types.Hash  `` /* 142-byte string literal not displayed */
	TxRoot      *github_com_meshplus_bitxhub_kit_types.Hash  `` /* 133-byte string literal not displayed */
	ReceiptRoot *github_com_meshplus_bitxhub_kit_types.Hash  `` /* 148-byte string literal not displayed */
	ParentHash  *github_com_meshplus_bitxhub_kit_types.Hash  `` /* 145-byte string literal not displayed */
	Timestamp   int64                                        `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Version     []byte                                       `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	Bloom       *github_com_meshplus_bitxhub_kit_types.Bloom `protobuf:"bytes,8,opt,name=Bloom,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Bloom" json:"Bloom,omitempty"`
}

func (*BlockHeader) Descriptor

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

func (*BlockHeader) GetNumber

func (m *BlockHeader) GetNumber() uint64

func (*BlockHeader) GetTimestamp

func (m *BlockHeader) GetTimestamp() int64

func (*BlockHeader) GetVersion

func (m *BlockHeader) GetVersion() []byte

func (*BlockHeader) Hash

func (m *BlockHeader) Hash() *types.Hash

func (*BlockHeader) Marshal

func (m *BlockHeader) Marshal() (dAtA []byte, err error)

func (*BlockHeader) MarshalTo

func (m *BlockHeader) MarshalTo(dAtA []byte) (int, error)

func (*BlockHeader) MarshalToSizedBuffer

func (m *BlockHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) Reset

func (m *BlockHeader) Reset()

func (*BlockHeader) Size

func (m *BlockHeader) Size() (n int)

func (*BlockHeader) String

func (m *BlockHeader) String() string

func (*BlockHeader) Unmarshal

func (m *BlockHeader) Unmarshal(dAtA []byte) error

func (*BlockHeader) XXX_DiscardUnknown

func (m *BlockHeader) XXX_DiscardUnknown()

func (*BlockHeader) XXX_Marshal

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

func (*BlockHeader) XXX_Merge

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

func (*BlockHeader) XXX_Size

func (m *BlockHeader) XXX_Size() int

func (*BlockHeader) XXX_Unmarshal

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

type BxhTransaction

type BxhTransaction struct {
	Version         []byte                                         `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	From            *github_com_meshplus_bitxhub_kit_types.Address `protobuf:"bytes,2,opt,name=from,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Address" json:"from,omitempty"`
	To              *github_com_meshplus_bitxhub_kit_types.Address `protobuf:"bytes,3,opt,name=to,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Address" json:"to,omitempty"`
	Timestamp       int64                                          `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	TransactionHash *github_com_meshplus_bitxhub_kit_types.Hash    `` /* 160-byte string literal not displayed */
	Payload         []byte                                         `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
	IBTP            *IBTP                                          `protobuf:"bytes,7,opt,name=IBTP,proto3" json:"IBTP,omitempty"`
	Nonce           uint64                                         `protobuf:"varint,8,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Amount          uint64                                         `protobuf:"varint,9,opt,name=amount,proto3" json:"amount,omitempty"`
	Signature       []byte                                         `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature,omitempty"`
	Extra           []byte                                         `protobuf:"bytes,11,opt,name=extra,proto3" json:"extra,omitempty"`
}

func (*BxhTransaction) Account

func (m *BxhTransaction) Account() string

func (*BxhTransaction) Descriptor

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

func (*BxhTransaction) GetAmount

func (m *BxhTransaction) GetAmount() uint64

func (*BxhTransaction) GetChainID

func (m *BxhTransaction) GetChainID() *big.Int

func (*BxhTransaction) GetCrosschainExtra

func (m *BxhTransaction) GetCrosschainExtra() (*CrosschainTransactionExtra, error)

func (*BxhTransaction) GetExtra

func (m *BxhTransaction) GetExtra() []byte

func (*BxhTransaction) GetFrom

func (m *BxhTransaction) GetFrom() *types.Address

func (*BxhTransaction) GetGas

func (m *BxhTransaction) GetGas() uint64

func (*BxhTransaction) GetGasPrice

func (m *BxhTransaction) GetGasPrice() *big.Int

func (*BxhTransaction) GetHash

func (m *BxhTransaction) GetHash() *types.Hash

func (*BxhTransaction) GetIBTP

func (m *BxhTransaction) GetIBTP() *IBTP

func (*BxhTransaction) GetNonce

func (m *BxhTransaction) GetNonce() uint64

func (*BxhTransaction) GetPayload

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

func (*BxhTransaction) GetRawSignature

func (m *BxhTransaction) GetRawSignature() (v, r, s *big.Int)

RawSignatureValues returns the V, R, S signature values of the transaction. The return values should not be modified by the caller.

func (*BxhTransaction) GetSignHash

func (m *BxhTransaction) GetSignHash() *types.Hash

func (*BxhTransaction) GetSignature

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

func (*BxhTransaction) GetTimeStamp

func (m *BxhTransaction) GetTimeStamp() int64

func (*BxhTransaction) GetTimestamp

func (m *BxhTransaction) GetTimestamp() int64

func (*BxhTransaction) GetTo

func (m *BxhTransaction) GetTo() *types.Address

func (*BxhTransaction) GetType

func (m *BxhTransaction) GetType() byte

RawSignatureValues returns the V, R, S signature values of the transaction. The return values should not be modified by the caller.

func (*BxhTransaction) GetVersion

func (m *BxhTransaction) GetVersion() []byte

func (*BxhTransaction) Hash

func (m *BxhTransaction) Hash() *types.Hash

func (*BxhTransaction) IsIBTP

func (m *BxhTransaction) IsIBTP() bool

func (*BxhTransaction) Marshal

func (m *BxhTransaction) Marshal() (dAtA []byte, err error)

func (*BxhTransaction) MarshalTo

func (m *BxhTransaction) MarshalTo(dAtA []byte) (int, error)

func (*BxhTransaction) MarshalToSizedBuffer

func (m *BxhTransaction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BxhTransaction) MarshalWithFlag

func (m *BxhTransaction) MarshalWithFlag() ([]byte, error)

func (*BxhTransaction) ProtoMessage

func (*BxhTransaction) ProtoMessage()

func (*BxhTransaction) Reset

func (m *BxhTransaction) Reset()

func (*BxhTransaction) Sign

func (m *BxhTransaction) Sign(key crypto.PrivateKey) error

func (*BxhTransaction) SignHash

func (m *BxhTransaction) SignHash() *types.Hash

func (*BxhTransaction) Size

func (m *BxhTransaction) Size() (n int)

func (*BxhTransaction) SizeWithFlag

func (m *BxhTransaction) SizeWithFlag() int

func (*BxhTransaction) String

func (m *BxhTransaction) String() string

func (*BxhTransaction) Unmarshal

func (m *BxhTransaction) Unmarshal(dAtA []byte) error

func (*BxhTransaction) VerifySignature

func (m *BxhTransaction) VerifySignature() error

func (*BxhTransaction) XXX_DiscardUnknown

func (m *BxhTransaction) XXX_DiscardUnknown()

func (*BxhTransaction) XXX_Marshal

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

func (*BxhTransaction) XXX_Merge

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

func (*BxhTransaction) XXX_Size

func (m *BxhTransaction) XXX_Size() int

func (*BxhTransaction) XXX_Unmarshal

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

type ChainBrokerClient

type ChainBrokerClient interface {
	Subscribe(ctx context.Context, in *SubscriptionRequest, opts ...grpc.CallOption) (ChainBroker_SubscribeClient, error)
	GetBlockHeader(ctx context.Context, in *GetBlockHeaderRequest, opts ...grpc.CallOption) (ChainBroker_GetBlockHeaderClient, error)
	GetInterchainTxWrappers(ctx context.Context, in *GetInterchainTxWrappersRequest, opts ...grpc.CallOption) (ChainBroker_GetInterchainTxWrappersClient, error)
	SendTransaction(ctx context.Context, in *BxhTransaction, opts ...grpc.CallOption) (*TransactionHashMsg, error)
	SendView(ctx context.Context, in *BxhTransaction, opts ...grpc.CallOption) (*Receipt, error)
	GetTransaction(ctx context.Context, in *TransactionHashMsg, opts ...grpc.CallOption) (*GetTransactionResponse, error)
	GetReceipt(ctx context.Context, in *TransactionHashMsg, opts ...grpc.CallOption) (*Receipt, error)
	GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*Block, error)
	GetBlocks(ctx context.Context, in *GetBlocksRequest, opts ...grpc.CallOption) (*GetBlocksResponse, error)
	GetBlockHeaders(ctx context.Context, in *GetBlockHeadersRequest, opts ...grpc.CallOption) (*GetBlockHeadersResponse, error)
	GetChainMeta(ctx context.Context, in *Request, opts ...grpc.CallOption) (*ChainMeta, error)
	GetInfo(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
	GetAccountBalance(ctx context.Context, in *Address, opts ...grpc.CallOption) (*Response, error)
	GetMultiSigns(ctx context.Context, in *GetMultiSignsRequest, opts ...grpc.CallOption) (*SignResponse, error)
	GetTPS(ctx context.Context, in *GetTPSRequest, opts ...grpc.CallOption) (*Response, error)
	GetPendingNonceByAccount(ctx context.Context, in *Address, opts ...grpc.CallOption) (*Response, error)
	DelVPNode(ctx context.Context, in *DelVPNodeRequest, opts ...grpc.CallOption) (*Response, error)
	CheckMasterSidecar(ctx context.Context, in *Address, opts ...grpc.CallOption) (*Response, error)
	SetMasterSidecar(ctx context.Context, in *SidecarInfo, opts ...grpc.CallOption) (*Response, error)
	HeartBeat(ctx context.Context, in *SidecarInfo, opts ...grpc.CallOption) (*Response, error)
}

ChainBrokerClient is the client API for ChainBroker service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewChainBrokerClient

func NewChainBrokerClient(cc *grpc.ClientConn) ChainBrokerClient

type ChainBrokerServer

ChainBrokerServer is the server API for ChainBroker service.

type ChainBroker_GetBlockHeaderClient

type ChainBroker_GetBlockHeaderClient interface {
	Recv() (*BlockHeader, error)
	grpc.ClientStream
}

type ChainBroker_GetBlockHeaderServer

type ChainBroker_GetBlockHeaderServer interface {
	Send(*BlockHeader) error
	grpc.ServerStream
}

type ChainBroker_GetInterchainTxWrappersClient

type ChainBroker_GetInterchainTxWrappersClient interface {
	Recv() (*InterchainTxWrappers, error)
	grpc.ClientStream
}

type ChainBroker_GetInterchainTxWrappersServer

type ChainBroker_GetInterchainTxWrappersServer interface {
	Send(*InterchainTxWrappers) error
	grpc.ServerStream
}

type ChainBroker_SubscribeClient

type ChainBroker_SubscribeClient interface {
	Recv() (*Response, error)
	grpc.ClientStream
}

type ChainBroker_SubscribeServer

type ChainBroker_SubscribeServer interface {
	Send(*Response) error
	grpc.ServerStream
}

type ChainMeta

type ChainMeta struct {
	Height            uint64                                      `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	BlockHash         *github_com_meshplus_bitxhub_kit_types.Hash `` /* 142-byte string literal not displayed */
	InterchainTxCount uint64                                      `protobuf:"varint,3,opt,name=interchain_tx_count,json=interchainTxCount,proto3" json:"interchain_tx_count,omitempty"`
}

func (*ChainMeta) Descriptor

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

func (*ChainMeta) GetHeight

func (m *ChainMeta) GetHeight() uint64

func (*ChainMeta) GetInterchainTxCount

func (m *ChainMeta) GetInterchainTxCount() uint64

func (*ChainMeta) Marshal

func (m *ChainMeta) Marshal() (dAtA []byte, err error)

func (*ChainMeta) MarshalTo

func (m *ChainMeta) MarshalTo(dAtA []byte) (int, error)

func (*ChainMeta) MarshalToSizedBuffer

func (m *ChainMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChainMeta) ProtoMessage

func (*ChainMeta) ProtoMessage()

func (*ChainMeta) Reset

func (m *ChainMeta) Reset()

func (*ChainMeta) Size

func (m *ChainMeta) Size() (n int)

func (*ChainMeta) String

func (m *ChainMeta) String() string

func (*ChainMeta) Unmarshal

func (m *ChainMeta) Unmarshal(dAtA []byte) error

func (*ChainMeta) XXX_DiscardUnknown

func (m *ChainMeta) XXX_DiscardUnknown()

func (*ChainMeta) XXX_Marshal

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

func (*ChainMeta) XXX_Merge

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

func (*ChainMeta) XXX_Size

func (m *ChainMeta) XXX_Size() int

func (*ChainMeta) XXX_Unmarshal

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

type CheckSidecarResponse

type CheckSidecarResponse struct {
	Status  CheckSidecarResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=pb.CheckSidecarResponse_Status" json:"status,omitempty"`
	Address string                      `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func (*CheckSidecarResponse) Descriptor

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

func (*CheckSidecarResponse) GetAddress

func (m *CheckSidecarResponse) GetAddress() string

func (*CheckSidecarResponse) GetStatus

func (*CheckSidecarResponse) Marshal

func (m *CheckSidecarResponse) Marshal() (dAtA []byte, err error)

func (*CheckSidecarResponse) MarshalTo

func (m *CheckSidecarResponse) MarshalTo(dAtA []byte) (int, error)

func (*CheckSidecarResponse) MarshalToSizedBuffer

func (m *CheckSidecarResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CheckSidecarResponse) ProtoMessage

func (*CheckSidecarResponse) ProtoMessage()

func (*CheckSidecarResponse) Reset

func (m *CheckSidecarResponse) Reset()

func (*CheckSidecarResponse) Size

func (m *CheckSidecarResponse) Size() (n int)

func (*CheckSidecarResponse) String

func (m *CheckSidecarResponse) String() string

func (*CheckSidecarResponse) Unmarshal

func (m *CheckSidecarResponse) Unmarshal(dAtA []byte) error

func (*CheckSidecarResponse) XXX_DiscardUnknown

func (m *CheckSidecarResponse) XXX_DiscardUnknown()

func (*CheckSidecarResponse) XXX_Marshal

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

func (*CheckSidecarResponse) XXX_Merge

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

func (*CheckSidecarResponse) XXX_Size

func (m *CheckSidecarResponse) XXX_Size() int

func (*CheckSidecarResponse) XXX_Unmarshal

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

type CheckSidecarResponse_Status

type CheckSidecarResponse_Status int32
const (
	CheckSidecarResponse_ERROR_MASTER CheckSidecarResponse_Status = 0
	CheckSidecarResponse_HAS_MASTER   CheckSidecarResponse_Status = 1
	CheckSidecarResponse_NO_MASTER    CheckSidecarResponse_Status = 2
)

func (CheckSidecarResponse_Status) EnumDescriptor

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

func (CheckSidecarResponse_Status) String

type CommitEvent

type CommitEvent struct {
	Block     *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	LocalList []bool `protobuf:"varint,2,rep,packed,name=local_list,json=localList,proto3" json:"local_list,omitempty"`
}

func (*CommitEvent) Descriptor

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

func (*CommitEvent) GetBlock

func (m *CommitEvent) GetBlock() *Block

func (*CommitEvent) GetLocalList

func (m *CommitEvent) GetLocalList() []bool

func (*CommitEvent) Marshal

func (m *CommitEvent) Marshal() (dAtA []byte, err error)

func (*CommitEvent) MarshalTo

func (m *CommitEvent) MarshalTo(dAtA []byte) (int, error)

func (*CommitEvent) ProtoMessage

func (*CommitEvent) ProtoMessage()

func (*CommitEvent) Reset

func (m *CommitEvent) Reset()

func (*CommitEvent) Size

func (m *CommitEvent) Size() (n int)

func (*CommitEvent) String

func (m *CommitEvent) String() string

func (*CommitEvent) Unmarshal

func (m *CommitEvent) Unmarshal(dAtA []byte) error

func (*CommitEvent) XXX_DiscardUnknown

func (m *CommitEvent) XXX_DiscardUnknown()

func (*CommitEvent) XXX_Marshal

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

func (*CommitEvent) XXX_Merge

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

func (*CommitEvent) XXX_Size

func (m *CommitEvent) XXX_Size() int

func (*CommitEvent) XXX_Unmarshal

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

type Content

type Content struct {
	SrcContractId string   `protobuf:"bytes,1,opt,name=src_contract_id,json=srcContractId,proto3" json:"src_contract_id,omitempty"`
	DstContractId string   `protobuf:"bytes,2,opt,name=dst_contract_id,json=dstContractId,proto3" json:"dst_contract_id,omitempty"`
	Func          string   `protobuf:"bytes,3,opt,name=func,proto3" json:"func,omitempty"`
	Args          [][]byte `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
	Callback      string   `protobuf:"bytes,5,opt,name=callback,proto3" json:"callback,omitempty"`
	ArgsCb        [][]byte `protobuf:"bytes,6,rep,name=argsCb,proto3" json:"argsCb,omitempty"`
	Rollback      string   `protobuf:"bytes,7,opt,name=rollback,proto3" json:"rollback,omitempty"`
	ArgsRb        [][]byte `protobuf:"bytes,8,rep,name=argsRb,proto3" json:"argsRb,omitempty"`
}

func (*Content) Descriptor

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

func (*Content) GetArgs

func (m *Content) GetArgs() [][]byte

func (*Content) GetArgsCb

func (m *Content) GetArgsCb() [][]byte

func (*Content) GetArgsRb

func (m *Content) GetArgsRb() [][]byte

func (*Content) GetCallback

func (m *Content) GetCallback() string

func (*Content) GetDstContractId

func (m *Content) GetDstContractId() string

func (*Content) GetFunc

func (m *Content) GetFunc() string

func (*Content) GetRollback

func (m *Content) GetRollback() string

func (*Content) GetSrcContractId

func (m *Content) GetSrcContractId() string

func (*Content) Marshal

func (m *Content) Marshal() (dAtA []byte, err error)

func (*Content) MarshalTo

func (m *Content) MarshalTo(dAtA []byte) (int, error)

func (*Content) MarshalToSizedBuffer

func (m *Content) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Content) ProtoMessage

func (*Content) ProtoMessage()

func (*Content) Reset

func (m *Content) Reset()

func (*Content) Size

func (m *Content) Size() (n int)

func (*Content) String

func (m *Content) String() string

func (*Content) Unmarshal

func (m *Content) Unmarshal(dAtA []byte) error

func (*Content) XXX_DiscardUnknown

func (m *Content) XXX_DiscardUnknown()

func (*Content) XXX_Marshal

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

func (*Content) XXX_Merge

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

func (*Content) XXX_Size

func (m *Content) XXX_Size() int

func (*Content) XXX_Unmarshal

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

type CrosschainTransactionExtra

type CrosschainTransactionExtra struct {
	Index  uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Status bool   `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	Ret    []byte `protobuf:"bytes,3,opt,name=ret,proto3" json:"ret,omitempty"`
}

func (*CrosschainTransactionExtra) Descriptor

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

func (*CrosschainTransactionExtra) GetIndex

func (m *CrosschainTransactionExtra) GetIndex() uint64

func (*CrosschainTransactionExtra) GetRet

func (m *CrosschainTransactionExtra) GetRet() []byte

func (*CrosschainTransactionExtra) GetStatus

func (m *CrosschainTransactionExtra) GetStatus() bool

func (*CrosschainTransactionExtra) Marshal

func (m *CrosschainTransactionExtra) Marshal() (dAtA []byte, err error)

func (*CrosschainTransactionExtra) MarshalTo

func (m *CrosschainTransactionExtra) MarshalTo(dAtA []byte) (int, error)

func (*CrosschainTransactionExtra) MarshalToSizedBuffer

func (m *CrosschainTransactionExtra) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CrosschainTransactionExtra) ProtoMessage

func (*CrosschainTransactionExtra) ProtoMessage()

func (*CrosschainTransactionExtra) Reset

func (m *CrosschainTransactionExtra) Reset()

func (*CrosschainTransactionExtra) Size

func (m *CrosschainTransactionExtra) Size() (n int)

func (*CrosschainTransactionExtra) String

func (m *CrosschainTransactionExtra) String() string

func (*CrosschainTransactionExtra) Unmarshal

func (m *CrosschainTransactionExtra) Unmarshal(dAtA []byte) error

func (*CrosschainTransactionExtra) XXX_DiscardUnknown

func (m *CrosschainTransactionExtra) XXX_DiscardUnknown()

func (*CrosschainTransactionExtra) XXX_Marshal

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

func (*CrosschainTransactionExtra) XXX_Merge

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

func (*CrosschainTransactionExtra) XXX_Size

func (m *CrosschainTransactionExtra) XXX_Size() int

func (*CrosschainTransactionExtra) XXX_Unmarshal

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

type DelVPNodeRequest

type DelVPNodeRequest struct {
	Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid,omitempty"`
}

func (*DelVPNodeRequest) Descriptor

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

func (*DelVPNodeRequest) GetPid

func (m *DelVPNodeRequest) GetPid() string

func (*DelVPNodeRequest) Marshal

func (m *DelVPNodeRequest) Marshal() (dAtA []byte, err error)

func (*DelVPNodeRequest) MarshalTo

func (m *DelVPNodeRequest) MarshalTo(dAtA []byte) (int, error)

func (*DelVPNodeRequest) MarshalToSizedBuffer

func (m *DelVPNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelVPNodeRequest) ProtoMessage

func (*DelVPNodeRequest) ProtoMessage()

func (*DelVPNodeRequest) Reset

func (m *DelVPNodeRequest) Reset()

func (*DelVPNodeRequest) Size

func (m *DelVPNodeRequest) Size() (n int)

func (*DelVPNodeRequest) String

func (m *DelVPNodeRequest) String() string

func (*DelVPNodeRequest) Unmarshal

func (m *DelVPNodeRequest) Unmarshal(dAtA []byte) error

func (*DelVPNodeRequest) XXX_DiscardUnknown

func (m *DelVPNodeRequest) XXX_DiscardUnknown()

func (*DelVPNodeRequest) XXX_Marshal

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

func (*DelVPNodeRequest) XXX_Merge

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

func (*DelVPNodeRequest) XXX_Size

func (m *DelVPNodeRequest) XXX_Size() int

func (*DelVPNodeRequest) XXX_Unmarshal

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

type Empty

type Empty struct{}

func (*Empty) Descriptor

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

func (*Empty) Marshal

func (m *Empty) Marshal() (dAtA []byte, err error)

func (*Empty) MarshalTo

func (m *Empty) MarshalTo(dAtA []byte) (int, error)

func (*Empty) MarshalToSizedBuffer

func (m *Empty) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) Size

func (m *Empty) Size() (n int)

func (*Empty) String

func (m *Empty) String() string

func (*Empty) Unmarshal

func (m *Empty) Unmarshal(dAtA []byte) error

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

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

func (*Empty) XXX_Merge

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

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

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

type Event

type Event struct {
	// Transaction Hash
	TxHash *github_com_meshplus_bitxhub_kit_types.Hash `` /* 133-byte string literal not displayed */
	Data   []byte                                      `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// The interchain flag used by interchain contract
	Interchain bool `protobuf:"varint,3,opt,name=interchain,proto3" json:"interchain,omitempty"`
}

func (*Event) Descriptor

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

func (*Event) GetData

func (m *Event) GetData() []byte

func (*Event) GetInterchain

func (m *Event) GetInterchain() bool

func (*Event) Marshal

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) MarshalToSizedBuffer

func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

func (m *Event) Size() (n int)

func (*Event) String

func (m *Event) String() string

func (*Event) Unmarshal

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

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

func (*Event) XXX_Merge

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

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

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

type EvmLog

type EvmLog struct {
	Address     *github_com_meshplus_bitxhub_kit_types.Address `protobuf:"bytes,1,opt,name=address,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Address" json:"address,omitempty"`
	Topics      []github_com_meshplus_bitxhub_kit_types.Hash   `protobuf:"bytes,2,rep,name=topics,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Hash" json:"topics,omitempty"`
	Data        []byte                                         `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	BlockNumber uint64                                         `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	TxHash      *github_com_meshplus_bitxhub_kit_types.Hash    `` /* 133-byte string literal not displayed */
	TxIndex     uint64                                         `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
	BlockHash   *github_com_meshplus_bitxhub_kit_types.Hash    `` /* 142-byte string literal not displayed */
	Index       uint64                                         `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"`
	Removed     bool                                           `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"`
}

func (*EvmLog) Descriptor

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

func (*EvmLog) GetBlockNumber

func (m *EvmLog) GetBlockNumber() uint64

func (*EvmLog) GetData

func (m *EvmLog) GetData() []byte

func (*EvmLog) GetIndex

func (m *EvmLog) GetIndex() uint64

func (*EvmLog) GetRemoved

func (m *EvmLog) GetRemoved() bool

func (*EvmLog) GetTxIndex

func (m *EvmLog) GetTxIndex() uint64

func (*EvmLog) Marshal

func (m *EvmLog) Marshal() (dAtA []byte, err error)

func (EvmLog) MarshalJSON

func (l EvmLog) MarshalJSON() ([]byte, error)

MarshalJSON marshals as JSON.

func (*EvmLog) MarshalTo

func (m *EvmLog) MarshalTo(dAtA []byte) (int, error)

func (*EvmLog) MarshalToSizedBuffer

func (m *EvmLog) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EvmLog) ProtoMessage

func (*EvmLog) ProtoMessage()

func (*EvmLog) Reset

func (m *EvmLog) Reset()

func (*EvmLog) Size

func (m *EvmLog) Size() (n int)

func (*EvmLog) String

func (m *EvmLog) String() string

func (*EvmLog) Unmarshal

func (m *EvmLog) Unmarshal(dAtA []byte) error

func (*EvmLog) XXX_DiscardUnknown

func (m *EvmLog) XXX_DiscardUnknown()

func (*EvmLog) XXX_Marshal

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

func (*EvmLog) XXX_Merge

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

func (*EvmLog) XXX_Size

func (m *EvmLog) XXX_Size() int

func (*EvmLog) XXX_Unmarshal

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

type GetBlockHeaderRequest

type GetBlockHeaderRequest struct {
	Begin uint64 `protobuf:"varint,1,opt,name=begin,proto3" json:"begin,omitempty"`
	End   uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
}

func (*GetBlockHeaderRequest) Descriptor

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

func (*GetBlockHeaderRequest) GetBegin

func (m *GetBlockHeaderRequest) GetBegin() uint64

func (*GetBlockHeaderRequest) GetEnd

func (m *GetBlockHeaderRequest) GetEnd() uint64

func (*GetBlockHeaderRequest) Marshal

func (m *GetBlockHeaderRequest) Marshal() (dAtA []byte, err error)

func (*GetBlockHeaderRequest) MarshalTo

func (m *GetBlockHeaderRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetBlockHeaderRequest) MarshalToSizedBuffer

func (m *GetBlockHeaderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetBlockHeaderRequest) ProtoMessage

func (*GetBlockHeaderRequest) ProtoMessage()

func (*GetBlockHeaderRequest) Reset

func (m *GetBlockHeaderRequest) Reset()

func (*GetBlockHeaderRequest) Size

func (m *GetBlockHeaderRequest) Size() (n int)

func (*GetBlockHeaderRequest) String

func (m *GetBlockHeaderRequest) String() string

func (*GetBlockHeaderRequest) Unmarshal

func (m *GetBlockHeaderRequest) Unmarshal(dAtA []byte) error

func (*GetBlockHeaderRequest) XXX_DiscardUnknown

func (m *GetBlockHeaderRequest) XXX_DiscardUnknown()

func (*GetBlockHeaderRequest) XXX_Marshal

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

func (*GetBlockHeaderRequest) XXX_Merge

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

func (*GetBlockHeaderRequest) XXX_Size

func (m *GetBlockHeaderRequest) XXX_Size() int

func (*GetBlockHeaderRequest) XXX_Unmarshal

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

type GetBlockHeadersRequest

type GetBlockHeadersRequest struct {
	Start uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	End   uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
}

func (*GetBlockHeadersRequest) Descriptor

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

func (*GetBlockHeadersRequest) GetEnd

func (m *GetBlockHeadersRequest) GetEnd() uint64

func (*GetBlockHeadersRequest) GetStart

func (m *GetBlockHeadersRequest) GetStart() uint64

func (*GetBlockHeadersRequest) Marshal

func (m *GetBlockHeadersRequest) Marshal() (dAtA []byte, err error)

func (*GetBlockHeadersRequest) MarshalTo

func (m *GetBlockHeadersRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetBlockHeadersRequest) MarshalToSizedBuffer

func (m *GetBlockHeadersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetBlockHeadersRequest) ProtoMessage

func (*GetBlockHeadersRequest) ProtoMessage()

func (*GetBlockHeadersRequest) Reset

func (m *GetBlockHeadersRequest) Reset()

func (*GetBlockHeadersRequest) Size

func (m *GetBlockHeadersRequest) Size() (n int)

func (*GetBlockHeadersRequest) String

func (m *GetBlockHeadersRequest) String() string

func (*GetBlockHeadersRequest) Unmarshal

func (m *GetBlockHeadersRequest) Unmarshal(dAtA []byte) error

func (*GetBlockHeadersRequest) XXX_DiscardUnknown

func (m *GetBlockHeadersRequest) XXX_DiscardUnknown()

func (*GetBlockHeadersRequest) XXX_Marshal

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

func (*GetBlockHeadersRequest) XXX_Merge

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

func (*GetBlockHeadersRequest) XXX_Size

func (m *GetBlockHeadersRequest) XXX_Size() int

func (*GetBlockHeadersRequest) XXX_Unmarshal

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

type GetBlockHeadersResponse

type GetBlockHeadersResponse struct {
	BlockHeaders []*BlockHeader `protobuf:"bytes,1,rep,name=blockHeaders,proto3" json:"blockHeaders,omitempty"`
}

func (*GetBlockHeadersResponse) Descriptor

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

func (*GetBlockHeadersResponse) GetBlockHeaders

func (m *GetBlockHeadersResponse) GetBlockHeaders() []*BlockHeader

func (*GetBlockHeadersResponse) Marshal

func (m *GetBlockHeadersResponse) Marshal() (dAtA []byte, err error)

func (*GetBlockHeadersResponse) MarshalTo

func (m *GetBlockHeadersResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetBlockHeadersResponse) MarshalToSizedBuffer

func (m *GetBlockHeadersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetBlockHeadersResponse) ProtoMessage

func (*GetBlockHeadersResponse) ProtoMessage()

func (*GetBlockHeadersResponse) Reset

func (m *GetBlockHeadersResponse) Reset()

func (*GetBlockHeadersResponse) Size

func (m *GetBlockHeadersResponse) Size() (n int)

func (*GetBlockHeadersResponse) String

func (m *GetBlockHeadersResponse) String() string

func (*GetBlockHeadersResponse) Unmarshal

func (m *GetBlockHeadersResponse) Unmarshal(dAtA []byte) error

func (*GetBlockHeadersResponse) XXX_DiscardUnknown

func (m *GetBlockHeadersResponse) XXX_DiscardUnknown()

func (*GetBlockHeadersResponse) XXX_Marshal

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

func (*GetBlockHeadersResponse) XXX_Merge

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

func (*GetBlockHeadersResponse) XXX_Size

func (m *GetBlockHeadersResponse) XXX_Size() int

func (*GetBlockHeadersResponse) XXX_Unmarshal

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

type GetBlockRequest

type GetBlockRequest struct {
	Type  GetBlockRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.GetBlockRequest_Type" json:"type,omitempty"`
	Value string               `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*GetBlockRequest) Descriptor

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

func (*GetBlockRequest) GetType

func (*GetBlockRequest) GetValue

func (m *GetBlockRequest) GetValue() string

func (*GetBlockRequest) Marshal

func (m *GetBlockRequest) Marshal() (dAtA []byte, err error)

func (*GetBlockRequest) MarshalTo

func (m *GetBlockRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetBlockRequest) MarshalToSizedBuffer

func (m *GetBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetBlockRequest) ProtoMessage

func (*GetBlockRequest) ProtoMessage()

func (*GetBlockRequest) Reset

func (m *GetBlockRequest) Reset()

func (*GetBlockRequest) Size

func (m *GetBlockRequest) Size() (n int)

func (*GetBlockRequest) String

func (m *GetBlockRequest) String() string

func (*GetBlockRequest) Unmarshal

func (m *GetBlockRequest) Unmarshal(dAtA []byte) error

func (*GetBlockRequest) XXX_DiscardUnknown

func (m *GetBlockRequest) XXX_DiscardUnknown()

func (*GetBlockRequest) XXX_Marshal

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

func (*GetBlockRequest) XXX_Merge

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

func (*GetBlockRequest) XXX_Size

func (m *GetBlockRequest) XXX_Size() int

func (*GetBlockRequest) XXX_Unmarshal

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

type GetBlockRequest_Type

type GetBlockRequest_Type int32
const (
	GetBlockRequest_HEIGHT GetBlockRequest_Type = 0
	GetBlockRequest_HASH   GetBlockRequest_Type = 1
)

func (GetBlockRequest_Type) EnumDescriptor

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

func (GetBlockRequest_Type) String

func (x GetBlockRequest_Type) String() string

type GetBlocksRequest

type GetBlocksRequest struct {
	Start uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	End   uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
}

func (*GetBlocksRequest) Descriptor

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

func (*GetBlocksRequest) GetEnd

func (m *GetBlocksRequest) GetEnd() uint64

func (*GetBlocksRequest) GetStart

func (m *GetBlocksRequest) GetStart() uint64

func (*GetBlocksRequest) Marshal

func (m *GetBlocksRequest) Marshal() (dAtA []byte, err error)

func (*GetBlocksRequest) MarshalTo

func (m *GetBlocksRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetBlocksRequest) MarshalToSizedBuffer

func (m *GetBlocksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetBlocksRequest) ProtoMessage

func (*GetBlocksRequest) ProtoMessage()

func (*GetBlocksRequest) Reset

func (m *GetBlocksRequest) Reset()

func (*GetBlocksRequest) Size

func (m *GetBlocksRequest) Size() (n int)

func (*GetBlocksRequest) String

func (m *GetBlocksRequest) String() string

func (*GetBlocksRequest) Unmarshal

func (m *GetBlocksRequest) Unmarshal(dAtA []byte) error

func (*GetBlocksRequest) XXX_DiscardUnknown

func (m *GetBlocksRequest) XXX_DiscardUnknown()

func (*GetBlocksRequest) XXX_Marshal

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

func (*GetBlocksRequest) XXX_Merge

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

func (*GetBlocksRequest) XXX_Size

func (m *GetBlocksRequest) XXX_Size() int

func (*GetBlocksRequest) XXX_Unmarshal

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

type GetBlocksResponse

type GetBlocksResponse struct {
	Blocks []*Block `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"`
}

func (*GetBlocksResponse) Descriptor

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

func (*GetBlocksResponse) GetBlocks

func (m *GetBlocksResponse) GetBlocks() []*Block

func (*GetBlocksResponse) Marshal

func (m *GetBlocksResponse) Marshal() (dAtA []byte, err error)

func (*GetBlocksResponse) MarshalTo

func (m *GetBlocksResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetBlocksResponse) MarshalToSizedBuffer

func (m *GetBlocksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetBlocksResponse) ProtoMessage

func (*GetBlocksResponse) ProtoMessage()

func (*GetBlocksResponse) Reset

func (m *GetBlocksResponse) Reset()

func (*GetBlocksResponse) Size

func (m *GetBlocksResponse) Size() (n int)

func (*GetBlocksResponse) String

func (m *GetBlocksResponse) String() string

func (*GetBlocksResponse) Unmarshal

func (m *GetBlocksResponse) Unmarshal(dAtA []byte) error

func (*GetBlocksResponse) XXX_DiscardUnknown

func (m *GetBlocksResponse) XXX_DiscardUnknown()

func (*GetBlocksResponse) XXX_Marshal

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

func (*GetBlocksResponse) XXX_Merge

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

func (*GetBlocksResponse) XXX_Size

func (m *GetBlocksResponse) XXX_Size() int

func (*GetBlocksResponse) XXX_Unmarshal

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

type GetInMessageRequest

type GetInMessageRequest struct {
	From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Idx  uint64 `protobuf:"varint,2,opt,name=idx,proto3" json:"idx,omitempty"`
}

func (*GetInMessageRequest) Descriptor

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

func (*GetInMessageRequest) GetFrom

func (m *GetInMessageRequest) GetFrom() string

func (*GetInMessageRequest) GetIdx

func (m *GetInMessageRequest) GetIdx() uint64

func (*GetInMessageRequest) Marshal

func (m *GetInMessageRequest) Marshal() (dAtA []byte, err error)

func (*GetInMessageRequest) MarshalTo

func (m *GetInMessageRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetInMessageRequest) MarshalToSizedBuffer

func (m *GetInMessageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetInMessageRequest) ProtoMessage

func (*GetInMessageRequest) ProtoMessage()

func (*GetInMessageRequest) Reset

func (m *GetInMessageRequest) Reset()

func (*GetInMessageRequest) Size

func (m *GetInMessageRequest) Size() (n int)

func (*GetInMessageRequest) String

func (m *GetInMessageRequest) String() string

func (*GetInMessageRequest) Unmarshal

func (m *GetInMessageRequest) Unmarshal(dAtA []byte) error

func (*GetInMessageRequest) XXX_DiscardUnknown

func (m *GetInMessageRequest) XXX_DiscardUnknown()

func (*GetInMessageRequest) XXX_Marshal

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

func (*GetInMessageRequest) XXX_Merge

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

func (*GetInMessageRequest) XXX_Size

func (m *GetInMessageRequest) XXX_Size() int

func (*GetInMessageRequest) XXX_Unmarshal

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

type GetInMessageResponse

type GetInMessageResponse struct {
	Result [][]byte `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
}

func (*GetInMessageResponse) Descriptor

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

func (*GetInMessageResponse) GetResult

func (m *GetInMessageResponse) GetResult() [][]byte

func (*GetInMessageResponse) Marshal

func (m *GetInMessageResponse) Marshal() (dAtA []byte, err error)

func (*GetInMessageResponse) MarshalTo

func (m *GetInMessageResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetInMessageResponse) MarshalToSizedBuffer

func (m *GetInMessageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetInMessageResponse) ProtoMessage

func (*GetInMessageResponse) ProtoMessage()

func (*GetInMessageResponse) Reset

func (m *GetInMessageResponse) Reset()

func (*GetInMessageResponse) Size

func (m *GetInMessageResponse) Size() (n int)

func (*GetInMessageResponse) String

func (m *GetInMessageResponse) String() string

func (*GetInMessageResponse) Unmarshal

func (m *GetInMessageResponse) Unmarshal(dAtA []byte) error

func (*GetInMessageResponse) XXX_DiscardUnknown

func (m *GetInMessageResponse) XXX_DiscardUnknown()

func (*GetInMessageResponse) XXX_Marshal

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

func (*GetInMessageResponse) XXX_Merge

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

func (*GetInMessageResponse) XXX_Size

func (m *GetInMessageResponse) XXX_Size() int

func (*GetInMessageResponse) XXX_Unmarshal

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

type GetInterchainTxWrappersRequest

type GetInterchainTxWrappersRequest struct {
	Begin uint64 `protobuf:"varint,1,opt,name=begin,proto3" json:"begin,omitempty"`
	End   uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	Pid   string `protobuf:"bytes,3,opt,name=pid,proto3" json:"pid,omitempty"`
}

func (*GetInterchainTxWrappersRequest) Descriptor

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

func (*GetInterchainTxWrappersRequest) GetBegin

func (m *GetInterchainTxWrappersRequest) GetBegin() uint64

func (*GetInterchainTxWrappersRequest) GetEnd

func (*GetInterchainTxWrappersRequest) GetPid

func (*GetInterchainTxWrappersRequest) Marshal

func (m *GetInterchainTxWrappersRequest) Marshal() (dAtA []byte, err error)

func (*GetInterchainTxWrappersRequest) MarshalTo

func (m *GetInterchainTxWrappersRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetInterchainTxWrappersRequest) MarshalToSizedBuffer

func (m *GetInterchainTxWrappersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetInterchainTxWrappersRequest) ProtoMessage

func (*GetInterchainTxWrappersRequest) ProtoMessage()

func (*GetInterchainTxWrappersRequest) Reset

func (m *GetInterchainTxWrappersRequest) Reset()

func (*GetInterchainTxWrappersRequest) Size

func (m *GetInterchainTxWrappersRequest) Size() (n int)

func (*GetInterchainTxWrappersRequest) String

func (*GetInterchainTxWrappersRequest) Unmarshal

func (m *GetInterchainTxWrappersRequest) Unmarshal(dAtA []byte) error

func (*GetInterchainTxWrappersRequest) XXX_DiscardUnknown

func (m *GetInterchainTxWrappersRequest) XXX_DiscardUnknown()

func (*GetInterchainTxWrappersRequest) XXX_Marshal

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

func (*GetInterchainTxWrappersRequest) XXX_Merge

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

func (*GetInterchainTxWrappersRequest) XXX_Size

func (m *GetInterchainTxWrappersRequest) XXX_Size() int

func (*GetInterchainTxWrappersRequest) XXX_Unmarshal

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

type GetMetaResponse

type GetMetaResponse struct {
	Meta map[string]uint64 `` /* 150-byte string literal not displayed */
}

func (*GetMetaResponse) Descriptor

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

func (*GetMetaResponse) GetMeta

func (m *GetMetaResponse) GetMeta() map[string]uint64

func (*GetMetaResponse) Marshal

func (m *GetMetaResponse) Marshal() (dAtA []byte, err error)

func (*GetMetaResponse) MarshalTo

func (m *GetMetaResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetMetaResponse) MarshalToSizedBuffer

func (m *GetMetaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetMetaResponse) ProtoMessage

func (*GetMetaResponse) ProtoMessage()

func (*GetMetaResponse) Reset

func (m *GetMetaResponse) Reset()

func (*GetMetaResponse) Size

func (m *GetMetaResponse) Size() (n int)

func (*GetMetaResponse) String

func (m *GetMetaResponse) String() string

func (*GetMetaResponse) Unmarshal

func (m *GetMetaResponse) Unmarshal(dAtA []byte) error

func (*GetMetaResponse) XXX_DiscardUnknown

func (m *GetMetaResponse) XXX_DiscardUnknown()

func (*GetMetaResponse) XXX_Marshal

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

func (*GetMetaResponse) XXX_Merge

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

func (*GetMetaResponse) XXX_Size

func (m *GetMetaResponse) XXX_Size() int

func (*GetMetaResponse) XXX_Unmarshal

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

type GetMultiSignsRequest

type GetMultiSignsRequest struct {
	Type    GetMultiSignsRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.GetMultiSignsRequest_Type" json:"type,omitempty"`
	Content string                    `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
}

func (*GetMultiSignsRequest) Descriptor

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

func (*GetMultiSignsRequest) GetContent

func (m *GetMultiSignsRequest) GetContent() string

func (*GetMultiSignsRequest) GetType

func (*GetMultiSignsRequest) Marshal

func (m *GetMultiSignsRequest) Marshal() (dAtA []byte, err error)

func (*GetMultiSignsRequest) MarshalTo

func (m *GetMultiSignsRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetMultiSignsRequest) MarshalToSizedBuffer

func (m *GetMultiSignsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetMultiSignsRequest) ProtoMessage

func (*GetMultiSignsRequest) ProtoMessage()

func (*GetMultiSignsRequest) Reset

func (m *GetMultiSignsRequest) Reset()

func (*GetMultiSignsRequest) Size

func (m *GetMultiSignsRequest) Size() (n int)

func (*GetMultiSignsRequest) String

func (m *GetMultiSignsRequest) String() string

func (*GetMultiSignsRequest) Unmarshal

func (m *GetMultiSignsRequest) Unmarshal(dAtA []byte) error

func (*GetMultiSignsRequest) XXX_DiscardUnknown

func (m *GetMultiSignsRequest) XXX_DiscardUnknown()

func (*GetMultiSignsRequest) XXX_Marshal

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

func (*GetMultiSignsRequest) XXX_Merge

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

func (*GetMultiSignsRequest) XXX_Size

func (m *GetMultiSignsRequest) XXX_Size() int

func (*GetMultiSignsRequest) XXX_Unmarshal

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

type GetMultiSignsRequest_Type

type GetMultiSignsRequest_Type int32
const (
	GetMultiSignsRequest_ASSET_EXCHANGE GetMultiSignsRequest_Type = 0
	GetMultiSignsRequest_IBTP           GetMultiSignsRequest_Type = 1
	GetMultiSignsRequest_BLOCK_HEADER   GetMultiSignsRequest_Type = 2
)

func (GetMultiSignsRequest_Type) EnumDescriptor

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

func (GetMultiSignsRequest_Type) String

func (x GetMultiSignsRequest_Type) String() string

type GetOutMessageRequest

type GetOutMessageRequest struct {
	To  string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Idx uint64 `protobuf:"varint,2,opt,name=idx,proto3" json:"idx,omitempty"`
}

func (*GetOutMessageRequest) Descriptor

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

func (*GetOutMessageRequest) GetIdx

func (m *GetOutMessageRequest) GetIdx() uint64

func (*GetOutMessageRequest) GetTo

func (m *GetOutMessageRequest) GetTo() string

func (*GetOutMessageRequest) Marshal

func (m *GetOutMessageRequest) Marshal() (dAtA []byte, err error)

func (*GetOutMessageRequest) MarshalTo

func (m *GetOutMessageRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetOutMessageRequest) MarshalToSizedBuffer

func (m *GetOutMessageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetOutMessageRequest) ProtoMessage

func (*GetOutMessageRequest) ProtoMessage()

func (*GetOutMessageRequest) Reset

func (m *GetOutMessageRequest) Reset()

func (*GetOutMessageRequest) Size

func (m *GetOutMessageRequest) Size() (n int)

func (*GetOutMessageRequest) String

func (m *GetOutMessageRequest) String() string

func (*GetOutMessageRequest) Unmarshal

func (m *GetOutMessageRequest) Unmarshal(dAtA []byte) error

func (*GetOutMessageRequest) XXX_DiscardUnknown

func (m *GetOutMessageRequest) XXX_DiscardUnknown()

func (*GetOutMessageRequest) XXX_Marshal

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

func (*GetOutMessageRequest) XXX_Merge

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

func (*GetOutMessageRequest) XXX_Size

func (m *GetOutMessageRequest) XXX_Size() int

func (*GetOutMessageRequest) XXX_Unmarshal

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

type GetTPSRequest

type GetTPSRequest struct {
	Begin uint64 `protobuf:"varint,1,opt,name=begin,proto3" json:"begin,omitempty"`
	End   uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
}

func (*GetTPSRequest) Descriptor

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

func (*GetTPSRequest) GetBegin

func (m *GetTPSRequest) GetBegin() uint64

func (*GetTPSRequest) GetEnd

func (m *GetTPSRequest) GetEnd() uint64

func (*GetTPSRequest) Marshal

func (m *GetTPSRequest) Marshal() (dAtA []byte, err error)

func (*GetTPSRequest) MarshalTo

func (m *GetTPSRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetTPSRequest) MarshalToSizedBuffer

func (m *GetTPSRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetTPSRequest) ProtoMessage

func (*GetTPSRequest) ProtoMessage()

func (*GetTPSRequest) Reset

func (m *GetTPSRequest) Reset()

func (*GetTPSRequest) Size

func (m *GetTPSRequest) Size() (n int)

func (*GetTPSRequest) String

func (m *GetTPSRequest) String() string

func (*GetTPSRequest) Unmarshal

func (m *GetTPSRequest) Unmarshal(dAtA []byte) error

func (*GetTPSRequest) XXX_DiscardUnknown

func (m *GetTPSRequest) XXX_DiscardUnknown()

func (*GetTPSRequest) XXX_Marshal

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

func (*GetTPSRequest) XXX_Merge

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

func (*GetTPSRequest) XXX_Size

func (m *GetTPSRequest) XXX_Size() int

func (*GetTPSRequest) XXX_Unmarshal

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

type GetTransactionResponse

type GetTransactionResponse struct {
	Tx     *BxhTransaction  `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	TxMeta *TransactionMeta `protobuf:"bytes,2,opt,name=tx_meta,json=txMeta,proto3" json:"tx_meta,omitempty"`
}

func (*GetTransactionResponse) Descriptor

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

func (*GetTransactionResponse) GetTx

func (*GetTransactionResponse) GetTxMeta

func (m *GetTransactionResponse) GetTxMeta() *TransactionMeta

func (*GetTransactionResponse) Marshal

func (m *GetTransactionResponse) Marshal() (dAtA []byte, err error)

func (*GetTransactionResponse) MarshalTo

func (m *GetTransactionResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetTransactionResponse) MarshalToSizedBuffer

func (m *GetTransactionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetTransactionResponse) ProtoMessage

func (*GetTransactionResponse) ProtoMessage()

func (*GetTransactionResponse) Reset

func (m *GetTransactionResponse) Reset()

func (*GetTransactionResponse) Size

func (m *GetTransactionResponse) Size() (n int)

func (*GetTransactionResponse) String

func (m *GetTransactionResponse) String() string

func (*GetTransactionResponse) Unmarshal

func (m *GetTransactionResponse) Unmarshal(dAtA []byte) error

func (*GetTransactionResponse) XXX_DiscardUnknown

func (m *GetTransactionResponse) XXX_DiscardUnknown()

func (*GetTransactionResponse) XXX_Marshal

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

func (*GetTransactionResponse) XXX_Merge

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

func (*GetTransactionResponse) XXX_Size

func (m *GetTransactionResponse) XXX_Size() int

func (*GetTransactionResponse) XXX_Unmarshal

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

type HeartBeatRespones

type HeartBeatRespones struct {
	Status HeartBeatRespones_Status `protobuf:"varint,1,opt,name=status,proto3,enum=pb.HeartBeatRespones_Status" json:"status,omitempty"`
}

func (*HeartBeatRespones) Descriptor

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

func (*HeartBeatRespones) GetStatus

func (*HeartBeatRespones) Marshal

func (m *HeartBeatRespones) Marshal() (dAtA []byte, err error)

func (*HeartBeatRespones) MarshalTo

func (m *HeartBeatRespones) MarshalTo(dAtA []byte) (int, error)

func (*HeartBeatRespones) MarshalToSizedBuffer

func (m *HeartBeatRespones) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HeartBeatRespones) ProtoMessage

func (*HeartBeatRespones) ProtoMessage()

func (*HeartBeatRespones) Reset

func (m *HeartBeatRespones) Reset()

func (*HeartBeatRespones) Size

func (m *HeartBeatRespones) Size() (n int)

func (*HeartBeatRespones) String

func (m *HeartBeatRespones) String() string

func (*HeartBeatRespones) Unmarshal

func (m *HeartBeatRespones) Unmarshal(dAtA []byte) error

func (*HeartBeatRespones) XXX_DiscardUnknown

func (m *HeartBeatRespones) XXX_DiscardUnknown()

func (*HeartBeatRespones) XXX_Marshal

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

func (*HeartBeatRespones) XXX_Merge

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

func (*HeartBeatRespones) XXX_Size

func (m *HeartBeatRespones) XXX_Size() int

func (*HeartBeatRespones) XXX_Unmarshal

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

type HeartBeatRespones_Status

type HeartBeatRespones_Status int32
const (
	HeartBeatRespones_ALIVE HeartBeatRespones_Status = 0
	HeartBeatRespones_DEAD  HeartBeatRespones_Status = 1
)

func (HeartBeatRespones_Status) EnumDescriptor

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

func (HeartBeatRespones_Status) String

func (x HeartBeatRespones_Status) String() string

type IBTP

type IBTP struct {
	// ID of sending chain
	From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	// ID of receiving chain
	To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// Index of inter-chain transaction
	Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// inter-chain transaction type
	Type IBTP_Type `protobuf:"varint,4,opt,name=type,proto3,enum=pb.IBTP_Type" json:"type,omitempty"`
	// Timestamp of inter-chain events
	Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Proof of inter-chain transactions
	Proof []byte `protobuf:"bytes,6,opt,name=proof,proto3" json:"proof,omitempty"`
	// Encoded content used by inter-chain
	Payload []byte `protobuf:"bytes,7,opt,name=payload,proto3" json:"payload,omitempty"`
	// info about other txs in the same group
	Group *StringUint64Map `protobuf:"bytes,8,opt,name=group,proto3" json:"group,omitempty"`
	// Message version
	Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"`
	// Self-defined fields used by app-chain
	Extra []byte `protobuf:"bytes,10,opt,name=extra,proto3" json:"extra,omitempty"`
}

Inter-blockchain Transfer Protocol

func (*IBTP) Category

func (m *IBTP) Category() IBTP_Category

func (*IBTP) CheckServiceID

func (m *IBTP) CheckServiceID() error

func (*IBTP) Descriptor

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

func (*IBTP) GetExtra

func (m *IBTP) GetExtra() []byte

func (*IBTP) GetFrom

func (m *IBTP) GetFrom() string

func (*IBTP) GetGroup

func (m *IBTP) GetGroup() *StringUint64Map

func (*IBTP) GetNonce

func (m *IBTP) GetNonce() uint64

func (*IBTP) GetPayload

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

func (*IBTP) GetProof

func (m *IBTP) GetProof() []byte

func (*IBTP) GetTimestamp

func (m *IBTP) GetTimestamp() int64

func (*IBTP) GetTo

func (m *IBTP) GetTo() string

func (*IBTP) GetType

func (m *IBTP) GetType() IBTP_Type

func (*IBTP) GetVersion

func (m *IBTP) GetVersion() string

func (*IBTP) Hash

func (m *IBTP) Hash() *types.Hash

func (*IBTP) ID

func (m *IBTP) ID() string

func (*IBTP) Marshal

func (m *IBTP) Marshal() (dAtA []byte, err error)

func (*IBTP) MarshalTo

func (m *IBTP) MarshalTo(dAtA []byte) (int, error)

func (*IBTP) MarshalToSizedBuffer

func (m *IBTP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IBTP) ParseFrom

func (m *IBTP) ParseFrom() (string, string, string)

ParseFrom should be called after CheckServiceID is called

func (*IBTP) ParseTo

func (m *IBTP) ParseTo() (string, string, string)

ParseTo should be called after CheckServiceID is called

func (*IBTP) ProtoMessage

func (*IBTP) ProtoMessage()

func (*IBTP) Reset

func (m *IBTP) Reset()

func (*IBTP) ServicePair

func (m *IBTP) ServicePair() string

func (*IBTP) Size

func (m *IBTP) Size() (n int)

func (*IBTP) String

func (m *IBTP) String() string

func (*IBTP) Unmarshal

func (m *IBTP) Unmarshal(dAtA []byte) error

func (*IBTP) XXX_DiscardUnknown

func (m *IBTP) XXX_DiscardUnknown()

func (*IBTP) XXX_Marshal

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

func (*IBTP) XXX_Merge

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

func (*IBTP) XXX_Size

func (m *IBTP) XXX_Size() int

func (*IBTP) XXX_Unmarshal

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

type IBTPX

type IBTPX struct {
	Ibtp *IBTP `protobuf:"bytes,1,opt,name=ibtp,proto3" json:"ibtp,omitempty"`
	// route mode
	Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
	// 路由节点签名路径,主要是对data hash签名,主要是相互校验。sidecar节点之间相互校验。sidecar 节点需要注册到中继连上。还可以过滤已经发送过的交易、也可以作恶惩罚。使用bls签名算法,聚合签名。
	RouteSign      []string `protobuf:"bytes,3,rep,name=routeSign,proto3" json:"routeSign,omitempty"`
	RouteMethod    string   `protobuf:"bytes,4,opt,name=routeMethod,proto3" json:"routeMethod,omitempty"`
	RouteMethodArg []string `protobuf:"bytes,5,rep,name=routeMethodArg,proto3" json:"routeMethodArg,omitempty"`
	IsValid        bool     `protobuf:"varint,6,opt,name=IsValid,proto3" json:"IsValid,omitempty"`
	Count          int32    `protobuf:"varint,7,opt,name=count,proto3" json:"count,omitempty"`
}

func (*IBTPX) Descriptor

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

func (*IBTPX) FrontPart

func (m *IBTPX) FrontPart() []byte

func (*IBTPX) GetCount

func (m *IBTPX) GetCount() int32

func (*IBTPX) GetIbtp

func (m *IBTPX) GetIbtp() *IBTP

func (*IBTPX) GetIsValid

func (m *IBTPX) GetIsValid() bool

func (*IBTPX) GetMode

func (m *IBTPX) GetMode() string

func (*IBTPX) GetRouteMethod

func (m *IBTPX) GetRouteMethod() string

func (*IBTPX) GetRouteMethodArg

func (m *IBTPX) GetRouteMethodArg() []string

func (*IBTPX) GetRouteSign

func (m *IBTPX) GetRouteSign() []string

func (*IBTPX) Hash

func (m *IBTPX) Hash() *types.Hash

func (*IBTPX) Marshal

func (m *IBTPX) Marshal() (dAtA []byte, err error)

func (*IBTPX) MarshalTo

func (m *IBTPX) MarshalTo(dAtA []byte) (int, error)

func (*IBTPX) MarshalToSizedBuffer

func (m *IBTPX) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IBTPX) ProtoMessage

func (*IBTPX) ProtoMessage()

func (*IBTPX) Reset

func (m *IBTPX) Reset()

func (*IBTPX) SetMethod

func (m *IBTPX) SetMethod(method string, args []string)

func (*IBTPX) Size

func (m *IBTPX) Size() (n int)

func (*IBTPX) String

func (m *IBTPX) String() string

func (*IBTPX) Unmarshal

func (m *IBTPX) Unmarshal(dAtA []byte) error

func (*IBTPX) Verify

func (m *IBTPX) Verify(verify func(digest []byte, sig []byte) (bool, error)) bool

func (*IBTPX) XXX_DiscardUnknown

func (m *IBTPX) XXX_DiscardUnknown()

func (*IBTPX) XXX_Marshal

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

func (*IBTPX) XXX_Merge

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

func (*IBTPX) XXX_Size

func (m *IBTPX) XXX_Size() int

func (*IBTPX) XXX_Unmarshal

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

type IBTP_Category

type IBTP_Category int32
const (
	IBTP_REQUEST  IBTP_Category = 0
	IBTP_RESPONSE IBTP_Category = 1
	IBTP_UNKNOWN  IBTP_Category = 2
)

func (IBTP_Category) EnumDescriptor

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

func (IBTP_Category) String

func (x IBTP_Category) String() string

type IBTP_Type

type IBTP_Type int32
const (
	IBTP_INTERCHAIN       IBTP_Type = 0
	IBTP_RECEIPT_SUCCESS  IBTP_Type = 1
	IBTP_RECEIPT_FAILURE  IBTP_Type = 2
	IBTP_ROLLBACK         IBTP_Type = 3
	IBTP_RECEIPT_ROLLBACK IBTP_Type = 4
)

func (IBTP_Type) EnumDescriptor

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

func (IBTP_Type) String

func (x IBTP_Type) String() string

type IBTPs

type IBTPs struct {
	Ibtps []*IBTP `protobuf:"bytes,1,rep,name=ibtps,proto3" json:"ibtps,omitempty"`
}

func (*IBTPs) Descriptor

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

func (*IBTPs) GetIbtps

func (m *IBTPs) GetIbtps() []*IBTP

func (*IBTPs) Marshal

func (m *IBTPs) Marshal() (dAtA []byte, err error)

func (*IBTPs) MarshalTo

func (m *IBTPs) MarshalTo(dAtA []byte) (int, error)

func (*IBTPs) MarshalToSizedBuffer

func (m *IBTPs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IBTPs) ProtoMessage

func (*IBTPs) ProtoMessage()

func (*IBTPs) Reset

func (m *IBTPs) Reset()

func (*IBTPs) Size

func (m *IBTPs) Size() (n int)

func (*IBTPs) String

func (m *IBTPs) String() string

func (*IBTPs) Unmarshal

func (m *IBTPs) Unmarshal(dAtA []byte) error

func (*IBTPs) XXX_DiscardUnknown

func (m *IBTPs) XXX_DiscardUnknown()

func (*IBTPs) XXX_Marshal

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

func (*IBTPs) XXX_Merge

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

func (*IBTPs) XXX_Size

func (m *IBTPs) XXX_Size() int

func (*IBTPs) XXX_Unmarshal

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

type InitializeRequest

type InitializeRequest struct {
	ConfigPath string `protobuf:"bytes,1,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
	SidecarId  string `protobuf:"bytes,2,opt,name=sidecar_id,json=sidecarId,proto3" json:"sidecar_id,omitempty"`
	Extra      []byte `protobuf:"bytes,3,opt,name=extra,proto3" json:"extra,omitempty"`
}

func (*InitializeRequest) Descriptor

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

func (*InitializeRequest) GetConfigPath

func (m *InitializeRequest) GetConfigPath() string

func (*InitializeRequest) GetExtra

func (m *InitializeRequest) GetExtra() []byte

func (*InitializeRequest) GetSidecarId

func (m *InitializeRequest) GetSidecarId() string

func (*InitializeRequest) Marshal

func (m *InitializeRequest) Marshal() (dAtA []byte, err error)

func (*InitializeRequest) MarshalTo

func (m *InitializeRequest) MarshalTo(dAtA []byte) (int, error)

func (*InitializeRequest) MarshalToSizedBuffer

func (m *InitializeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InitializeRequest) ProtoMessage

func (*InitializeRequest) ProtoMessage()

func (*InitializeRequest) Reset

func (m *InitializeRequest) Reset()

func (*InitializeRequest) Size

func (m *InitializeRequest) Size() (n int)

func (*InitializeRequest) String

func (m *InitializeRequest) String() string

func (*InitializeRequest) Unmarshal

func (m *InitializeRequest) Unmarshal(dAtA []byte) error

func (*InitializeRequest) XXX_DiscardUnknown

func (m *InitializeRequest) XXX_DiscardUnknown()

func (*InitializeRequest) XXX_Marshal

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

func (*InitializeRequest) XXX_Merge

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

func (*InitializeRequest) XXX_Size

func (m *InitializeRequest) XXX_Size() int

func (*InitializeRequest) XXX_Unmarshal

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

type Interchain

type Interchain struct {
	ID                   string
	InterchainCounter    map[string]uint64
	ReceiptCounter       map[string]uint64
	SourceReceiptCounter map[string]uint64
}

func (*Interchain) Marshal

func (m *Interchain) Marshal() ([]byte, error)

func (*Interchain) Unmarshal

func (m *Interchain) Unmarshal(data []byte) error

type InterchainMeta

type InterchainMeta struct {
	Counter map[string]*VerifiedIndexSlice
	L2Roots []types.Hash
}

func (*InterchainMeta) Marshal

func (m *InterchainMeta) Marshal() ([]byte, error)

func (*InterchainMeta) Unmarshal

func (m *InterchainMeta) Unmarshal(data []byte) error

type InterchainMetaS

type InterchainMetaS struct {
	Counter *StringVerifiedIndexSliceMap                 `protobuf:"bytes,1,opt,name=counter,proto3" json:"counter,omitempty"`
	L2Roots []github_com_meshplus_bitxhub_kit_types.Hash `protobuf:"bytes,2,rep,name=l2Roots,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Hash" json:"l2Roots,omitempty"`
}

func (*InterchainMetaS) Descriptor

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

func (*InterchainMetaS) GetCounter

func (*InterchainMetaS) Marshal

func (m *InterchainMetaS) Marshal() (dAtA []byte, err error)

func (*InterchainMetaS) MarshalTo

func (m *InterchainMetaS) MarshalTo(dAtA []byte) (int, error)

func (*InterchainMetaS) MarshalToSizedBuffer

func (m *InterchainMetaS) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InterchainMetaS) ProtoMessage

func (*InterchainMetaS) ProtoMessage()

func (*InterchainMetaS) Reset

func (m *InterchainMetaS) Reset()

func (*InterchainMetaS) Size

func (m *InterchainMetaS) Size() (n int)

func (*InterchainMetaS) String

func (m *InterchainMetaS) String() string

func (*InterchainMetaS) Unmarshal

func (m *InterchainMetaS) Unmarshal(dAtA []byte) error

func (*InterchainMetaS) XXX_DiscardUnknown

func (m *InterchainMetaS) XXX_DiscardUnknown()

func (*InterchainMetaS) XXX_Marshal

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

func (*InterchainMetaS) XXX_Merge

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

func (*InterchainMetaS) XXX_Size

func (m *InterchainMetaS) XXX_Size() int

func (*InterchainMetaS) XXX_Unmarshal

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

type InterchainS

type InterchainS struct {
	ID                   string           `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	InterchainCounter    *StringUint64Map `protobuf:"bytes,2,opt,name=InterchainCounter,proto3" json:"InterchainCounter,omitempty"`
	ReceiptCounter       *StringUint64Map `protobuf:"bytes,3,opt,name=ReceiptCounter,proto3" json:"ReceiptCounter,omitempty"`
	SourceReceiptCounter *StringUint64Map `protobuf:"bytes,4,opt,name=SourceReceiptCounter,proto3" json:"SourceReceiptCounter,omitempty"`
}

func (*InterchainS) Descriptor

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

func (*InterchainS) GetID

func (m *InterchainS) GetID() string

func (*InterchainS) GetInterchainCounter

func (m *InterchainS) GetInterchainCounter() *StringUint64Map

func (*InterchainS) GetReceiptCounter

func (m *InterchainS) GetReceiptCounter() *StringUint64Map

func (*InterchainS) GetSourceReceiptCounter

func (m *InterchainS) GetSourceReceiptCounter() *StringUint64Map

func (*InterchainS) Marshal

func (m *InterchainS) Marshal() (dAtA []byte, err error)

func (*InterchainS) MarshalTo

func (m *InterchainS) MarshalTo(dAtA []byte) (int, error)

func (*InterchainS) MarshalToSizedBuffer

func (m *InterchainS) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InterchainS) ProtoMessage

func (*InterchainS) ProtoMessage()

func (*InterchainS) Reset

func (m *InterchainS) Reset()

func (*InterchainS) Size

func (m *InterchainS) Size() (n int)

func (*InterchainS) String

func (m *InterchainS) String() string

func (*InterchainS) Unmarshal

func (m *InterchainS) Unmarshal(dAtA []byte) error

func (*InterchainS) XXX_DiscardUnknown

func (m *InterchainS) XXX_DiscardUnknown()

func (*InterchainS) XXX_Marshal

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

func (*InterchainS) XXX_Merge

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

func (*InterchainS) XXX_Size

func (m *InterchainS) XXX_Size() int

func (*InterchainS) XXX_Unmarshal

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

type InterchainTxWrapper

type InterchainTxWrapper struct {
	L2Roots      []github_com_meshplus_bitxhub_kit_types.Hash `protobuf:"bytes,1,rep,name=l2Roots,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Hash" json:"l2Roots,omitempty"`
	Transactions []*VerifiedTx                                `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"`
	Height       uint64                                       `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
}

func (*InterchainTxWrapper) Descriptor

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

func (*InterchainTxWrapper) GetHeight

func (m *InterchainTxWrapper) GetHeight() uint64

func (*InterchainTxWrapper) GetTransactions

func (m *InterchainTxWrapper) GetTransactions() []*VerifiedTx

func (*InterchainTxWrapper) Marshal

func (m *InterchainTxWrapper) Marshal() (dAtA []byte, err error)

func (*InterchainTxWrapper) MarshalTo

func (m *InterchainTxWrapper) MarshalTo(dAtA []byte) (int, error)

func (*InterchainTxWrapper) MarshalToSizedBuffer

func (m *InterchainTxWrapper) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InterchainTxWrapper) ProtoMessage

func (*InterchainTxWrapper) ProtoMessage()

func (*InterchainTxWrapper) Reset

func (m *InterchainTxWrapper) Reset()

func (*InterchainTxWrapper) Size

func (m *InterchainTxWrapper) Size() (n int)

func (*InterchainTxWrapper) String

func (m *InterchainTxWrapper) String() string

func (*InterchainTxWrapper) Unmarshal

func (m *InterchainTxWrapper) Unmarshal(dAtA []byte) error

func (*InterchainTxWrapper) XXX_DiscardUnknown

func (m *InterchainTxWrapper) XXX_DiscardUnknown()

func (*InterchainTxWrapper) XXX_Marshal

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

func (*InterchainTxWrapper) XXX_Merge

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

func (*InterchainTxWrapper) XXX_Size

func (m *InterchainTxWrapper) XXX_Size() int

func (*InterchainTxWrapper) XXX_Unmarshal

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

type InterchainTxWrappers

type InterchainTxWrappers struct {
	InterchainTxWrappers []*InterchainTxWrapper `protobuf:"bytes,1,rep,name=interchainTxWrappers,proto3" json:"interchainTxWrappers,omitempty"`
}

func (*InterchainTxWrappers) Descriptor

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

func (*InterchainTxWrappers) GetInterchainTxWrappers

func (m *InterchainTxWrappers) GetInterchainTxWrappers() []*InterchainTxWrapper

func (*InterchainTxWrappers) Marshal

func (m *InterchainTxWrappers) Marshal() (dAtA []byte, err error)

func (*InterchainTxWrappers) MarshalTo

func (m *InterchainTxWrappers) MarshalTo(dAtA []byte) (int, error)

func (*InterchainTxWrappers) MarshalToSizedBuffer

func (m *InterchainTxWrappers) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InterchainTxWrappers) ProtoMessage

func (*InterchainTxWrappers) ProtoMessage()

func (*InterchainTxWrappers) Reset

func (m *InterchainTxWrappers) Reset()

func (*InterchainTxWrappers) Size

func (m *InterchainTxWrappers) Size() (n int)

func (*InterchainTxWrappers) String

func (m *InterchainTxWrappers) String() string

func (*InterchainTxWrappers) Unmarshal

func (m *InterchainTxWrappers) Unmarshal(dAtA []byte) error

func (*InterchainTxWrappers) XXX_DiscardUnknown

func (m *InterchainTxWrappers) XXX_DiscardUnknown()

func (*InterchainTxWrappers) XXX_Marshal

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

func (*InterchainTxWrappers) XXX_Merge

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

func (*InterchainTxWrappers) XXX_Size

func (m *InterchainTxWrappers) XXX_Size() int

func (*InterchainTxWrappers) XXX_Unmarshal

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

type InvokePayload

type InvokePayload struct {
	Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Args   []*Arg `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
}

func (*InvokePayload) Descriptor

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

func (*InvokePayload) GetArgs

func (m *InvokePayload) GetArgs() []*Arg

func (*InvokePayload) GetMethod

func (m *InvokePayload) GetMethod() string

func (*InvokePayload) Marshal

func (m *InvokePayload) Marshal() (dAtA []byte, err error)

func (*InvokePayload) MarshalTo

func (m *InvokePayload) MarshalTo(dAtA []byte) (int, error)

func (*InvokePayload) MarshalToSizedBuffer

func (m *InvokePayload) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InvokePayload) ProtoMessage

func (*InvokePayload) ProtoMessage()

func (*InvokePayload) Reset

func (m *InvokePayload) Reset()

func (*InvokePayload) Size

func (m *InvokePayload) Size() (n int)

func (*InvokePayload) String

func (m *InvokePayload) String() string

func (*InvokePayload) Unmarshal

func (m *InvokePayload) Unmarshal(dAtA []byte) error

func (*InvokePayload) XXX_DiscardUnknown

func (m *InvokePayload) XXX_DiscardUnknown()

func (*InvokePayload) XXX_Marshal

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

func (*InvokePayload) XXX_Merge

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

func (*InvokePayload) XXX_Size

func (m *InvokePayload) XXX_Size() int

func (*InvokePayload) XXX_Unmarshal

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

type Log

type Log struct {
	Address     types.Address  `json:"address" gencodec:"required"`
	Topics      []types.Hash   `json:"topics" gencodec:"required"`
	Data        hexutil.Bytes  `json:"data" gencodec:"required"`
	BlockNumber hexutil.Uint64 `json:"blockNumber"`
	TxHash      types.Hash     `json:"transactionHash" gencodec:"required"`
	TxIndex     hexutil.Uint   `json:"transactionIndex"`
	BlockHash   types.Hash     `json:"blockHash"`
	Index       hexutil.Uint   `json:"logIndex"`
	Removed     bool           `json:"removed"`
}

type Message

type Message struct {
	Type    Message_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.Message_Type" json:"type,omitempty"`
	Payload *Pack        `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	Version string       `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
}

func Msg

func Msg(typ Message_Type, ok bool, data []byte) *Message

func (*Message) Descriptor

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

func (*Message) GetIBTPX

func (m *Message) GetIBTPX() (*IBTPX, error)

func (*Message) GetPayload

func (m *Message) GetPayload() *Pack

func (*Message) GetType

func (m *Message) GetType() Message_Type

func (*Message) GetVersion

func (m *Message) GetVersion() string

func (*Message) IsIbtpRouter

func (m *Message) IsIbtpRouter() bool

func (*Message) IsLocalMsg

func (m *Message) IsLocalMsg() bool

func (*Message) Marshal

func (m *Message) Marshal() (dAtA []byte, err error)

func (*Message) MarshalTo

func (m *Message) MarshalTo(dAtA []byte) (int, error)

func (*Message) MarshalToSizedBuffer

func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) Size

func (m *Message) Size() (n int)

func (*Message) String

func (m *Message) String() string

func (*Message) Unmarshal

func (m *Message) Unmarshal(dAtA []byte) error

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

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

func (*Message) XXX_Merge

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

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

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

type Message_Type

type Message_Type int32
const (
	Message_ACK                 Message_Type = 0
	Message_ADDRESS_GET         Message_Type = 1
	Message_APPCHAIN_REGISTER   Message_Type = 2
	Message_APPCHAIN_UPDATE     Message_Type = 3
	Message_APPCHAIN_GET        Message_Type = 4
	Message_INTERCHAIN_META_GET Message_Type = 5
	Message_RULE_DEPLOY         Message_Type = 6
	//异步完成
	Message_IBTP_GET          Message_Type = 7
	Message_IBTP_SEND         Message_Type = 8
	Message_IBTP_RECEIPT_SEND Message_Type = 9
	Message_IBTP_RECEIPT_GET  Message_Type = 10
	Message_PEER_INFO_GET     Message_Type = 11
)

func (Message_Type) EnumDescriptor

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

func (Message_Type) String

func (x Message_Type) String() string

type NameResponse

type NameResponse struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}

func (*NameResponse) Descriptor

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

func (*NameResponse) GetName

func (m *NameResponse) GetName() string

func (*NameResponse) Marshal

func (m *NameResponse) Marshal() (dAtA []byte, err error)

func (*NameResponse) MarshalTo

func (m *NameResponse) MarshalTo(dAtA []byte) (int, error)

func (*NameResponse) MarshalToSizedBuffer

func (m *NameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NameResponse) ProtoMessage

func (*NameResponse) ProtoMessage()

func (*NameResponse) Reset

func (m *NameResponse) Reset()

func (*NameResponse) Size

func (m *NameResponse) Size() (n int)

func (*NameResponse) String

func (m *NameResponse) String() string

func (*NameResponse) Unmarshal

func (m *NameResponse) Unmarshal(dAtA []byte) error

func (*NameResponse) XXX_DiscardUnknown

func (m *NameResponse) XXX_DiscardUnknown()

func (*NameResponse) XXX_Marshal

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

func (*NameResponse) XXX_Merge

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

func (*NameResponse) XXX_Size

func (m *NameResponse) XXX_Size() int

func (*NameResponse) XXX_Unmarshal

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

type Pack

type Pack struct {
	Ok   bool   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}

func (*Pack) Descriptor

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

func (*Pack) GetData

func (m *Pack) GetData() []byte

func (*Pack) GetOk

func (m *Pack) GetOk() bool

func (*Pack) Marshal

func (m *Pack) Marshal() (dAtA []byte, err error)

func (*Pack) MarshalTo

func (m *Pack) MarshalTo(dAtA []byte) (int, error)

func (*Pack) MarshalToSizedBuffer

func (m *Pack) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Pack) ProtoMessage

func (*Pack) ProtoMessage()

func (*Pack) Reset

func (m *Pack) Reset()

func (*Pack) Size

func (m *Pack) Size() (n int)

func (*Pack) String

func (m *Pack) String() string

func (*Pack) Unmarshal

func (m *Pack) Unmarshal(dAtA []byte) error

func (*Pack) XXX_DiscardUnknown

func (m *Pack) XXX_DiscardUnknown()

func (*Pack) XXX_Marshal

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

func (*Pack) XXX_Merge

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

func (*Pack) XXX_Size

func (m *Pack) XXX_Size() int

func (*Pack) XXX_Unmarshal

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

type Payload

type Payload struct {
	Encrypted bool   `protobuf:"varint,1,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
	Content   []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
}

func (*Payload) Descriptor

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

func (*Payload) GetContent

func (m *Payload) GetContent() []byte

func (*Payload) GetEncrypted

func (m *Payload) GetEncrypted() bool

func (*Payload) Marshal

func (m *Payload) Marshal() (dAtA []byte, err error)

func (*Payload) MarshalTo

func (m *Payload) MarshalTo(dAtA []byte) (int, error)

func (*Payload) MarshalToSizedBuffer

func (m *Payload) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) Reset

func (m *Payload) Reset()

func (*Payload) Size

func (m *Payload) Size() (n int)

func (*Payload) String

func (m *Payload) String() string

func (*Payload) Unmarshal

func (m *Payload) Unmarshal(dAtA []byte) error

func (*Payload) XXX_DiscardUnknown

func (m *Payload) XXX_DiscardUnknown()

func (*Payload) XXX_Marshal

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

func (*Payload) XXX_Merge

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

func (*Payload) XXX_Size

func (m *Payload) XXX_Size() int

func (*Payload) XXX_Unmarshal

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

type PeerInfo

type PeerInfo struct {
	ID  string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Tag string `protobuf:"bytes,2,opt,name=Tag,proto3" json:"Tag,omitempty"`
}

func (*PeerInfo) Descriptor

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

func (*PeerInfo) GetID

func (m *PeerInfo) GetID() string

func (*PeerInfo) GetTag

func (m *PeerInfo) GetTag() string

func (*PeerInfo) Marshal

func (m *PeerInfo) Marshal() (dAtA []byte, err error)

func (*PeerInfo) MarshalTo

func (m *PeerInfo) MarshalTo(dAtA []byte) (int, error)

func (*PeerInfo) MarshalToSizedBuffer

func (m *PeerInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PeerInfo) ProtoMessage

func (*PeerInfo) ProtoMessage()

func (*PeerInfo) Reset

func (m *PeerInfo) Reset()

func (*PeerInfo) Size

func (m *PeerInfo) Size() (n int)

func (*PeerInfo) String

func (m *PeerInfo) String() string

func (*PeerInfo) Unmarshal

func (m *PeerInfo) Unmarshal(dAtA []byte) error

func (*PeerInfo) XXX_DiscardUnknown

func (m *PeerInfo) XXX_DiscardUnknown()

func (*PeerInfo) XXX_Marshal

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

func (*PeerInfo) XXX_Merge

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

func (*PeerInfo) XXX_Size

func (m *PeerInfo) XXX_Size() int

func (*PeerInfo) XXX_Unmarshal

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

type Receipt

type Receipt struct {
	Version         []byte                                         `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	TxHash          *github_com_meshplus_bitxhub_kit_types.Hash    `` /* 133-byte string literal not displayed */
	Ret             []byte                                         `protobuf:"bytes,3,opt,name=ret,proto3" json:"ret,omitempty"`
	Status          Receipt_Status                                 `protobuf:"varint,4,opt,name=status,proto3,enum=pb.Receipt_Status" json:"status,omitempty"`
	Events          []*Event                                       `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"`
	GasUsed         uint64                                         `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	EvmLogs         []*EvmLog                                      `protobuf:"bytes,7,rep,name=evm_logs,json=evmLogs,proto3" json:"evm_logs,omitempty"`
	Bloom           *github_com_meshplus_bitxhub_kit_types.Bloom   `protobuf:"bytes,8,opt,name=bloom,proto3,customtype=github.com/meshplus/bitxhub-kit/types.Bloom" json:"bloom,omitempty"`
	ContractAddress *github_com_meshplus_bitxhub_kit_types.Address `` /* 163-byte string literal not displayed */
}

func (*Receipt) Descriptor

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

func (*Receipt) GetEvents

func (m *Receipt) GetEvents() []*Event

func (*Receipt) GetEvmLogs

func (m *Receipt) GetEvmLogs() []*EvmLog

func (*Receipt) GetGasUsed

func (m *Receipt) GetGasUsed() uint64

func (*Receipt) GetRet

func (m *Receipt) GetRet() []byte

func (*Receipt) GetStatus

func (m *Receipt) GetStatus() Receipt_Status

func (*Receipt) GetVersion

func (m *Receipt) GetVersion() []byte

func (*Receipt) Hash

func (m *Receipt) Hash() *types.Hash

func (*Receipt) IsSuccess

func (m *Receipt) IsSuccess() bool

func (*Receipt) Marshal

func (m *Receipt) Marshal() (dAtA []byte, err error)

func (*Receipt) MarshalTo

func (m *Receipt) MarshalTo(dAtA []byte) (int, error)

func (*Receipt) MarshalToSizedBuffer

func (m *Receipt) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Receipt) ProtoMessage

func (*Receipt) ProtoMessage()

func (*Receipt) Reset

func (m *Receipt) Reset()

func (*Receipt) Size

func (m *Receipt) Size() (n int)

func (*Receipt) String

func (m *Receipt) String() string

func (*Receipt) Unmarshal

func (m *Receipt) Unmarshal(dAtA []byte) error

func (*Receipt) XXX_DiscardUnknown

func (m *Receipt) XXX_DiscardUnknown()

func (*Receipt) XXX_Marshal

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

func (*Receipt) XXX_Merge

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

func (*Receipt) XXX_Size

func (m *Receipt) XXX_Size() int

func (*Receipt) XXX_Unmarshal

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

type Receipt_Status

type Receipt_Status int32
const (
	Receipt_SUCCESS Receipt_Status = 0
	Receipt_FAILED  Receipt_Status = 1
)

func (Receipt_Status) EnumDescriptor

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

func (Receipt_Status) String

func (x Receipt_Status) String() string

type Receipts

type Receipts struct {
	Receipts []*Receipt `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"`
}

func (*Receipts) Descriptor

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

func (*Receipts) GetReceipts

func (m *Receipts) GetReceipts() []*Receipt

func (*Receipts) Marshal

func (m *Receipts) Marshal() (dAtA []byte, err error)

func (*Receipts) MarshalTo

func (m *Receipts) MarshalTo(dAtA []byte) (int, error)

func (*Receipts) MarshalToSizedBuffer

func (m *Receipts) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Receipts) ProtoMessage

func (*Receipts) ProtoMessage()

func (*Receipts) Reset

func (m *Receipts) Reset()

func (*Receipts) Size

func (m *Receipts) Size() (n int)

func (*Receipts) String

func (m *Receipts) String() string

func (*Receipts) Unmarshal

func (m *Receipts) Unmarshal(dAtA []byte) error

func (*Receipts) XXX_DiscardUnknown

func (m *Receipts) XXX_DiscardUnknown()

func (*Receipts) XXX_Marshal

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

func (*Receipts) XXX_Merge

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

func (*Receipts) XXX_Size

func (m *Receipts) XXX_Size() int

func (*Receipts) XXX_Unmarshal

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

type Request

type Request struct {
	Type Request_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.Request_Type" json:"type,omitempty"`
}

func (*Request) Descriptor

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

func (*Request) GetType

func (m *Request) GetType() Request_Type

func (*Request) Marshal

func (m *Request) Marshal() (dAtA []byte, err error)

func (*Request) MarshalTo

func (m *Request) MarshalTo(dAtA []byte) (int, error)

func (*Request) MarshalToSizedBuffer

func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) Size

func (m *Request) Size() (n int)

func (*Request) String

func (m *Request) String() string

func (*Request) Unmarshal

func (m *Request) Unmarshal(dAtA []byte) error

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

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

func (*Request) XXX_Merge

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

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

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

type Request_Type

type Request_Type int32
const (
	Request_CHAIN_STATUS Request_Type = 0
	Request_NETWORK      Request_Type = 1
	Request_VALIDATORS   Request_Type = 2
)

func (Request_Type) EnumDescriptor

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

func (Request_Type) String

func (x Request_Type) String() string

type Response

type Response struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*Response) Descriptor

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

func (*Response) GetData

func (m *Response) GetData() []byte

func (*Response) Marshal

func (m *Response) Marshal() (dAtA []byte, err error)

func (*Response) MarshalTo

func (m *Response) MarshalTo(dAtA []byte) (int, error)

func (*Response) MarshalToSizedBuffer

func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) Size

func (m *Response) Size() (n int)

func (*Response) String

func (m *Response) String() string

func (*Response) Unmarshal

func (m *Response) Unmarshal(dAtA []byte) error

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

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

func (*Response) XXX_Merge

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

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

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

type Result

type Result struct {
	Data [][]byte `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
}

func (*Result) Descriptor

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

func (*Result) GetData

func (m *Result) GetData() [][]byte

func (*Result) Marshal

func (m *Result) Marshal() (dAtA []byte, err error)

func (*Result) MarshalTo

func (m *Result) MarshalTo(dAtA []byte) (int, error)

func (*Result) MarshalToSizedBuffer

func (m *Result) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) Reset

func (m *Result) Reset()

func (*Result) Size

func (m *Result) Size() (n int)

func (*Result) String

func (m *Result) String() string

func (*Result) Unmarshal

func (m *Result) Unmarshal(dAtA []byte) error

func (*Result) XXX_DiscardUnknown

func (m *Result) XXX_DiscardUnknown()

func (*Result) XXX_Marshal

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

func (*Result) XXX_Merge

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

func (*Result) XXX_Size

func (m *Result) XXX_Size() int

func (*Result) XXX_Unmarshal

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

type RollbackIBTPRequest

type RollbackIBTPRequest struct {
	Ibtp     *IBTP `protobuf:"bytes,1,opt,name=ibtp,proto3" json:"ibtp,omitempty"`
	SrcChain bool  `protobuf:"varint,2,opt,name=srcChain,proto3" json:"srcChain,omitempty"`
}

func (*RollbackIBTPRequest) Descriptor

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

func (*RollbackIBTPRequest) GetIbtp

func (m *RollbackIBTPRequest) GetIbtp() *IBTP

func (*RollbackIBTPRequest) GetSrcChain

func (m *RollbackIBTPRequest) GetSrcChain() bool

func (*RollbackIBTPRequest) Marshal

func (m *RollbackIBTPRequest) Marshal() (dAtA []byte, err error)

func (*RollbackIBTPRequest) MarshalTo

func (m *RollbackIBTPRequest) MarshalTo(dAtA []byte) (int, error)

func (*RollbackIBTPRequest) MarshalToSizedBuffer

func (m *RollbackIBTPRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RollbackIBTPRequest) ProtoMessage

func (*RollbackIBTPRequest) ProtoMessage()

func (*RollbackIBTPRequest) Reset

func (m *RollbackIBTPRequest) Reset()

func (*RollbackIBTPRequest) Size

func (m *RollbackIBTPRequest) Size() (n int)

func (*RollbackIBTPRequest) String

func (m *RollbackIBTPRequest) String() string

func (*RollbackIBTPRequest) Unmarshal

func (m *RollbackIBTPRequest) Unmarshal(dAtA []byte) error

func (*RollbackIBTPRequest) XXX_DiscardUnknown

func (m *RollbackIBTPRequest) XXX_DiscardUnknown()

func (*RollbackIBTPRequest) XXX_Marshal

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

func (*RollbackIBTPRequest) XXX_Merge

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

func (*RollbackIBTPRequest) XXX_Size

func (m *RollbackIBTPRequest) XXX_Size() int

func (*RollbackIBTPRequest) XXX_Unmarshal

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

type RollbackIBTPResponse

type RollbackIBTPResponse struct {
	Status  bool   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

func (*RollbackIBTPResponse) Descriptor

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

func (*RollbackIBTPResponse) GetMessage

func (m *RollbackIBTPResponse) GetMessage() string

func (*RollbackIBTPResponse) GetStatus

func (m *RollbackIBTPResponse) GetStatus() bool

func (*RollbackIBTPResponse) Marshal

func (m *RollbackIBTPResponse) Marshal() (dAtA []byte, err error)

func (*RollbackIBTPResponse) MarshalTo

func (m *RollbackIBTPResponse) MarshalTo(dAtA []byte) (int, error)

func (*RollbackIBTPResponse) MarshalToSizedBuffer

func (m *RollbackIBTPResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RollbackIBTPResponse) ProtoMessage

func (*RollbackIBTPResponse) ProtoMessage()

func (*RollbackIBTPResponse) Reset

func (m *RollbackIBTPResponse) Reset()

func (*RollbackIBTPResponse) Size

func (m *RollbackIBTPResponse) Size() (n int)

func (*RollbackIBTPResponse) String

func (m *RollbackIBTPResponse) String() string

func (*RollbackIBTPResponse) Unmarshal

func (m *RollbackIBTPResponse) Unmarshal(dAtA []byte) error

func (*RollbackIBTPResponse) XXX_DiscardUnknown

func (m *RollbackIBTPResponse) XXX_DiscardUnknown()

func (*RollbackIBTPResponse) XXX_Marshal

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

func (*RollbackIBTPResponse) XXX_Merge

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

func (*RollbackIBTPResponse) XXX_Size

func (m *RollbackIBTPResponse) XXX_Size() int

func (*RollbackIBTPResponse) XXX_Unmarshal

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

type SidecarInfo

type SidecarInfo struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Index   string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
	Timeout int64  `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
}

func (*SidecarInfo) Descriptor

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

func (*SidecarInfo) GetAddress

func (m *SidecarInfo) GetAddress() string

func (*SidecarInfo) GetIndex

func (m *SidecarInfo) GetIndex() string

func (*SidecarInfo) GetTimeout

func (m *SidecarInfo) GetTimeout() int64

func (*SidecarInfo) Marshal

func (m *SidecarInfo) Marshal() (dAtA []byte, err error)

func (*SidecarInfo) MarshalTo

func (m *SidecarInfo) MarshalTo(dAtA []byte) (int, error)

func (*SidecarInfo) MarshalToSizedBuffer

func (m *SidecarInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SidecarInfo) ProtoMessage

func (*SidecarInfo) ProtoMessage()

func (*SidecarInfo) Reset

func (m *SidecarInfo) Reset()

func (*SidecarInfo) Size

func (m *SidecarInfo) Size() (n int)

func (*SidecarInfo) String

func (m *SidecarInfo) String() string

func (*SidecarInfo) Unmarshal

func (m *SidecarInfo) Unmarshal(dAtA []byte) error

func (*SidecarInfo) XXX_DiscardUnknown

func (m *SidecarInfo) XXX_DiscardUnknown()

func (*SidecarInfo) XXX_Marshal

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

func (*SidecarInfo) XXX_Merge

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

func (*SidecarInfo) XXX_Size

func (m *SidecarInfo) XXX_Size() int

func (*SidecarInfo) XXX_Unmarshal

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

type SignResponse

type SignResponse struct {
	Sign map[string][]byte `` /* 149-byte string literal not displayed */
}

func (*SignResponse) Descriptor

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

func (*SignResponse) GetSign

func (m *SignResponse) GetSign() map[string][]byte

func (*SignResponse) Marshal

func (m *SignResponse) Marshal() (dAtA []byte, err error)

func (*SignResponse) MarshalTo

func (m *SignResponse) MarshalTo(dAtA []byte) (int, error)

func (*SignResponse) MarshalToSizedBuffer

func (m *SignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignResponse) ProtoMessage

func (*SignResponse) ProtoMessage()

func (*SignResponse) Reset

func (m *SignResponse) Reset()

func (*SignResponse) Size

func (m *SignResponse) Size() (n int)

func (*SignResponse) String

func (m *SignResponse) String() string

func (*SignResponse) Unmarshal

func (m *SignResponse) Unmarshal(dAtA []byte) error

func (*SignResponse) XXX_DiscardUnknown

func (m *SignResponse) XXX_DiscardUnknown()

func (*SignResponse) XXX_Marshal

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

func (*SignResponse) XXX_Merge

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

func (*SignResponse) XXX_Size

func (m *SignResponse) XXX_Size() int

func (*SignResponse) XXX_Unmarshal

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

type StringUint64Map

type StringUint64Map struct {
	Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	Vals []uint64 `protobuf:"varint,2,rep,packed,name=vals,proto3" json:"vals,omitempty"`
}

func (*StringUint64Map) Descriptor

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

func (*StringUint64Map) GetKeys

func (m *StringUint64Map) GetKeys() []string

func (*StringUint64Map) GetVals

func (m *StringUint64Map) GetVals() []uint64

func (*StringUint64Map) Marshal

func (m *StringUint64Map) Marshal() (dAtA []byte, err error)

func (*StringUint64Map) MarshalTo

func (m *StringUint64Map) MarshalTo(dAtA []byte) (int, error)

func (*StringUint64Map) MarshalToSizedBuffer

func (m *StringUint64Map) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StringUint64Map) ProtoMessage

func (*StringUint64Map) ProtoMessage()

func (*StringUint64Map) Reset

func (m *StringUint64Map) Reset()

func (*StringUint64Map) Size

func (m *StringUint64Map) Size() (n int)

func (*StringUint64Map) String

func (m *StringUint64Map) String() string

func (*StringUint64Map) Unmarshal

func (m *StringUint64Map) Unmarshal(dAtA []byte) error

func (*StringUint64Map) XXX_DiscardUnknown

func (m *StringUint64Map) XXX_DiscardUnknown()

func (*StringUint64Map) XXX_Marshal

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

func (*StringUint64Map) XXX_Merge

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

func (*StringUint64Map) XXX_Size

func (m *StringUint64Map) XXX_Size() int

func (*StringUint64Map) XXX_Unmarshal

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

type StringUint64SliceMap

type StringUint64SliceMap struct {
	Keys []string       `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	Vals []*Uint64Slice `protobuf:"bytes,2,rep,name=vals,proto3" json:"vals,omitempty"`
}

func (*StringUint64SliceMap) Descriptor

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

func (*StringUint64SliceMap) GetKeys

func (m *StringUint64SliceMap) GetKeys() []string

func (*StringUint64SliceMap) GetVals

func (m *StringUint64SliceMap) GetVals() []*Uint64Slice

func (*StringUint64SliceMap) Marshal

func (m *StringUint64SliceMap) Marshal() (dAtA []byte, err error)

func (*StringUint64SliceMap) MarshalTo

func (m *StringUint64SliceMap) MarshalTo(dAtA []byte) (int, error)

func (*StringUint64SliceMap) MarshalToSizedBuffer

func (m *StringUint64SliceMap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StringUint64SliceMap) ProtoMessage

func (*StringUint64SliceMap) ProtoMessage()

func (*StringUint64SliceMap) Reset

func (m *StringUint64SliceMap) Reset()

func (*StringUint64SliceMap) Size

func (m *StringUint64SliceMap) Size() (n int)

func (*StringUint64SliceMap) String

func (m *StringUint64SliceMap) String() string

func (*StringUint64SliceMap) Unmarshal

func (m *StringUint64SliceMap) Unmarshal(dAtA []byte) error

func (*StringUint64SliceMap) XXX_DiscardUnknown

func (m *StringUint64SliceMap) XXX_DiscardUnknown()

func (*StringUint64SliceMap) XXX_Marshal

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

func (*StringUint64SliceMap) XXX_Merge

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

func (*StringUint64SliceMap) XXX_Size

func (m *StringUint64SliceMap) XXX_Size() int

func (*StringUint64SliceMap) XXX_Unmarshal

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

type StringVerifiedIndexMap

type StringVerifiedIndexMap struct {
	Keys []string         `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	Vals []*VerifiedIndex `protobuf:"bytes,2,rep,name=vals,proto3" json:"vals,omitempty"`
}

func (*StringVerifiedIndexMap) Descriptor

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

func (*StringVerifiedIndexMap) GetKeys

func (m *StringVerifiedIndexMap) GetKeys() []string

func (*StringVerifiedIndexMap) GetVals

func (m *StringVerifiedIndexMap) GetVals() []*VerifiedIndex

func (*StringVerifiedIndexMap) Marshal

func (m *StringVerifiedIndexMap) Marshal() (dAtA []byte, err error)

func (*StringVerifiedIndexMap) MarshalTo

func (m *StringVerifiedIndexMap) MarshalTo(dAtA []byte) (int, error)

func (*StringVerifiedIndexMap) MarshalToSizedBuffer

func (m *StringVerifiedIndexMap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StringVerifiedIndexMap) ProtoMessage

func (*StringVerifiedIndexMap) ProtoMessage()

func (*StringVerifiedIndexMap) Reset

func (m *StringVerifiedIndexMap) Reset()

func (*StringVerifiedIndexMap) Size

func (m *StringVerifiedIndexMap) Size() (n int)

func (*StringVerifiedIndexMap) String

func (m *StringVerifiedIndexMap) String() string

func (*StringVerifiedIndexMap) Unmarshal

func (m *StringVerifiedIndexMap) Unmarshal(dAtA []byte) error

func (*StringVerifiedIndexMap) XXX_DiscardUnknown

func (m *StringVerifiedIndexMap) XXX_DiscardUnknown()

func (*StringVerifiedIndexMap) XXX_Marshal

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

func (*StringVerifiedIndexMap) XXX_Merge

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

func (*StringVerifiedIndexMap) XXX_Size

func (m *StringVerifiedIndexMap) XXX_Size() int

func (*StringVerifiedIndexMap) XXX_Unmarshal

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

type StringVerifiedIndexSliceMap

type StringVerifiedIndexSliceMap struct {
	Keys []string              `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	Vals []*VerifiedIndexSlice `protobuf:"bytes,2,rep,name=vals,proto3" json:"vals,omitempty"`
}

func (*StringVerifiedIndexSliceMap) Descriptor

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

func (*StringVerifiedIndexSliceMap) GetKeys

func (m *StringVerifiedIndexSliceMap) GetKeys() []string

func (*StringVerifiedIndexSliceMap) GetVals

func (*StringVerifiedIndexSliceMap) Marshal

func (m *StringVerifiedIndexSliceMap) Marshal() (dAtA []byte, err error)

func (*StringVerifiedIndexSliceMap) MarshalTo

func (m *StringVerifiedIndexSliceMap) MarshalTo(dAtA []byte) (int, error)

func (*StringVerifiedIndexSliceMap) MarshalToSizedBuffer

func (m *StringVerifiedIndexSliceMap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StringVerifiedIndexSliceMap) ProtoMessage

func (*StringVerifiedIndexSliceMap) ProtoMessage()

func (*StringVerifiedIndexSliceMap) Reset

func (m *StringVerifiedIndexSliceMap) Reset()

func (*StringVerifiedIndexSliceMap) Size

func (m *StringVerifiedIndexSliceMap) Size() (n int)

func (*StringVerifiedIndexSliceMap) String

func (m *StringVerifiedIndexSliceMap) String() string

func (*StringVerifiedIndexSliceMap) Unmarshal

func (m *StringVerifiedIndexSliceMap) Unmarshal(dAtA []byte) error

func (*StringVerifiedIndexSliceMap) XXX_DiscardUnknown

func (m *StringVerifiedIndexSliceMap) XXX_DiscardUnknown()

func (*StringVerifiedIndexSliceMap) XXX_Marshal

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

func (*StringVerifiedIndexSliceMap) XXX_Merge

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

func (*StringVerifiedIndexSliceMap) XXX_Size

func (m *StringVerifiedIndexSliceMap) XXX_Size() int

func (*StringVerifiedIndexSliceMap) XXX_Unmarshal

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

type SubmitIBTPResponse

type SubmitIBTPResponse struct {
	Status  bool   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Result  *IBTP  `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
}

func (*SubmitIBTPResponse) Descriptor

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

func (*SubmitIBTPResponse) GetMessage

func (m *SubmitIBTPResponse) GetMessage() string

func (*SubmitIBTPResponse) GetResult

func (m *SubmitIBTPResponse) GetResult() *IBTP

func (*SubmitIBTPResponse) GetStatus

func (m *SubmitIBTPResponse) GetStatus() bool

func (*SubmitIBTPResponse) Marshal

func (m *SubmitIBTPResponse) Marshal() (dAtA []byte, err error)

func (*SubmitIBTPResponse) MarshalTo

func (m *SubmitIBTPResponse) MarshalTo(dAtA []byte) (int, error)

func (*SubmitIBTPResponse) MarshalToSizedBuffer

func (m *SubmitIBTPResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubmitIBTPResponse) ProtoMessage

func (*SubmitIBTPResponse) ProtoMessage()

func (*SubmitIBTPResponse) Reset

func (m *SubmitIBTPResponse) Reset()

func (*SubmitIBTPResponse) Size

func (m *SubmitIBTPResponse) Size() (n int)

func (*SubmitIBTPResponse) String

func (m *SubmitIBTPResponse) String() string

func (*SubmitIBTPResponse) Unmarshal

func (m *SubmitIBTPResponse) Unmarshal(dAtA []byte) error

func (*SubmitIBTPResponse) XXX_DiscardUnknown

func (m *SubmitIBTPResponse) XXX_DiscardUnknown()

func (*SubmitIBTPResponse) XXX_Marshal

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

func (*SubmitIBTPResponse) XXX_Merge

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

func (*SubmitIBTPResponse) XXX_Size

func (m *SubmitIBTPResponse) XXX_Size() int

func (*SubmitIBTPResponse) XXX_Unmarshal

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

type SubscriptionRequest

type SubscriptionRequest struct {
	Type  SubscriptionRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.SubscriptionRequest_Type" json:"type,omitempty"`
	Extra []byte                   `protobuf:"bytes,2,opt,name=extra,proto3" json:"extra,omitempty"`
}

func (*SubscriptionRequest) Descriptor

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

func (*SubscriptionRequest) GetExtra

func (m *SubscriptionRequest) GetExtra() []byte

func (*SubscriptionRequest) GetType

func (*SubscriptionRequest) Marshal

func (m *SubscriptionRequest) Marshal() (dAtA []byte, err error)

func (*SubscriptionRequest) MarshalTo

func (m *SubscriptionRequest) MarshalTo(dAtA []byte) (int, error)

func (*SubscriptionRequest) MarshalToSizedBuffer

func (m *SubscriptionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubscriptionRequest) ProtoMessage

func (*SubscriptionRequest) ProtoMessage()

func (*SubscriptionRequest) Reset

func (m *SubscriptionRequest) Reset()

func (*SubscriptionRequest) Size

func (m *SubscriptionRequest) Size() (n int)

func (*SubscriptionRequest) String

func (m *SubscriptionRequest) String() string

func (*SubscriptionRequest) Unmarshal

func (m *SubscriptionRequest) Unmarshal(dAtA []byte) error

func (*SubscriptionRequest) XXX_DiscardUnknown

func (m *SubscriptionRequest) XXX_DiscardUnknown()

func (*SubscriptionRequest) XXX_Marshal

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

func (*SubscriptionRequest) XXX_Merge

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

func (*SubscriptionRequest) XXX_Size

func (m *SubscriptionRequest) XXX_Size() int

func (*SubscriptionRequest) XXX_Unmarshal

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

type SubscriptionRequest_Type

type SubscriptionRequest_Type int32
const (
	SubscriptionRequest_BLOCK                       SubscriptionRequest_Type = 0
	SubscriptionRequest_EVENT                       SubscriptionRequest_Type = 1
	SubscriptionRequest_INTERCHAIN_TX               SubscriptionRequest_Type = 2
	SubscriptionRequest_BLOCK_HEADER                SubscriptionRequest_Type = 3
	SubscriptionRequest_INTERCHAIN_TX_WRAPPER       SubscriptionRequest_Type = 4
	SubscriptionRequest_UNION_INTERCHAIN_TX_WRAPPER SubscriptionRequest_Type = 5
)

func (SubscriptionRequest_Type) EnumDescriptor

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

func (SubscriptionRequest_Type) String

func (x SubscriptionRequest_Type) String() string

type Transaction

type Transaction interface {
	GetVersion() []byte
	GetFrom() *types.Address
	GetTo() *types.Address
	GetPayload() []byte
	GetNonce() uint64
	GetAmount() uint64
	GetTimeStamp() int64
	GetHash() *types.Hash
	GetIBTP() *IBTP
	GetExtra() []byte
	GetGas() uint64
	GetGasPrice() *big.Int
	GetChainID() *big.Int
	GetSignature() []byte
	GetRawSignature() (*big.Int, *big.Int, *big.Int)
	GetSignHash() *types.Hash
	GetType() byte
	IsIBTP() bool
	MarshalWithFlag() ([]byte, error)
	Size() int
	SizeWithFlag() int
	MarshalTo([]byte) (int, error)
	Unmarshal([]byte) error
	VerifySignature() error
}

func UnmarshalTx

func UnmarshalTx(data []byte) (Transaction, error)

type TransactionData

type TransactionData struct {
	Type    TransactionData_Type   `protobuf:"varint,1,opt,name=type,proto3,enum=pb.TransactionData_Type" json:"type,omitempty"`
	Amount  uint64                 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	VmType  TransactionData_VMType `protobuf:"varint,3,opt,name=vm_type,json=vmType,proto3,enum=pb.TransactionData_VMType" json:"vm_type,omitempty"`
	Payload []byte                 `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	Extra   []byte                 `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"`
}

func (*TransactionData) Descriptor

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

func (*TransactionData) GetAmount

func (m *TransactionData) GetAmount() uint64

func (*TransactionData) GetExtra

func (m *TransactionData) GetExtra() []byte

func (*TransactionData) GetPayload

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

func (*TransactionData) GetType

func (*TransactionData) GetVmType

func (m *TransactionData) GetVmType() TransactionData_VMType

func (*TransactionData) Marshal

func (m *TransactionData) Marshal() (dAtA []byte, err error)

func (*TransactionData) MarshalTo

func (m *TransactionData) MarshalTo(dAtA []byte) (int, error)

func (*TransactionData) MarshalToSizedBuffer

func (m *TransactionData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TransactionData) ProtoMessage

func (*TransactionData) ProtoMessage()

func (*TransactionData) Reset

func (m *TransactionData) Reset()

func (*TransactionData) Size

func (m *TransactionData) Size() (n int)

func (*TransactionData) String

func (m *TransactionData) String() string

func (*TransactionData) Unmarshal

func (m *TransactionData) Unmarshal(dAtA []byte) error

func (*TransactionData) XXX_DiscardUnknown

func (m *TransactionData) XXX_DiscardUnknown()

func (*TransactionData) XXX_Marshal

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

func (*TransactionData) XXX_Merge

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

func (*TransactionData) XXX_Size

func (m *TransactionData) XXX_Size() int

func (*TransactionData) XXX_Unmarshal

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

type TransactionData_Type

type TransactionData_Type int32
const (
	TransactionData_NORMAL   TransactionData_Type = 0
	TransactionData_INVOKE   TransactionData_Type = 1
	TransactionData_UPDATE   TransactionData_Type = 2
	TransactionData_FREEZE   TransactionData_Type = 3
	TransactionData_UNFREEZE TransactionData_Type = 4
)

func (TransactionData_Type) EnumDescriptor

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

func (TransactionData_Type) String

func (x TransactionData_Type) String() string

type TransactionData_VMType

type TransactionData_VMType int32
const (
	TransactionData_BVM TransactionData_VMType = 0
	TransactionData_XVM TransactionData_VMType = 1
)

func (TransactionData_VMType) EnumDescriptor

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

func (TransactionData_VMType) String

func (x TransactionData_VMType) String() string

type TransactionHashMsg

type TransactionHashMsg struct {
	TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
}

func (*TransactionHashMsg) Descriptor

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

func (*TransactionHashMsg) GetTxHash

func (m *TransactionHashMsg) GetTxHash() string

func (*TransactionHashMsg) Marshal

func (m *TransactionHashMsg) Marshal() (dAtA []byte, err error)

func (*TransactionHashMsg) MarshalTo

func (m *TransactionHashMsg) MarshalTo(dAtA []byte) (int, error)

func (*TransactionHashMsg) MarshalToSizedBuffer

func (m *TransactionHashMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TransactionHashMsg) ProtoMessage

func (*TransactionHashMsg) ProtoMessage()

func (*TransactionHashMsg) Reset

func (m *TransactionHashMsg) Reset()

func (*TransactionHashMsg) Size

func (m *TransactionHashMsg) Size() (n int)

func (*TransactionHashMsg) String

func (m *TransactionHashMsg) String() string

func (*TransactionHashMsg) Unmarshal

func (m *TransactionHashMsg) Unmarshal(dAtA []byte) error

func (*TransactionHashMsg) XXX_DiscardUnknown

func (m *TransactionHashMsg) XXX_DiscardUnknown()

func (*TransactionHashMsg) XXX_Marshal

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

func (*TransactionHashMsg) XXX_Merge

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

func (*TransactionHashMsg) XXX_Size

func (m *TransactionHashMsg) XXX_Size() int

func (*TransactionHashMsg) XXX_Unmarshal

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

type TransactionMeta

type TransactionMeta struct {
	BlockHash   []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	Index       uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
}

func (*TransactionMeta) Descriptor

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

func (*TransactionMeta) GetBlockHash

func (m *TransactionMeta) GetBlockHash() []byte

func (*TransactionMeta) GetBlockHeight

func (m *TransactionMeta) GetBlockHeight() uint64

func (*TransactionMeta) GetIndex

func (m *TransactionMeta) GetIndex() uint64

func (*TransactionMeta) Marshal

func (m *TransactionMeta) Marshal() (dAtA []byte, err error)

func (*TransactionMeta) MarshalTo

func (m *TransactionMeta) MarshalTo(dAtA []byte) (int, error)

func (*TransactionMeta) MarshalToSizedBuffer

func (m *TransactionMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TransactionMeta) ProtoMessage

func (*TransactionMeta) ProtoMessage()

func (*TransactionMeta) Reset

func (m *TransactionMeta) Reset()

func (*TransactionMeta) Size

func (m *TransactionMeta) Size() (n int)

func (*TransactionMeta) String

func (m *TransactionMeta) String() string

func (*TransactionMeta) Unmarshal

func (m *TransactionMeta) Unmarshal(dAtA []byte) error

func (*TransactionMeta) XXX_DiscardUnknown

func (m *TransactionMeta) XXX_DiscardUnknown()

func (*TransactionMeta) XXX_Marshal

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

func (*TransactionMeta) XXX_Merge

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

func (*TransactionMeta) XXX_Size

func (m *TransactionMeta) XXX_Size() int

func (*TransactionMeta) XXX_Unmarshal

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

type TransactionSlice

type TransactionSlice struct {
	Height uint64            `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Txs    []*BxhTransaction `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
}

func (*TransactionSlice) Descriptor

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

func (*TransactionSlice) GetHeight

func (m *TransactionSlice) GetHeight() uint64

func (*TransactionSlice) GetTxs

func (m *TransactionSlice) GetTxs() []*BxhTransaction

func (*TransactionSlice) Marshal

func (m *TransactionSlice) Marshal() (dAtA []byte, err error)

func (*TransactionSlice) MarshalTo

func (m *TransactionSlice) MarshalTo(dAtA []byte) (int, error)

func (*TransactionSlice) MarshalToSizedBuffer

func (m *TransactionSlice) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TransactionSlice) ProtoMessage

func (*TransactionSlice) ProtoMessage()

func (*TransactionSlice) Reset

func (m *TransactionSlice) Reset()

func (*TransactionSlice) Size

func (m *TransactionSlice) Size() (n int)

func (*TransactionSlice) String

func (m *TransactionSlice) String() string

func (*TransactionSlice) Unmarshal

func (m *TransactionSlice) Unmarshal(dAtA []byte) error

func (*TransactionSlice) XXX_DiscardUnknown

func (m *TransactionSlice) XXX_DiscardUnknown()

func (*TransactionSlice) XXX_Marshal

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

func (*TransactionSlice) XXX_Merge

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

func (*TransactionSlice) XXX_Size

func (m *TransactionSlice) XXX_Size() int

func (*TransactionSlice) XXX_Unmarshal

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

type TransactionStatus

type TransactionStatus int32
const (
	TransactionStatus_BEGIN   TransactionStatus = 0
	TransactionStatus_SUCCESS TransactionStatus = 1
	TransactionStatus_FAILURE TransactionStatus = 2
)

func (TransactionStatus) EnumDescriptor

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

func (TransactionStatus) String

func (x TransactionStatus) String() string

type TransactionTracingMeta

type TransactionTracingMeta struct {
	ReceiptHash []byte `protobuf:"bytes,1,opt,name=receipt_hash,json=receiptHash,proto3" json:"receipt_hash,omitempty"`
	ConfirmHash []byte `protobuf:"bytes,2,opt,name=confirm_hash,json=confirmHash,proto3" json:"confirm_hash,omitempty"`
}

func (*TransactionTracingMeta) Descriptor

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

func (*TransactionTracingMeta) GetConfirmHash

func (m *TransactionTracingMeta) GetConfirmHash() []byte

func (*TransactionTracingMeta) GetReceiptHash

func (m *TransactionTracingMeta) GetReceiptHash() []byte

func (*TransactionTracingMeta) Marshal

func (m *TransactionTracingMeta) Marshal() (dAtA []byte, err error)

func (*TransactionTracingMeta) MarshalTo

func (m *TransactionTracingMeta) MarshalTo(dAtA []byte) (int, error)

func (*TransactionTracingMeta) MarshalToSizedBuffer

func (m *TransactionTracingMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TransactionTracingMeta) ProtoMessage

func (*TransactionTracingMeta) ProtoMessage()

func (*TransactionTracingMeta) Reset

func (m *TransactionTracingMeta) Reset()

func (*TransactionTracingMeta) Size

func (m *TransactionTracingMeta) Size() (n int)

func (*TransactionTracingMeta) String

func (m *TransactionTracingMeta) String() string

func (*TransactionTracingMeta) Unmarshal

func (m *TransactionTracingMeta) Unmarshal(dAtA []byte) error

func (*TransactionTracingMeta) XXX_DiscardUnknown

func (m *TransactionTracingMeta) XXX_DiscardUnknown()

func (*TransactionTracingMeta) XXX_Marshal

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

func (*TransactionTracingMeta) XXX_Merge

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

func (*TransactionTracingMeta) XXX_Size

func (m *TransactionTracingMeta) XXX_Size() int

func (*TransactionTracingMeta) XXX_Unmarshal

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

type Transactions

type Transactions struct {
	Transactions []Transaction
}

func (*Transactions) Marshal

func (txs *Transactions) Marshal() ([]byte, error)

func (*Transactions) MarshalTo

func (txs *Transactions) MarshalTo(data []byte) (int, error)

func (*Transactions) ProtoMessage

func (txs *Transactions) ProtoMessage()

func (*Transactions) Reset

func (txs *Transactions) Reset()

func (*Transactions) Size

func (txs *Transactions) Size() int

func (*Transactions) String

func (txs *Transactions) String() string

func (*Transactions) Unmarshal

func (txs *Transactions) Unmarshal(data []byte) error

type TxConstructer

type TxConstructer func() Transaction

type TypeResponse

type TypeResponse struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
}

func (*TypeResponse) Descriptor

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

func (*TypeResponse) GetType

func (m *TypeResponse) GetType() string

func (*TypeResponse) Marshal

func (m *TypeResponse) Marshal() (dAtA []byte, err error)

func (*TypeResponse) MarshalTo

func (m *TypeResponse) MarshalTo(dAtA []byte) (int, error)

func (*TypeResponse) MarshalToSizedBuffer

func (m *TypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TypeResponse) ProtoMessage

func (*TypeResponse) ProtoMessage()

func (*TypeResponse) Reset

func (m *TypeResponse) Reset()

func (*TypeResponse) Size

func (m *TypeResponse) Size() (n int)

func (*TypeResponse) String

func (m *TypeResponse) String() string

func (*TypeResponse) Unmarshal

func (m *TypeResponse) Unmarshal(dAtA []byte) error

func (*TypeResponse) XXX_DiscardUnknown

func (m *TypeResponse) XXX_DiscardUnknown()

func (*TypeResponse) XXX_Marshal

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

func (*TypeResponse) XXX_Merge

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

func (*TypeResponse) XXX_Size

func (m *TypeResponse) XXX_Size() int

func (*TypeResponse) XXX_Unmarshal

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

type Uint64Slice

type Uint64Slice struct {
	Slice []uint64 `protobuf:"varint,1,rep,packed,name=slice,proto3" json:"slice,omitempty"`
}

func (*Uint64Slice) Descriptor

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

func (*Uint64Slice) GetSlice

func (m *Uint64Slice) GetSlice() []uint64

func (*Uint64Slice) Marshal

func (m *Uint64Slice) Marshal() (dAtA []byte, err error)

func (*Uint64Slice) MarshalTo

func (m *Uint64Slice) MarshalTo(dAtA []byte) (int, error)

func (*Uint64Slice) MarshalToSizedBuffer

func (m *Uint64Slice) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Uint64Slice) ProtoMessage

func (*Uint64Slice) ProtoMessage()

func (*Uint64Slice) Reset

func (m *Uint64Slice) Reset()

func (*Uint64Slice) Size

func (m *Uint64Slice) Size() (n int)

func (*Uint64Slice) String

func (m *Uint64Slice) String() string

func (*Uint64Slice) Unmarshal

func (m *Uint64Slice) Unmarshal(dAtA []byte) error

func (*Uint64Slice) XXX_DiscardUnknown

func (m *Uint64Slice) XXX_DiscardUnknown()

func (*Uint64Slice) XXX_Marshal

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

func (*Uint64Slice) XXX_Merge

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

func (*Uint64Slice) XXX_Size

func (m *Uint64Slice) XXX_Size() int

func (*Uint64Slice) XXX_Unmarshal

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

type UnimplementedAppchainPluginServer

type UnimplementedAppchainPluginServer struct{}

UnimplementedAppchainPluginServer can be embedded to have forward compatible implementations.

func (*UnimplementedAppchainPluginServer) CommitCallback

func (*UnimplementedAppchainPluginServer) CommitCallback(ctx context.Context, req *IBTP) (*Empty, error)

func (*UnimplementedAppchainPluginServer) GetCallbackMeta

func (*UnimplementedAppchainPluginServer) GetIBTP

func (*UnimplementedAppchainPluginServer) GetInMessage

func (*UnimplementedAppchainPluginServer) GetInMeta

func (*UnimplementedAppchainPluginServer) GetOutMessage

func (*UnimplementedAppchainPluginServer) GetOutMeta

func (*UnimplementedAppchainPluginServer) GetReceipt

func (*UnimplementedAppchainPluginServer) GetReceipt(ctx context.Context, req *IBTP) (*IBTP, error)

func (*UnimplementedAppchainPluginServer) IncreaseInMeta

func (*UnimplementedAppchainPluginServer) IncreaseInMeta(ctx context.Context, req *IBTP) (*IBTP, error)

func (*UnimplementedAppchainPluginServer) Initialize

func (*UnimplementedAppchainPluginServer) Name

func (*UnimplementedAppchainPluginServer) RollbackIBTP

func (*UnimplementedAppchainPluginServer) Start

func (*UnimplementedAppchainPluginServer) Stop

func (*UnimplementedAppchainPluginServer) SubmitIBTP

func (*UnimplementedAppchainPluginServer) Type

type UnimplementedChainBrokerServer

type UnimplementedChainBrokerServer struct{}

UnimplementedChainBrokerServer can be embedded to have forward compatible implementations.

func (*UnimplementedChainBrokerServer) CheckMasterSidecar

func (*UnimplementedChainBrokerServer) CheckMasterSidecar(ctx context.Context, req *Address) (*Response, error)

func (*UnimplementedChainBrokerServer) DelVPNode

func (*UnimplementedChainBrokerServer) GetAccountBalance

func (*UnimplementedChainBrokerServer) GetAccountBalance(ctx context.Context, req *Address) (*Response, error)

func (*UnimplementedChainBrokerServer) GetBlock

func (*UnimplementedChainBrokerServer) GetBlockHeader

func (*UnimplementedChainBrokerServer) GetBlockHeaders

func (*UnimplementedChainBrokerServer) GetBlocks

func (*UnimplementedChainBrokerServer) GetChainMeta

func (*UnimplementedChainBrokerServer) GetInfo

func (*UnimplementedChainBrokerServer) GetInterchainTxWrappers

func (*UnimplementedChainBrokerServer) GetMultiSigns

func (*UnimplementedChainBrokerServer) GetPendingNonceByAccount

func (*UnimplementedChainBrokerServer) GetPendingNonceByAccount(ctx context.Context, req *Address) (*Response, error)

func (*UnimplementedChainBrokerServer) GetReceipt

func (*UnimplementedChainBrokerServer) GetTPS

func (*UnimplementedChainBrokerServer) GetTransaction

func (*UnimplementedChainBrokerServer) HeartBeat

func (*UnimplementedChainBrokerServer) SendTransaction

func (*UnimplementedChainBrokerServer) SendView

func (*UnimplementedChainBrokerServer) SetMasterSidecar

func (*UnimplementedChainBrokerServer) SetMasterSidecar(ctx context.Context, req *SidecarInfo) (*Response, error)

func (*UnimplementedChainBrokerServer) Subscribe

type VerifiedIndex

type VerifiedIndex struct {
	Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Valid bool   `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"`
}

func (*VerifiedIndex) Descriptor

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

func (*VerifiedIndex) GetIndex

func (m *VerifiedIndex) GetIndex() uint64

func (*VerifiedIndex) GetValid

func (m *VerifiedIndex) GetValid() bool

func (*VerifiedIndex) Marshal

func (m *VerifiedIndex) Marshal() (dAtA []byte, err error)

func (*VerifiedIndex) MarshalTo

func (m *VerifiedIndex) MarshalTo(dAtA []byte) (int, error)

func (*VerifiedIndex) MarshalToSizedBuffer

func (m *VerifiedIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifiedIndex) ProtoMessage

func (*VerifiedIndex) ProtoMessage()

func (*VerifiedIndex) Reset

func (m *VerifiedIndex) Reset()

func (*VerifiedIndex) Size

func (m *VerifiedIndex) Size() (n int)

func (*VerifiedIndex) String

func (m *VerifiedIndex) String() string

func (*VerifiedIndex) Unmarshal

func (m *VerifiedIndex) Unmarshal(dAtA []byte) error

func (*VerifiedIndex) XXX_DiscardUnknown

func (m *VerifiedIndex) XXX_DiscardUnknown()

func (*VerifiedIndex) XXX_Marshal

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

func (*VerifiedIndex) XXX_Merge

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

func (*VerifiedIndex) XXX_Size

func (m *VerifiedIndex) XXX_Size() int

func (*VerifiedIndex) XXX_Unmarshal

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

type VerifiedIndexSlice

type VerifiedIndexSlice struct {
	Slice []*VerifiedIndex `protobuf:"bytes,1,rep,name=slice,proto3" json:"slice,omitempty"`
}

func (*VerifiedIndexSlice) Descriptor

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

func (*VerifiedIndexSlice) GetSlice

func (m *VerifiedIndexSlice) GetSlice() []*VerifiedIndex

func (*VerifiedIndexSlice) Marshal

func (m *VerifiedIndexSlice) Marshal() (dAtA []byte, err error)

func (*VerifiedIndexSlice) MarshalTo

func (m *VerifiedIndexSlice) MarshalTo(dAtA []byte) (int, error)

func (*VerifiedIndexSlice) MarshalToSizedBuffer

func (m *VerifiedIndexSlice) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifiedIndexSlice) ProtoMessage

func (*VerifiedIndexSlice) ProtoMessage()

func (*VerifiedIndexSlice) Reset

func (m *VerifiedIndexSlice) Reset()

func (*VerifiedIndexSlice) Size

func (m *VerifiedIndexSlice) Size() (n int)

func (*VerifiedIndexSlice) String

func (m *VerifiedIndexSlice) String() string

func (*VerifiedIndexSlice) Unmarshal

func (m *VerifiedIndexSlice) Unmarshal(dAtA []byte) error

func (*VerifiedIndexSlice) XXX_DiscardUnknown

func (m *VerifiedIndexSlice) XXX_DiscardUnknown()

func (*VerifiedIndexSlice) XXX_Marshal

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

func (*VerifiedIndexSlice) XXX_Merge

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

func (*VerifiedIndexSlice) XXX_Size

func (m *VerifiedIndexSlice) XXX_Size() int

func (*VerifiedIndexSlice) XXX_Unmarshal

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

type VerifiedTx

type VerifiedTx struct {
	Tx    *BxhTransaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	Valid bool            `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"`
}

func (*VerifiedTx) CalculateHash

func (m *VerifiedTx) CalculateHash() ([]byte, error)

func (*VerifiedTx) Descriptor

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

func (*VerifiedTx) Equals

func (m *VerifiedTx) Equals(other merkletree.Content) (bool, error)

func (*VerifiedTx) GetTx

func (m *VerifiedTx) GetTx() *BxhTransaction

func (*VerifiedTx) GetValid

func (m *VerifiedTx) GetValid() bool

func (*VerifiedTx) Marshal

func (m *VerifiedTx) Marshal() (dAtA []byte, err error)

func (*VerifiedTx) MarshalTo

func (m *VerifiedTx) MarshalTo(dAtA []byte) (int, error)

func (*VerifiedTx) MarshalToSizedBuffer

func (m *VerifiedTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifiedTx) ProtoMessage

func (*VerifiedTx) ProtoMessage()

func (*VerifiedTx) Reset

func (m *VerifiedTx) Reset()

func (*VerifiedTx) Size

func (m *VerifiedTx) Size() (n int)

func (*VerifiedTx) String

func (m *VerifiedTx) String() string

func (*VerifiedTx) Unmarshal

func (m *VerifiedTx) Unmarshal(dAtA []byte) error

func (*VerifiedTx) XXX_DiscardUnknown

func (m *VerifiedTx) XXX_DiscardUnknown()

func (*VerifiedTx) XXX_Marshal

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

func (*VerifiedTx) XXX_Merge

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

func (*VerifiedTx) XXX_Size

func (m *VerifiedTx) XXX_Size() int

func (*VerifiedTx) XXX_Unmarshal

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

type VpInfo

type VpInfo struct {
	Id      uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Pid     string   `protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"`
	Account string   `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
	Hosts   []string `protobuf:"bytes,4,rep,name=hosts,proto3" json:"hosts,omitempty"`
}

func (*VpInfo) Descriptor

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

func (*VpInfo) GetAccount

func (m *VpInfo) GetAccount() string

func (*VpInfo) GetHosts

func (m *VpInfo) GetHosts() []string

func (*VpInfo) GetId

func (m *VpInfo) GetId() uint64

func (*VpInfo) GetPid

func (m *VpInfo) GetPid() string

func (*VpInfo) Marshal

func (m *VpInfo) Marshal() (dAtA []byte, err error)

func (*VpInfo) MarshalTo

func (m *VpInfo) MarshalTo(dAtA []byte) (int, error)

func (*VpInfo) MarshalToSizedBuffer

func (m *VpInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VpInfo) ProtoMessage

func (*VpInfo) ProtoMessage()

func (*VpInfo) Reset

func (m *VpInfo) Reset()

func (*VpInfo) Size

func (m *VpInfo) Size() (n int)

func (*VpInfo) String

func (m *VpInfo) String() string

func (*VpInfo) Unmarshal

func (m *VpInfo) Unmarshal(dAtA []byte) error

func (*VpInfo) XXX_DiscardUnknown

func (m *VpInfo) XXX_DiscardUnknown()

func (*VpInfo) XXX_Marshal

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

func (*VpInfo) XXX_Merge

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

func (*VpInfo) XXX_Size

func (m *VpInfo) XXX_Size() int

func (*VpInfo) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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