pb

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 36 Imported by: 63

Documentation

Overview

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const BxhTxType = 2

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 (
	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 (
	ErrInvalidLengthNetwork        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNetwork          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupNetwork = 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 CheckPierResponse_Status_name = map[int32]string{
	0: "ERROR_MASTER",
	1: "HAS_MASTER",
	2: "NO_MASTER",
}
View Source
var CheckPierResponse_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: "ASSET_EXCHANGE_INIT",
	4: "ASSET_EXCHANGE_REDEEM",
	5: "ASSET_EXCHANGE_REFUND",
	6: "ASSET_EXCHANGE_RECEIPT",
}
View Source
var IBTP_Type_value = map[string]int32{
	"INTERCHAIN":             0,
	"RECEIPT_SUCCESS":        1,
	"RECEIPT_FAILURE":        2,
	"ASSET_EXCHANGE_INIT":    3,
	"ASSET_EXCHANGE_REDEEM":  4,
	"ASSET_EXCHANGE_REFUND":  5,
	"ASSET_EXCHANGE_RECEIPT": 6,
}
View Source
var Message_Type_name = map[int32]string{
	0:  "GET_BLOCK",
	1:  "GET_BLOCK_ACK",
	2:  "CONSENSUS",
	3:  "FETCH_CERT",
	4:  "FETCH_CERT_ACK",
	5:  "FETCH_BLOCK_SIGN",
	6:  "FETCH_BLOCK_SIGN_ACK",
	7:  "FETCH_IBTP_SIGN",
	8:  "FETCH_IBTP_SIGN_ACK",
	9:  "FETCH_ASSET_EXCHANEG_SIGN",
	10: "FETCH_ASSET_EXCHANGE_SIGN_ACK",
	11: "GET_ADDRESS",
	12: "GET_ADDRESS_ACK",
	13: "GET_BLOCK_HEADERS",
	14: "GET_BLOCK_HEADERS_ACK",
	15: "GET_BLOCKS",
	16: "GET_BLOCKS_ACK",
	17: "CHECK_MASTER_PIER",
	18: "CHECK_MASTER_PIER_ACK",
}
View Source
var Message_Type_value = map[string]int32{
	"GET_BLOCK":                     0,
	"GET_BLOCK_ACK":                 1,
	"CONSENSUS":                     2,
	"FETCH_CERT":                    3,
	"FETCH_CERT_ACK":                4,
	"FETCH_BLOCK_SIGN":              5,
	"FETCH_BLOCK_SIGN_ACK":          6,
	"FETCH_IBTP_SIGN":               7,
	"FETCH_IBTP_SIGN_ACK":           8,
	"FETCH_ASSET_EXCHANEG_SIGN":     9,
	"FETCH_ASSET_EXCHANGE_SIGN_ACK": 10,
	"GET_ADDRESS":                   11,
	"GET_ADDRESS_ACK":               12,
	"GET_BLOCK_HEADERS":             13,
	"GET_BLOCK_HEADERS_ACK":         14,
	"GET_BLOCKS":                    15,
	"GET_BLOCKS_ACK":                16,
	"CHECK_MASTER_PIER":             17,
	"CHECK_MASTER_PIER_ACK":         18,
}
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 InitEIP155Signer added in v1.2.0

func InitEIP155Signer(chainId *big.Int)

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. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterChainBrokerHandlerFromEndpoint instead.

func RegisterChainBrokerServer

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

Types

type AccessListTx added in v1.2.0

type AccessListTx struct {
	ChainID    *big.Int          // destination chain ID
	Nonce      uint64            // nonce of sender account
	GasPrice   *big.Int          // wei per gas
	Gas        uint64            // gas limit
	To         *common.Address   `rlp:"nil"` // nil means contract creation
	Value      *big.Int          // wei amount
	Data       []byte            // contract invocation input data
	AccessList types2.AccessList // EIP-2930 access list
	V, R, S    *big.Int          // signature values
}

AccessListTx is the data of EIP-2930 access list transactions.

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)
	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 added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

func (m *BxhTransaction) Account() string

func (*BxhTransaction) Descriptor added in v1.2.0

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

func (*BxhTransaction) GetAmount added in v1.2.0

func (m *BxhTransaction) GetAmount() uint64

func (*BxhTransaction) GetChainID added in v1.2.0

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

func (*BxhTransaction) GetCrosschainExtra added in v1.2.0

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

func (*BxhTransaction) GetExtra added in v1.2.0

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

func (*BxhTransaction) GetFrom added in v1.2.0

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

func (*BxhTransaction) GetGas added in v1.2.0

func (m *BxhTransaction) GetGas() uint64

func (*BxhTransaction) GetGasPrice added in v1.2.0

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

func (*BxhTransaction) GetHash added in v1.2.0

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

func (*BxhTransaction) GetIBTP added in v1.2.0

func (m *BxhTransaction) GetIBTP() *IBTP

func (*BxhTransaction) GetNonce added in v1.2.0

func (m *BxhTransaction) GetNonce() uint64

func (*BxhTransaction) GetPayload added in v1.2.0

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

func (*BxhTransaction) GetRawSignature added in v1.2.0

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 added in v1.2.0

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

func (*BxhTransaction) GetSignature added in v1.2.0

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

func (*BxhTransaction) GetTimeStamp added in v1.2.0

func (m *BxhTransaction) GetTimeStamp() int64

func (*BxhTransaction) GetTimestamp added in v1.2.0

func (m *BxhTransaction) GetTimestamp() int64

func (*BxhTransaction) GetTo added in v1.2.0

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

func (*BxhTransaction) GetType added in v1.2.0

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 added in v1.2.0

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

func (*BxhTransaction) Hash added in v1.2.0

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

func (*BxhTransaction) IsIBTP added in v1.2.0

func (m *BxhTransaction) IsIBTP() bool

func (*BxhTransaction) Marshal added in v1.2.0

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

func (*BxhTransaction) MarshalTo added in v1.2.0

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

func (*BxhTransaction) MarshalToSizedBuffer added in v1.2.0

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

func (*BxhTransaction) MarshalWithFlag added in v1.2.0

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

func (*BxhTransaction) ProtoMessage added in v1.2.0

func (*BxhTransaction) ProtoMessage()

func (*BxhTransaction) Reset added in v1.2.0

func (m *BxhTransaction) Reset()

func (*BxhTransaction) Sign added in v1.2.0

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

func (*BxhTransaction) SignHash added in v1.2.0

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

func (*BxhTransaction) Size added in v1.2.0

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

func (*BxhTransaction) SizeWithFlag added in v1.2.0

func (m *BxhTransaction) SizeWithFlag() int

func (*BxhTransaction) String added in v1.2.0

func (m *BxhTransaction) String() string

func (*BxhTransaction) Unmarshal added in v1.2.0

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

func (*BxhTransaction) VerifySignature added in v1.2.0

func (m *BxhTransaction) VerifySignature() error

func (*BxhTransaction) XXX_DiscardUnknown added in v1.2.0

func (m *BxhTransaction) XXX_DiscardUnknown()

func (*BxhTransaction) XXX_Marshal added in v1.2.0

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

func (*BxhTransaction) XXX_Merge added in v1.2.0

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

func (*BxhTransaction) XXX_Size added in v1.2.0

func (m *BxhTransaction) XXX_Size() int

func (*BxhTransaction) XXX_Unmarshal added in v1.2.0

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

type CallArgs added in v1.2.0

type CallArgs struct {
	From       *common.Address    `json:"from"`
	To         *common.Address    `json:"to"`
	Gas        *hexutil.Uint64    `json:"gas"`
	GasPrice   *hexutil.Big       `json:"gasPrice"`
	Value      *hexutil.Big       `json:"value"`
	Data       *hexutil.Bytes     `json:"data"`
	AccessList *types2.AccessList `json:"accessList"`
}

CallArgs represents the arguments for a call.

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)
	CheckMasterPier(ctx context.Context, in *Address, opts ...grpc.CallOption) (*Response, error)
	SetMasterPier(ctx context.Context, in *PierInfo, opts ...grpc.CallOption) (*Response, error)
	HeartBeat(ctx context.Context, in *PierInfo, 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 CheckPierResponse added in v1.2.0

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

func (*CheckPierResponse) Descriptor added in v1.2.0

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

func (*CheckPierResponse) GetAddress added in v1.2.0

func (m *CheckPierResponse) GetAddress() string

func (*CheckPierResponse) GetStatus added in v1.2.0

func (*CheckPierResponse) Marshal added in v1.2.0

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

func (*CheckPierResponse) MarshalTo added in v1.2.0

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

func (*CheckPierResponse) MarshalToSizedBuffer added in v1.2.0

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

func (*CheckPierResponse) ProtoMessage added in v1.2.0

func (*CheckPierResponse) ProtoMessage()

func (*CheckPierResponse) Reset added in v1.2.0

func (m *CheckPierResponse) Reset()

func (*CheckPierResponse) Size added in v1.2.0

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

func (*CheckPierResponse) String added in v1.2.0

func (m *CheckPierResponse) String() string

func (*CheckPierResponse) Unmarshal added in v1.2.0

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

func (*CheckPierResponse) XXX_DiscardUnknown added in v1.2.0

func (m *CheckPierResponse) XXX_DiscardUnknown()

func (*CheckPierResponse) XXX_Marshal added in v1.2.0

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

func (*CheckPierResponse) XXX_Merge added in v1.2.0

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

func (*CheckPierResponse) XXX_Size added in v1.2.0

func (m *CheckPierResponse) XXX_Size() int

func (*CheckPierResponse) XXX_Unmarshal added in v1.2.0

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

type CheckPierResponse_Status added in v1.2.0

type CheckPierResponse_Status int32
const (
	CheckPierResponse_ERROR_MASTER CheckPierResponse_Status = 0
	CheckPierResponse_HAS_MASTER   CheckPierResponse_Status = 1
	CheckPierResponse_NO_MASTER    CheckPierResponse_Status = 2
)

func (CheckPierResponse_Status) EnumDescriptor added in v1.2.0

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

func (CheckPierResponse_Status) String added in v1.2.0

func (x CheckPierResponse_Status) String() string

type CommitEvent added in v1.2.0

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 added in v1.2.0

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

func (*CommitEvent) GetBlock added in v1.2.0

func (m *CommitEvent) GetBlock() *Block

func (*CommitEvent) GetLocalList added in v1.2.0

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

func (*CommitEvent) Marshal added in v1.2.0

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

func (*CommitEvent) MarshalTo added in v1.2.0

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

func (*CommitEvent) ProtoMessage added in v1.2.0

func (*CommitEvent) ProtoMessage()

func (*CommitEvent) Reset added in v1.2.0

func (m *CommitEvent) Reset()

func (*CommitEvent) Size added in v1.2.0

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

func (*CommitEvent) String added in v1.2.0

func (m *CommitEvent) String() string

func (*CommitEvent) Unmarshal added in v1.2.0

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

func (*CommitEvent) XXX_DiscardUnknown added in v1.2.0

func (m *CommitEvent) XXX_DiscardUnknown()

func (*CommitEvent) XXX_Marshal added in v1.2.0

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

func (*CommitEvent) XXX_Merge added in v1.2.0

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

func (*CommitEvent) XXX_Size added in v1.2.0

func (m *CommitEvent) XXX_Size() int

func (*CommitEvent) XXX_Unmarshal added in v1.2.0

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 added in v1.2.0

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

func (*Content) GetArgsRb added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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

func (*DelVPNodeRequest) Descriptor added in v1.2.0

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

func (*DelVPNodeRequest) GetPid added in v1.2.0

func (m *DelVPNodeRequest) GetPid() string

func (*DelVPNodeRequest) Marshal added in v1.2.0

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

func (*DelVPNodeRequest) MarshalTo added in v1.2.0

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

func (*DelVPNodeRequest) MarshalToSizedBuffer added in v1.2.0

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

func (*DelVPNodeRequest) ProtoMessage added in v1.2.0

func (*DelVPNodeRequest) ProtoMessage()

func (*DelVPNodeRequest) Reset added in v1.2.0

func (m *DelVPNodeRequest) Reset()

func (*DelVPNodeRequest) Size added in v1.2.0

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

func (*DelVPNodeRequest) String added in v1.2.0

func (m *DelVPNodeRequest) String() string

func (*DelVPNodeRequest) Unmarshal added in v1.2.0

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

func (*DelVPNodeRequest) XXX_DiscardUnknown added in v1.2.0

func (m *DelVPNodeRequest) XXX_DiscardUnknown()

func (*DelVPNodeRequest) XXX_Marshal added in v1.2.0

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

func (*DelVPNodeRequest) XXX_Merge added in v1.2.0

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

func (*DelVPNodeRequest) XXX_Size added in v1.2.0

func (m *DelVPNodeRequest) XXX_Size() int

func (*DelVPNodeRequest) XXX_Unmarshal added in v1.2.0

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

type EIP155Signer added in v1.2.0

type EIP155Signer struct {
	// contains filtered or unexported fields
}

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 EthTransaction added in v1.2.0

type EthTransaction struct {
	// contains filtered or unexported fields
}

Transaction is an Ethereum transaction.

func (*EthTransaction) AccessList added in v1.2.0

func (e *EthTransaction) AccessList() types2.AccessList

AccessList returns the access list of the transaction.

func (*EthTransaction) DecodeRLP added in v1.2.0

func (tx *EthTransaction) DecodeRLP(s *rlp.Stream) error

DecodeRLP implements rlp.Decoder

func (*EthTransaction) EncodeRLP added in v1.2.0

func (tx *EthTransaction) EncodeRLP(w io.Writer) error

EncodeRLP implements rlp.Encoder

func (*EthTransaction) FromCallArgs added in v1.2.0

func (e *EthTransaction) FromCallArgs(callArgs CallArgs)

func (*EthTransaction) GetAmount added in v1.2.0

func (e *EthTransaction) GetAmount() uint64

func (*EthTransaction) GetChainID added in v1.2.0

func (e *EthTransaction) GetChainID() *big.Int

func (*EthTransaction) GetExtra added in v1.2.0

func (e *EthTransaction) GetExtra() []byte

func (*EthTransaction) GetFrom added in v1.2.0

func (e *EthTransaction) GetFrom() *types.Address

func (*EthTransaction) GetGas added in v1.2.0

func (e *EthTransaction) GetGas() uint64

func (*EthTransaction) GetGasPrice added in v1.2.0

func (e *EthTransaction) GetGasPrice() *big.Int

func (*EthTransaction) GetHash added in v1.2.0

func (e *EthTransaction) GetHash() *types.Hash

func (*EthTransaction) GetIBTP added in v1.2.0

func (e *EthTransaction) GetIBTP() *IBTP

func (*EthTransaction) GetNonce added in v1.2.0

func (e *EthTransaction) GetNonce() uint64

func (*EthTransaction) GetPayload added in v1.2.0

func (e *EthTransaction) GetPayload() []byte

func (*EthTransaction) GetRawSignature added in v1.2.0

func (e *EthTransaction) 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 (*EthTransaction) GetSignHash added in v1.2.0

func (e *EthTransaction) GetSignHash() *types.Hash

func (*EthTransaction) GetSignature added in v1.2.0

func (e *EthTransaction) GetSignature() []byte

func (*EthTransaction) GetTimeStamp added in v1.2.0

func (e *EthTransaction) GetTimeStamp() int64

func (*EthTransaction) GetTo added in v1.2.0

func (e *EthTransaction) GetTo() *types.Address

func (*EthTransaction) GetType added in v1.2.0

func (e *EthTransaction) GetType() byte

Type returns the transaction type.

func (*EthTransaction) GetVersion added in v1.2.0

func (e *EthTransaction) GetVersion() []byte

func (*EthTransaction) IsIBTP added in v1.2.0

func (e *EthTransaction) IsIBTP() bool

func (*EthTransaction) MarshalBinary added in v1.2.0

func (tx *EthTransaction) MarshalBinary() ([]byte, error)

MarshalBinary returns the canonical encoding of the transaction. For legacy transactions, it returns the RLP encoding. For EIP-2718 typed transactions, it returns the type and payload.

func (*EthTransaction) MarshalTo added in v1.2.0

func (e *EthTransaction) MarshalTo(buf []byte) (int, error)

func (*EthTransaction) MarshalWithFlag added in v1.2.0

func (e *EthTransaction) MarshalWithFlag() ([]byte, error)

func (*EthTransaction) Protected added in v1.2.0

func (e *EthTransaction) Protected() bool

Protected says whether the transaction is replay-protected.

func (*EthTransaction) Size added in v1.2.0

func (e *EthTransaction) Size() int

func (*EthTransaction) SizeWithFlag added in v1.2.0

func (e *EthTransaction) SizeWithFlag() int

func (*EthTransaction) Unmarshal added in v1.2.0

func (e *EthTransaction) Unmarshal(buf []byte) error

func (*EthTransaction) UnmarshalBinary added in v1.2.0

func (tx *EthTransaction) UnmarshalBinary(b []byte) error

UnmarshalBinary decodes the canonical encoding of transactions. It supports legacy RLP transactions and EIP2718 typed transactions.

func (*EthTransaction) VerifySignature added in v1.2.0

func (e *EthTransaction) VerifySignature() 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 added in v1.2.0

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 added in v1.2.0

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

func (*EvmLog) GetBlockNumber added in v1.2.0

func (m *EvmLog) GetBlockNumber() uint64

func (*EvmLog) GetData added in v1.2.0

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

func (*EvmLog) GetIndex added in v1.2.0

func (m *EvmLog) GetIndex() uint64

func (*EvmLog) GetRemoved added in v1.2.0

func (m *EvmLog) GetRemoved() bool

func (*EvmLog) GetTxIndex added in v1.2.0

func (m *EvmLog) GetTxIndex() uint64

func (*EvmLog) Marshal added in v1.2.0

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

func (EvmLog) MarshalJSON added in v1.2.0

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

MarshalJSON marshals as JSON.

func (*EvmLog) MarshalTo added in v1.2.0

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

func (*EvmLog) MarshalToSizedBuffer added in v1.2.0

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

func (*EvmLog) ProtoMessage added in v1.2.0

func (*EvmLog) ProtoMessage()

func (*EvmLog) Reset added in v1.2.0

func (m *EvmLog) Reset()

func (*EvmLog) Size added in v1.2.0

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

func (*EvmLog) String added in v1.2.0

func (m *EvmLog) String() string

func (*EvmLog) Unmarshal added in v1.2.0

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

func (*EvmLog) XXX_DiscardUnknown added in v1.2.0

func (m *EvmLog) XXX_DiscardUnknown()

func (*EvmLog) XXX_Marshal added in v1.2.0

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

func (*EvmLog) XXX_Merge added in v1.2.0

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

func (*EvmLog) XXX_Size added in v1.2.0

func (m *EvmLog) XXX_Size() int

func (*EvmLog) XXX_Unmarshal added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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

func (*GetBlockHeadersRequest) GetEnd added in v1.2.0

func (m *GetBlockHeadersRequest) GetEnd() uint64

func (*GetBlockHeadersRequest) GetStart added in v1.2.0

func (m *GetBlockHeadersRequest) GetStart() uint64

func (*GetBlockHeadersRequest) Marshal added in v1.2.0

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

func (*GetBlockHeadersRequest) MarshalTo added in v1.2.0

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

func (*GetBlockHeadersRequest) MarshalToSizedBuffer added in v1.2.0

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

func (*GetBlockHeadersRequest) ProtoMessage added in v1.2.0

func (*GetBlockHeadersRequest) ProtoMessage()

func (*GetBlockHeadersRequest) Reset added in v1.2.0

func (m *GetBlockHeadersRequest) Reset()

func (*GetBlockHeadersRequest) Size added in v1.2.0

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

func (*GetBlockHeadersRequest) String added in v1.2.0

func (m *GetBlockHeadersRequest) String() string

func (*GetBlockHeadersRequest) Unmarshal added in v1.2.0

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

func (*GetBlockHeadersRequest) XXX_DiscardUnknown added in v1.2.0

func (m *GetBlockHeadersRequest) XXX_DiscardUnknown()

func (*GetBlockHeadersRequest) XXX_Marshal added in v1.2.0

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

func (*GetBlockHeadersRequest) XXX_Merge added in v1.2.0

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

func (*GetBlockHeadersRequest) XXX_Size added in v1.2.0

func (m *GetBlockHeadersRequest) XXX_Size() int

func (*GetBlockHeadersRequest) XXX_Unmarshal added in v1.2.0

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

type GetBlockHeadersResponse added in v1.2.0

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

func (*GetBlockHeadersResponse) Descriptor added in v1.2.0

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

func (*GetBlockHeadersResponse) GetBlockHeaders added in v1.2.0

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

func (*GetBlockHeadersResponse) Marshal added in v1.2.0

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

func (*GetBlockHeadersResponse) MarshalTo added in v1.2.0

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

func (*GetBlockHeadersResponse) MarshalToSizedBuffer added in v1.2.0

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

func (*GetBlockHeadersResponse) ProtoMessage added in v1.2.0

func (*GetBlockHeadersResponse) ProtoMessage()

func (*GetBlockHeadersResponse) Reset added in v1.2.0

func (m *GetBlockHeadersResponse) Reset()

func (*GetBlockHeadersResponse) Size added in v1.2.0

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

func (*GetBlockHeadersResponse) String added in v1.2.0

func (m *GetBlockHeadersResponse) String() string

func (*GetBlockHeadersResponse) Unmarshal added in v1.2.0

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

func (*GetBlockHeadersResponse) XXX_DiscardUnknown added in v1.2.0

func (m *GetBlockHeadersResponse) XXX_DiscardUnknown()

func (*GetBlockHeadersResponse) XXX_Marshal added in v1.2.0

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

func (*GetBlockHeadersResponse) XXX_Merge added in v1.2.0

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

func (*GetBlockHeadersResponse) XXX_Size added in v1.2.0

func (m *GetBlockHeadersResponse) XXX_Size() int

func (*GetBlockHeadersResponse) XXX_Unmarshal added in v1.2.0

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 added in v1.2.0

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

func (*HeartBeatRespones) Descriptor added in v1.2.0

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

func (*HeartBeatRespones) GetStatus added in v1.2.0

func (*HeartBeatRespones) Marshal added in v1.2.0

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

func (*HeartBeatRespones) MarshalTo added in v1.2.0

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

func (*HeartBeatRespones) MarshalToSizedBuffer added in v1.2.0

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

func (*HeartBeatRespones) ProtoMessage added in v1.2.0

func (*HeartBeatRespones) ProtoMessage()

func (*HeartBeatRespones) Reset added in v1.2.0

func (m *HeartBeatRespones) Reset()

func (*HeartBeatRespones) Size added in v1.2.0

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

func (*HeartBeatRespones) String added in v1.2.0

func (m *HeartBeatRespones) String() string

func (*HeartBeatRespones) Unmarshal added in v1.2.0

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

func (*HeartBeatRespones) XXX_DiscardUnknown added in v1.2.0

func (m *HeartBeatRespones) XXX_DiscardUnknown()

func (*HeartBeatRespones) XXX_Marshal added in v1.2.0

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

func (*HeartBeatRespones) XXX_Merge added in v1.2.0

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

func (*HeartBeatRespones) XXX_Size added in v1.2.0

func (m *HeartBeatRespones) XXX_Size() int

func (*HeartBeatRespones) XXX_Unmarshal added in v1.2.0

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

type HeartBeatRespones_Status added in v1.2.0

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

func (HeartBeatRespones_Status) EnumDescriptor added in v1.2.0

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

func (HeartBeatRespones_Status) String added in v1.2.0

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
	Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,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) 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) GetIndex

func (m *IBTP) GetIndex() 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) ProtoMessage

func (*IBTP) ProtoMessage()

func (*IBTP) Reset

func (m *IBTP) Reset()

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 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_ASSET_EXCHANGE_INIT    IBTP_Type = 3
	IBTP_ASSET_EXCHANGE_REDEEM  IBTP_Type = 4
	IBTP_ASSET_EXCHANGE_REFUND  IBTP_Type = 5
	IBTP_ASSET_EXCHANGE_RECEIPT IBTP_Type = 6
)

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"`
	PierId     string `protobuf:"bytes,2,opt,name=pier_id,json=pierId,proto3" json:"pier_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) GetPierId

func (m *InitializeRequest) GetPierId() 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]*Uint64Slice
	L2Roots []types.Hash
}

func (*InterchainMeta) Marshal

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

func (*InterchainMeta) Unmarshal

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

type InterchainMetaS added in v1.2.0

type InterchainMetaS struct {
	Counter *StringUint64SliceMap                        `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 added in v1.2.0

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

func (*InterchainMetaS) GetCounter added in v1.2.0

func (m *InterchainMetaS) GetCounter() *StringUint64SliceMap

func (*InterchainMetaS) Marshal added in v1.2.0

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

func (*InterchainMetaS) MarshalTo added in v1.2.0

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

func (*InterchainMetaS) MarshalToSizedBuffer added in v1.2.0

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

func (*InterchainMetaS) ProtoMessage added in v1.2.0

func (*InterchainMetaS) ProtoMessage()

func (*InterchainMetaS) Reset added in v1.2.0

func (m *InterchainMetaS) Reset()

func (*InterchainMetaS) Size added in v1.2.0

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

func (*InterchainMetaS) String added in v1.2.0

func (m *InterchainMetaS) String() string

func (*InterchainMetaS) Unmarshal added in v1.2.0

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

func (*InterchainMetaS) XXX_DiscardUnknown added in v1.2.0

func (m *InterchainMetaS) XXX_DiscardUnknown()

func (*InterchainMetaS) XXX_Marshal added in v1.2.0

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

func (*InterchainMetaS) XXX_Merge added in v1.2.0

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

func (*InterchainMetaS) XXX_Size added in v1.2.0

func (m *InterchainMetaS) XXX_Size() int

func (*InterchainMetaS) XXX_Unmarshal added in v1.2.0

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

type InterchainS added in v1.2.0

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 added in v1.2.0

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

func (*InterchainS) GetID added in v1.2.0

func (m *InterchainS) GetID() string

func (*InterchainS) GetInterchainCounter added in v1.2.0

func (m *InterchainS) GetInterchainCounter() *StringUint64Map

func (*InterchainS) GetReceiptCounter added in v1.2.0

func (m *InterchainS) GetReceiptCounter() *StringUint64Map

func (*InterchainS) GetSourceReceiptCounter added in v1.2.0

func (m *InterchainS) GetSourceReceiptCounter() *StringUint64Map

func (*InterchainS) Marshal added in v1.2.0

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

func (*InterchainS) MarshalTo added in v1.2.0

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

func (*InterchainS) MarshalToSizedBuffer added in v1.2.0

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

func (*InterchainS) ProtoMessage added in v1.2.0

func (*InterchainS) ProtoMessage()

func (*InterchainS) Reset added in v1.2.0

func (m *InterchainS) Reset()

func (*InterchainS) Size added in v1.2.0

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

func (*InterchainS) String added in v1.2.0

func (m *InterchainS) String() string

func (*InterchainS) Unmarshal added in v1.2.0

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

func (*InterchainS) XXX_DiscardUnknown added in v1.2.0

func (m *InterchainS) XXX_DiscardUnknown()

func (*InterchainS) XXX_Marshal added in v1.2.0

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

func (*InterchainS) XXX_Merge added in v1.2.0

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

func (*InterchainS) XXX_Size added in v1.2.0

func (m *InterchainS) XXX_Size() int

func (*InterchainS) XXX_Unmarshal added in v1.2.0

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"`
	TransactionHashes []github_com_meshplus_bitxhub_kit_types.Hash `` /* 166-byte string literal not displayed */
	Transactions      []*BxhTransaction                            `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"`
	Height            uint64                                       `protobuf:"varint,4,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() []*BxhTransaction

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 LegacyTx added in v1.2.0

type LegacyTx struct {
	Nonce    uint64          // nonce of sender account
	GasPrice *big.Int        // wei per gas
	Gas      uint64          // gas limit
	To       *common.Address `rlp:"nil"` // nil means contract creation
	Value    *big.Int        // wei amount
	Data     []byte          // contract invocation input data
	V, R, S  *big.Int        // signature values
}

LegacyTx is the transaction data of regular Ethereum transactions.

type Message

type Message struct {
	Type    Message_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.Message_Type" json:"type,omitempty"`
	Data    []byte       `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
	Version []byte       `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"`
}

func (*Message) Descriptor

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

func (*Message) GetData

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

func (*Message) GetType

func (m *Message) GetType() Message_Type

func (*Message) GetVersion

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

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_GET_BLOCK                     Message_Type = 0
	Message_GET_BLOCK_ACK                 Message_Type = 1
	Message_CONSENSUS                     Message_Type = 2
	Message_FETCH_CERT                    Message_Type = 3
	Message_FETCH_CERT_ACK                Message_Type = 4
	Message_FETCH_BLOCK_SIGN              Message_Type = 5
	Message_FETCH_BLOCK_SIGN_ACK          Message_Type = 6
	Message_FETCH_IBTP_SIGN               Message_Type = 7
	Message_FETCH_IBTP_SIGN_ACK           Message_Type = 8
	Message_FETCH_ASSET_EXCHANEG_SIGN     Message_Type = 9
	Message_FETCH_ASSET_EXCHANGE_SIGN_ACK Message_Type = 10
	Message_GET_ADDRESS                   Message_Type = 11
	Message_GET_ADDRESS_ACK               Message_Type = 12
	Message_GET_BLOCK_HEADERS             Message_Type = 13
	Message_GET_BLOCK_HEADERS_ACK         Message_Type = 14
	Message_GET_BLOCKS                    Message_Type = 15
	Message_GET_BLOCKS_ACK                Message_Type = 16
	Message_CHECK_MASTER_PIER             Message_Type = 17
	Message_CHECK_MASTER_PIER_ACK         Message_Type = 18
)

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 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 PierInfo added in v1.2.0

type PierInfo 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 (*PierInfo) Descriptor added in v1.2.0

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

func (*PierInfo) GetAddress added in v1.2.0

func (m *PierInfo) GetAddress() string

func (*PierInfo) GetIndex added in v1.2.0

func (m *PierInfo) GetIndex() string

func (*PierInfo) GetTimeout added in v1.2.0

func (m *PierInfo) GetTimeout() int64

func (*PierInfo) Marshal added in v1.2.0

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

func (*PierInfo) MarshalTo added in v1.2.0

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

func (*PierInfo) MarshalToSizedBuffer added in v1.2.0

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

func (*PierInfo) ProtoMessage added in v1.2.0

func (*PierInfo) ProtoMessage()

func (*PierInfo) Reset added in v1.2.0

func (m *PierInfo) Reset()

func (*PierInfo) Size added in v1.2.0

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

func (*PierInfo) String added in v1.2.0

func (m *PierInfo) String() string

func (*PierInfo) Unmarshal added in v1.2.0

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

func (*PierInfo) XXX_DiscardUnknown added in v1.2.0

func (m *PierInfo) XXX_DiscardUnknown()

func (*PierInfo) XXX_Marshal added in v1.2.0

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

func (*PierInfo) XXX_Merge added in v1.2.0

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

func (*PierInfo) XXX_Size added in v1.2.0

func (m *PierInfo) XXX_Size() int

func (*PierInfo) XXX_Unmarshal added in v1.2.0

func (m *PierInfo) 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 added in v1.2.0

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

func (*Receipt) GetGasUsed added in v1.2.0

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 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 added in v1.2.0

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 added in v1.2.0

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

func (*StringUint64Map) GetKeys added in v1.2.0

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

func (*StringUint64Map) GetVals added in v1.2.0

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

func (*StringUint64Map) Marshal added in v1.2.0

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

func (*StringUint64Map) MarshalTo added in v1.2.0

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

func (*StringUint64Map) MarshalToSizedBuffer added in v1.2.0

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

func (*StringUint64Map) ProtoMessage added in v1.2.0

func (*StringUint64Map) ProtoMessage()

func (*StringUint64Map) Reset added in v1.2.0

func (m *StringUint64Map) Reset()

func (*StringUint64Map) Size added in v1.2.0

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

func (*StringUint64Map) String added in v1.2.0

func (m *StringUint64Map) String() string

func (*StringUint64Map) Unmarshal added in v1.2.0

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

func (*StringUint64Map) XXX_DiscardUnknown added in v1.2.0

func (m *StringUint64Map) XXX_DiscardUnknown()

func (*StringUint64Map) XXX_Marshal added in v1.2.0

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

func (*StringUint64Map) XXX_Merge added in v1.2.0

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

func (*StringUint64Map) XXX_Size added in v1.2.0

func (m *StringUint64Map) XXX_Size() int

func (*StringUint64Map) XXX_Unmarshal added in v1.2.0

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

type StringUint64SliceMap added in v1.2.0

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 added in v1.2.0

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

func (*StringUint64SliceMap) GetKeys added in v1.2.0

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

func (*StringUint64SliceMap) GetVals added in v1.2.0

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

func (*StringUint64SliceMap) Marshal added in v1.2.0

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

func (*StringUint64SliceMap) MarshalTo added in v1.2.0

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

func (*StringUint64SliceMap) MarshalToSizedBuffer added in v1.2.0

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

func (*StringUint64SliceMap) ProtoMessage added in v1.2.0

func (*StringUint64SliceMap) ProtoMessage()

func (*StringUint64SliceMap) Reset added in v1.2.0

func (m *StringUint64SliceMap) Reset()

func (*StringUint64SliceMap) Size added in v1.2.0

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

func (*StringUint64SliceMap) String added in v1.2.0

func (m *StringUint64SliceMap) String() string

func (*StringUint64SliceMap) Unmarshal added in v1.2.0

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

func (*StringUint64SliceMap) XXX_DiscardUnknown added in v1.2.0

func (m *StringUint64SliceMap) XXX_DiscardUnknown()

func (*StringUint64SliceMap) XXX_Marshal added in v1.2.0

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

func (*StringUint64SliceMap) XXX_Merge added in v1.2.0

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

func (*StringUint64SliceMap) XXX_Size added in v1.2.0

func (m *StringUint64SliceMap) XXX_Size() int

func (*StringUint64SliceMap) XXX_Unmarshal added in v1.2.0

func (m *StringUint64SliceMap) 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 added in v1.2.0

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) Size

func (txs *Transactions) Size() int

func (*Transactions) Unmarshal

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

type TxData added in v1.2.0

type TxData interface {
	// contains filtered or unexported methods
}

TxData is the underlying data of a transaction.

This is implemented by LegacyTx and AccessListTx.

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 added in v1.2.0

func (*UnimplementedAppchainPluginServer) GetReceipt(ctx context.Context, req *IBTP) (*IBTP, error)

func (*UnimplementedAppchainPluginServer) Initialize

func (*UnimplementedAppchainPluginServer) Name

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) CheckMasterPier added in v1.2.0

func (*UnimplementedChainBrokerServer) CheckMasterPier(ctx context.Context, req *Address) (*Response, error)

func (*UnimplementedChainBrokerServer) DelVPNode added in v1.2.0

func (*UnimplementedChainBrokerServer) GetAccountBalance

func (*UnimplementedChainBrokerServer) GetAccountBalance(ctx context.Context, req *Address) (*Response, error)

func (*UnimplementedChainBrokerServer) GetBlock

func (*UnimplementedChainBrokerServer) GetBlockHeader

func (*UnimplementedChainBrokerServer) GetBlockHeaders added in v1.2.0

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 added in v1.2.0

func (*UnimplementedChainBrokerServer) SendTransaction

func (*UnimplementedChainBrokerServer) SendView

func (*UnimplementedChainBrokerServer) SetMasterPier added in v1.2.0

func (*UnimplementedChainBrokerServer) SetMasterPier(ctx context.Context, req *PierInfo) (*Response, error)

func (*UnimplementedChainBrokerServer) Subscribe

type VpInfo added in v1.2.0

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 added in v1.2.0

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

func (*VpInfo) GetAccount added in v1.2.0

func (m *VpInfo) GetAccount() string

func (*VpInfo) GetHosts added in v1.2.0

func (m *VpInfo) GetHosts() []string

func (*VpInfo) GetId added in v1.2.0

func (m *VpInfo) GetId() uint64

func (*VpInfo) GetPid added in v1.2.0

func (m *VpInfo) GetPid() string

func (*VpInfo) Marshal added in v1.2.0

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

func (*VpInfo) MarshalTo added in v1.2.0

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

func (*VpInfo) MarshalToSizedBuffer added in v1.2.0

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

func (*VpInfo) ProtoMessage added in v1.2.0

func (*VpInfo) ProtoMessage()

func (*VpInfo) Reset added in v1.2.0

func (m *VpInfo) Reset()

func (*VpInfo) Size added in v1.2.0

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

func (*VpInfo) String added in v1.2.0

func (m *VpInfo) String() string

func (*VpInfo) Unmarshal added in v1.2.0

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

func (*VpInfo) XXX_DiscardUnknown added in v1.2.0

func (m *VpInfo) XXX_DiscardUnknown()

func (*VpInfo) XXX_Marshal added in v1.2.0

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

func (*VpInfo) XXX_Merge added in v1.2.0

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

func (*VpInfo) XXX_Size added in v1.2.0

func (m *VpInfo) XXX_Size() int

func (*VpInfo) XXX_Unmarshal added in v1.2.0

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