mirror of
https://github.com/luxfi/netrunner.git
synced 2026-07-27 00:04:23 +00:00
4366 lines
146 KiB
Go
4366 lines
146 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc (unknown)
|
|
// source: rpcpb/rpc.proto
|
|
|
|
package rpcpb
|
|
|
|
import (
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type PingRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PingRequest) Reset() {
|
|
*x = PingRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PingRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PingRequest) ProtoMessage() {}
|
|
|
|
func (x *PingRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
|
|
func (*PingRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type PingResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PingResponse) Reset() {
|
|
*x = PingResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PingResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PingResponse) ProtoMessage() {}
|
|
|
|
func (x *PingResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
|
|
func (*PingResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *PingResponse) GetPid() int32 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ChainParticipants struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NodeNames []string `protobuf:"bytes,1,rep,name=node_names,json=nodeNames,proto3" json:"node_names,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChainParticipants) Reset() {
|
|
*x = ChainParticipants{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChainParticipants) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChainParticipants) ProtoMessage() {}
|
|
|
|
func (x *ChainParticipants) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ChainParticipants.ProtoReflect.Descriptor instead.
|
|
func (*ChainParticipants) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ChainParticipants) GetNodeNames() []string {
|
|
if x != nil {
|
|
return x.NodeNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ClusterInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NodeNames []string `protobuf:"bytes,1,rep,name=node_names,json=nodeNames,proto3" json:"node_names,omitempty"`
|
|
NodeInfos map[string]*NodeInfo `protobuf:"bytes,2,rep,name=node_infos,json=nodeInfos,proto3" json:"node_infos,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
Pid int32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
RootDataDir string `protobuf:"bytes,4,opt,name=root_data_dir,json=rootDataDir,proto3" json:"root_data_dir,omitempty"`
|
|
Healthy bool `protobuf:"varint,5,opt,name=healthy,proto3" json:"healthy,omitempty"`
|
|
// Maps from the node ID to its attached peer infos.
|
|
AttachedPeerInfos map[string]*ListOfAttachedPeerInfo `protobuf:"bytes,6,rep,name=attached_peer_infos,json=attachedPeerInfos,proto3" json:"attached_peer_infos,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Set to "true" once custom blockchains are ready.
|
|
CustomChainsHealthy bool `protobuf:"varint,7,opt,name=custom_chains_healthy,json=customChainsHealthy,proto3" json:"custom_chains_healthy,omitempty"`
|
|
// The map of blockchain IDs in "ids.ID" format to its blockchain information.
|
|
CustomChains map[string]*CustomChainInfo `protobuf:"bytes,8,rep,name=custom_chains,json=customChains,proto3" json:"custom_chains,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
Chains map[string]*ChainInfo `protobuf:"bytes,9,rep,name=chains,proto3" json:"chains,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClusterInfo) Reset() {
|
|
*x = ClusterInfo{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClusterInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClusterInfo) ProtoMessage() {}
|
|
|
|
func (x *ClusterInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClusterInfo.ProtoReflect.Descriptor instead.
|
|
func (*ClusterInfo) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ClusterInfo) GetNodeNames() []string {
|
|
if x != nil {
|
|
return x.NodeNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClusterInfo) GetNodeInfos() map[string]*NodeInfo {
|
|
if x != nil {
|
|
return x.NodeInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClusterInfo) GetPid() int32 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClusterInfo) GetRootDataDir() string {
|
|
if x != nil {
|
|
return x.RootDataDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ClusterInfo) GetHealthy() bool {
|
|
if x != nil {
|
|
return x.Healthy
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClusterInfo) GetAttachedPeerInfos() map[string]*ListOfAttachedPeerInfo {
|
|
if x != nil {
|
|
return x.AttachedPeerInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClusterInfo) GetCustomChainsHealthy() bool {
|
|
if x != nil {
|
|
return x.CustomChainsHealthy
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClusterInfo) GetCustomChains() map[string]*CustomChainInfo {
|
|
if x != nil {
|
|
return x.CustomChains
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClusterInfo) GetChains() map[string]*ChainInfo {
|
|
if x != nil {
|
|
return x.Chains
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChainInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// If Chain is an Elastic Chain
|
|
IsElastic bool `protobuf:"varint,1,opt,name=is_elastic,json=isElastic,proto3" json:"is_elastic,omitempty"`
|
|
// TXID for the elastic chain transform
|
|
ElasticChainId string `protobuf:"bytes,2,opt,name=elastic_chain_id,json=elasticChainId,proto3" json:"elastic_chain_id,omitempty"`
|
|
// node validators of chain
|
|
ChainParticipants *ChainParticipants `protobuf:"bytes,3,opt,name=chain_participants,json=chainParticipants,proto3" json:"chain_participants,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChainInfo) Reset() {
|
|
*x = ChainInfo{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChainInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChainInfo) ProtoMessage() {}
|
|
|
|
func (x *ChainInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ChainInfo.ProtoReflect.Descriptor instead.
|
|
func (*ChainInfo) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ChainInfo) GetIsElastic() bool {
|
|
if x != nil {
|
|
return x.IsElastic
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ChainInfo) GetElasticChainId() string {
|
|
if x != nil {
|
|
return x.ElasticChainId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChainInfo) GetChainParticipants() *ChainParticipants {
|
|
if x != nil {
|
|
return x.ChainParticipants
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CustomChainInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Blockchain name given to the create blockchain TX
|
|
// Currently used to keep a record of the VM name,
|
|
// which is not saved anywhere and can't be recovered from VM ID
|
|
ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
|
|
// VM ID in "ids.ID" format.
|
|
VmId string `protobuf:"bytes,2,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"`
|
|
// Create chain transaction ID -- P-Chain chain ID.
|
|
// The chain ID must be whitelisted by the lux node.
|
|
PchainId string `protobuf:"bytes,3,opt,name=pchain_id,json=pchainId,proto3" json:"pchain_id,omitempty"`
|
|
// Create blockchain transaction ID -- blockchain ID>
|
|
// The blockchain ID is used for RPC endpoints.
|
|
BlockchainId string `protobuf:"bytes,4,opt,name=blockchain_id,json=blockchainId,proto3" json:"blockchain_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CustomChainInfo) Reset() {
|
|
*x = CustomChainInfo{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CustomChainInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CustomChainInfo) ProtoMessage() {}
|
|
|
|
func (x *CustomChainInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CustomChainInfo.ProtoReflect.Descriptor instead.
|
|
func (*CustomChainInfo) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CustomChainInfo) GetChainName() string {
|
|
if x != nil {
|
|
return x.ChainName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CustomChainInfo) GetVmId() string {
|
|
if x != nil {
|
|
return x.VmId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CustomChainInfo) GetPchainId() string {
|
|
if x != nil {
|
|
return x.PchainId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CustomChainInfo) GetBlockchainId() string {
|
|
if x != nil {
|
|
return x.BlockchainId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type NodeInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
ExecPath string `protobuf:"bytes,2,opt,name=exec_path,json=execPath,proto3" json:"exec_path,omitempty"`
|
|
Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
|
|
Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
|
|
LogDir string `protobuf:"bytes,5,opt,name=log_dir,json=logDir,proto3" json:"log_dir,omitempty"`
|
|
DbDir string `protobuf:"bytes,6,opt,name=db_dir,json=dbDir,proto3" json:"db_dir,omitempty"`
|
|
PluginDir string `protobuf:"bytes,7,opt,name=plugin_dir,json=pluginDir,proto3" json:"plugin_dir,omitempty"`
|
|
WhitelistedChains string `protobuf:"bytes,8,opt,name=whitelisted_chains,json=whitelistedChains,proto3" json:"whitelisted_chains,omitempty"`
|
|
Config []byte `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"`
|
|
Paused bool `protobuf:"varint,10,opt,name=paused,proto3" json:"paused,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NodeInfo) Reset() {
|
|
*x = NodeInfo{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NodeInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeInfo) ProtoMessage() {}
|
|
|
|
func (x *NodeInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead.
|
|
func (*NodeInfo) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *NodeInfo) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeInfo) GetExecPath() string {
|
|
if x != nil {
|
|
return x.ExecPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeInfo) GetUri() string {
|
|
if x != nil {
|
|
return x.Uri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeInfo) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeInfo) GetLogDir() string {
|
|
if x != nil {
|
|
return x.LogDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeInfo) GetDbDir() string {
|
|
if x != nil {
|
|
return x.DbDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeInfo) GetPluginDir() string {
|
|
if x != nil {
|
|
return x.PluginDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeInfo) GetWhitelistedChains() string {
|
|
if x != nil {
|
|
return x.WhitelistedChains
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeInfo) GetConfig() []byte {
|
|
if x != nil {
|
|
return x.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *NodeInfo) GetPaused() bool {
|
|
if x != nil {
|
|
return x.Paused
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AttachedPeerInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AttachedPeerInfo) Reset() {
|
|
*x = AttachedPeerInfo{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AttachedPeerInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AttachedPeerInfo) ProtoMessage() {}
|
|
|
|
func (x *AttachedPeerInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AttachedPeerInfo.ProtoReflect.Descriptor instead.
|
|
func (*AttachedPeerInfo) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *AttachedPeerInfo) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListOfAttachedPeerInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Peers []*AttachedPeerInfo `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListOfAttachedPeerInfo) Reset() {
|
|
*x = ListOfAttachedPeerInfo{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListOfAttachedPeerInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListOfAttachedPeerInfo) ProtoMessage() {}
|
|
|
|
func (x *ListOfAttachedPeerInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListOfAttachedPeerInfo.ProtoReflect.Descriptor instead.
|
|
func (*ListOfAttachedPeerInfo) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *ListOfAttachedPeerInfo) GetPeers() []*AttachedPeerInfo {
|
|
if x != nil {
|
|
return x.Peers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StartRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Network identifier - name or ID
|
|
// Supported values: "mainnet" (1), "testnet" (2), "devnet" (3), "custom" (1337)
|
|
// or any custom network name
|
|
NetworkName string `protobuf:"bytes,1,opt,name=network_name,json=networkName,proto3" json:"network_name,omitempty"`
|
|
// Node consensus engine type
|
|
// Supported values: "luxd", "avalanchego", "geth", "op-node", "custom"
|
|
NodeType string `protobuf:"bytes,2,opt,name=node_type,json=nodeType,proto3" json:"node_type,omitempty"`
|
|
ExecPath string `protobuf:"bytes,4,opt,name=exec_path,json=execPath,proto3" json:"exec_path,omitempty"`
|
|
NumNodes *uint32 `protobuf:"varint,5,opt,name=num_nodes,json=numNodes,proto3,oneof" json:"num_nodes,omitempty"`
|
|
WhitelistedChains *string `protobuf:"bytes,6,opt,name=whitelisted_chains,json=whitelistedChains,proto3,oneof" json:"whitelisted_chains,omitempty"`
|
|
GlobalNodeConfig *string `protobuf:"bytes,7,opt,name=global_node_config,json=globalNodeConfig,proto3,oneof" json:"global_node_config,omitempty"`
|
|
// Used for both database and log files.
|
|
RootDataDir *string `protobuf:"bytes,8,opt,name=root_data_dir,json=rootDataDir,proto3,oneof" json:"root_data_dir,omitempty"`
|
|
// Plugin dir from which to load all custom VM executables.
|
|
PluginDir string `protobuf:"bytes,9,opt,name=plugin_dir,json=pluginDir,proto3" json:"plugin_dir,omitempty"`
|
|
// The list of:
|
|
// - custom chain's VM name
|
|
// - genesis file path
|
|
// - (optional) chain id to use.
|
|
// - chain config file path
|
|
// - network upgrade file path
|
|
//
|
|
// chain id must be always nil when using StartRequest, as the network is empty and has no preloaded
|
|
// chain ids available.
|
|
//
|
|
// The matching file with the name in "ids.ID" format must exist.
|
|
// e.g., ids.ToID(hashing.ComputeHash256("chainevm")).String()
|
|
// e.g., chain-cli create VMID chainevm
|
|
//
|
|
// If this field is set to none (by default), the node/network-runner
|
|
// does not install the custom chain and does not create the chain,
|
|
// even if the VM binary exists on the local plugins directory.
|
|
BlockchainSpecs []*BlockchainSpec `protobuf:"bytes,10,rep,name=blockchain_specs,json=blockchainSpecs,proto3" json:"blockchain_specs,omitempty"`
|
|
CustomNodeConfigs map[string]string `protobuf:"bytes,11,rep,name=custom_node_configs,json=customNodeConfigs,proto3" json:"custom_node_configs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Map of chain name to config file contents.
|
|
// If specified, will create a file "chainname/config.json" with
|
|
// the contents provided here.
|
|
ChainConfigs map[string]string `protobuf:"bytes,12,rep,name=chain_configs,json=chainConfigs,proto3" json:"chain_configs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Map of chain name to upgrade file contents.
|
|
// If specified, will create a file "chainname/upgrade.json" with
|
|
// the contents provided here.
|
|
UpgradeConfigs map[string]string `protobuf:"bytes,13,rep,name=upgrade_configs,json=upgradeConfigs,proto3" json:"upgrade_configs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// reassign default/custom ports if they are already taken
|
|
ReassignPortsIfUsed *bool `protobuf:"varint,14,opt,name=reassign_ports_if_used,json=reassignPortsIfUsed,proto3,oneof" json:"reassign_ports_if_used,omitempty"`
|
|
// use dynamic ports instead of default ones
|
|
DynamicPorts *bool `protobuf:"varint,15,opt,name=dynamic_ports,json=dynamicPorts,proto3,oneof" json:"dynamic_ports,omitempty"`
|
|
// Map of chain id to chain config file contents.
|
|
// If specified, will create a file "chainid.json" under chains config dir with
|
|
// the contents provided here.
|
|
ChainConfigFiles map[string]string `protobuf:"bytes,16,rep,name=chain_config_files,json=chainConfigFiles,proto3" json:"chain_config_files,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartRequest) Reset() {
|
|
*x = StartRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartRequest) ProtoMessage() {}
|
|
|
|
func (x *StartRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
|
|
func (*StartRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *StartRequest) GetNetworkName() string {
|
|
if x != nil {
|
|
return x.NetworkName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartRequest) GetNodeType() string {
|
|
if x != nil {
|
|
return x.NodeType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartRequest) GetExecPath() string {
|
|
if x != nil {
|
|
return x.ExecPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartRequest) GetNumNodes() uint32 {
|
|
if x != nil && x.NumNodes != nil {
|
|
return *x.NumNodes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StartRequest) GetWhitelistedChains() string {
|
|
if x != nil && x.WhitelistedChains != nil {
|
|
return *x.WhitelistedChains
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartRequest) GetGlobalNodeConfig() string {
|
|
if x != nil && x.GlobalNodeConfig != nil {
|
|
return *x.GlobalNodeConfig
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartRequest) GetRootDataDir() string {
|
|
if x != nil && x.RootDataDir != nil {
|
|
return *x.RootDataDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartRequest) GetPluginDir() string {
|
|
if x != nil {
|
|
return x.PluginDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartRequest) GetBlockchainSpecs() []*BlockchainSpec {
|
|
if x != nil {
|
|
return x.BlockchainSpecs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StartRequest) GetCustomNodeConfigs() map[string]string {
|
|
if x != nil {
|
|
return x.CustomNodeConfigs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StartRequest) GetChainConfigs() map[string]string {
|
|
if x != nil {
|
|
return x.ChainConfigs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StartRequest) GetUpgradeConfigs() map[string]string {
|
|
if x != nil {
|
|
return x.UpgradeConfigs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StartRequest) GetReassignPortsIfUsed() bool {
|
|
if x != nil && x.ReassignPortsIfUsed != nil {
|
|
return *x.ReassignPortsIfUsed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StartRequest) GetDynamicPorts() bool {
|
|
if x != nil && x.DynamicPorts != nil {
|
|
return *x.DynamicPorts
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StartRequest) GetChainConfigFiles() map[string]string {
|
|
if x != nil {
|
|
return x.ChainConfigFiles
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RPCVersionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RPCVersionRequest) Reset() {
|
|
*x = RPCVersionRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RPCVersionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPCVersionRequest) ProtoMessage() {}
|
|
|
|
func (x *RPCVersionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RPCVersionRequest.ProtoReflect.Descriptor instead.
|
|
func (*RPCVersionRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
type RPCVersionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RPCVersionResponse) Reset() {
|
|
*x = RPCVersionResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RPCVersionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPCVersionResponse) ProtoMessage() {}
|
|
|
|
func (x *RPCVersionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RPCVersionResponse.ProtoReflect.Descriptor instead.
|
|
func (*RPCVersionResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *RPCVersionResponse) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StartResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
ChainIds []string `protobuf:"bytes,2,rep,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StartResponse) Reset() {
|
|
*x = StartResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StartResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartResponse) ProtoMessage() {}
|
|
|
|
func (x *StartResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.
|
|
func (*StartResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *StartResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StartResponse) GetChainIds() []string {
|
|
if x != nil {
|
|
return x.ChainIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChainSpec struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// if empty, assumes all nodes should be participants
|
|
Participants []string `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"`
|
|
// either file path or file contents
|
|
ChainConfigFile string `protobuf:"bytes,2,opt,name=chain_config_file,json=chainConfigFile,proto3" json:"chain_config_file,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChainSpec) Reset() {
|
|
*x = ChainSpec{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChainSpec) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChainSpec) ProtoMessage() {}
|
|
|
|
func (x *ChainSpec) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ChainSpec.ProtoReflect.Descriptor instead.
|
|
func (*ChainSpec) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ChainSpec) GetParticipants() []string {
|
|
if x != nil {
|
|
return x.Participants
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChainSpec) GetChainConfigFile() string {
|
|
if x != nil {
|
|
return x.ChainConfigFile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ElasticChainSpec struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
|
|
AssetName string `protobuf:"bytes,2,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"`
|
|
AssetSymbol string `protobuf:"bytes,3,opt,name=asset_symbol,json=assetSymbol,proto3" json:"asset_symbol,omitempty"`
|
|
InitialSupply uint64 `protobuf:"varint,4,opt,name=initial_supply,json=initialSupply,proto3" json:"initial_supply,omitempty"`
|
|
MaxSupply uint64 `protobuf:"varint,5,opt,name=max_supply,json=maxSupply,proto3" json:"max_supply,omitempty"`
|
|
MinConsumptionRate uint64 `protobuf:"varint,6,opt,name=min_consumption_rate,json=minConsumptionRate,proto3" json:"min_consumption_rate,omitempty"`
|
|
MaxConsumptionRate uint64 `protobuf:"varint,7,opt,name=max_consumption_rate,json=maxConsumptionRate,proto3" json:"max_consumption_rate,omitempty"`
|
|
MinValidatorStake uint64 `protobuf:"varint,8,opt,name=min_validator_stake,json=minValidatorStake,proto3" json:"min_validator_stake,omitempty"`
|
|
MaxValidatorStake uint64 `protobuf:"varint,9,opt,name=max_validator_stake,json=maxValidatorStake,proto3" json:"max_validator_stake,omitempty"`
|
|
MinStakeDuration uint64 `protobuf:"varint,10,opt,name=min_stake_duration,json=minStakeDuration,proto3" json:"min_stake_duration,omitempty"`
|
|
MaxStakeDuration uint64 `protobuf:"varint,11,opt,name=max_stake_duration,json=maxStakeDuration,proto3" json:"max_stake_duration,omitempty"`
|
|
MinDelegationFee uint32 `protobuf:"varint,12,opt,name=min_delegation_fee,json=minDelegationFee,proto3" json:"min_delegation_fee,omitempty"`
|
|
MinDelegatorStake uint64 `protobuf:"varint,13,opt,name=min_delegator_stake,json=minDelegatorStake,proto3" json:"min_delegator_stake,omitempty"`
|
|
MaxValidatorWeightFactor uint32 `protobuf:"varint,14,opt,name=max_validator_weight_factor,json=maxValidatorWeightFactor,proto3" json:"max_validator_weight_factor,omitempty"`
|
|
UptimeRequirement uint32 `protobuf:"varint,15,opt,name=uptime_requirement,json=uptimeRequirement,proto3" json:"uptime_requirement,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ElasticChainSpec) Reset() {
|
|
*x = ElasticChainSpec{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ElasticChainSpec) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ElasticChainSpec) ProtoMessage() {}
|
|
|
|
func (x *ElasticChainSpec) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ElasticChainSpec.ProtoReflect.Descriptor instead.
|
|
func (*ElasticChainSpec) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetChainId() string {
|
|
if x != nil {
|
|
return x.ChainId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetAssetName() string {
|
|
if x != nil {
|
|
return x.AssetName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetAssetSymbol() string {
|
|
if x != nil {
|
|
return x.AssetSymbol
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetInitialSupply() uint64 {
|
|
if x != nil {
|
|
return x.InitialSupply
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetMaxSupply() uint64 {
|
|
if x != nil {
|
|
return x.MaxSupply
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetMinConsumptionRate() uint64 {
|
|
if x != nil {
|
|
return x.MinConsumptionRate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetMaxConsumptionRate() uint64 {
|
|
if x != nil {
|
|
return x.MaxConsumptionRate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetMinValidatorStake() uint64 {
|
|
if x != nil {
|
|
return x.MinValidatorStake
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetMaxValidatorStake() uint64 {
|
|
if x != nil {
|
|
return x.MaxValidatorStake
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetMinStakeDuration() uint64 {
|
|
if x != nil {
|
|
return x.MinStakeDuration
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetMaxStakeDuration() uint64 {
|
|
if x != nil {
|
|
return x.MaxStakeDuration
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetMinDelegationFee() uint32 {
|
|
if x != nil {
|
|
return x.MinDelegationFee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetMinDelegatorStake() uint64 {
|
|
if x != nil {
|
|
return x.MinDelegatorStake
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetMaxValidatorWeightFactor() uint32 {
|
|
if x != nil {
|
|
return x.MaxValidatorWeightFactor
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ElasticChainSpec) GetUptimeRequirement() uint32 {
|
|
if x != nil {
|
|
return x.UptimeRequirement
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TransformElasticChainsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ElasticChainSpec []*ElasticChainSpec `protobuf:"bytes,1,rep,name=elastic_chain_spec,json=elasticChainSpec,proto3" json:"elastic_chain_spec,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TransformElasticChainsRequest) Reset() {
|
|
*x = TransformElasticChainsRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TransformElasticChainsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TransformElasticChainsRequest) ProtoMessage() {}
|
|
|
|
func (x *TransformElasticChainsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TransformElasticChainsRequest.ProtoReflect.Descriptor instead.
|
|
func (*TransformElasticChainsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *TransformElasticChainsRequest) GetElasticChainSpec() []*ElasticChainSpec {
|
|
if x != nil {
|
|
return x.ElasticChainSpec
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TransformElasticChainsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
TxIds []string `protobuf:"bytes,2,rep,name=tx_ids,json=txIds,proto3" json:"tx_ids,omitempty"`
|
|
AssetIds []string `protobuf:"bytes,3,rep,name=asset_ids,json=assetIds,proto3" json:"asset_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TransformElasticChainsResponse) Reset() {
|
|
*x = TransformElasticChainsResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TransformElasticChainsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TransformElasticChainsResponse) ProtoMessage() {}
|
|
|
|
func (x *TransformElasticChainsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TransformElasticChainsResponse.ProtoReflect.Descriptor instead.
|
|
func (*TransformElasticChainsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *TransformElasticChainsResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TransformElasticChainsResponse) GetTxIds() []string {
|
|
if x != nil {
|
|
return x.TxIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TransformElasticChainsResponse) GetAssetIds() []string {
|
|
if x != nil {
|
|
return x.AssetIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PermissionlessValidatorSpec struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
|
|
NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
|
|
StakedTokenAmount uint64 `protobuf:"varint,3,opt,name=staked_token_amount,json=stakedTokenAmount,proto3" json:"staked_token_amount,omitempty"`
|
|
AssetId string `protobuf:"bytes,4,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
|
|
StartTime string `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
|
|
StakeDuration uint64 `protobuf:"varint,6,opt,name=stake_duration,json=stakeDuration,proto3" json:"stake_duration,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PermissionlessValidatorSpec) Reset() {
|
|
*x = PermissionlessValidatorSpec{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PermissionlessValidatorSpec) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PermissionlessValidatorSpec) ProtoMessage() {}
|
|
|
|
func (x *PermissionlessValidatorSpec) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PermissionlessValidatorSpec.ProtoReflect.Descriptor instead.
|
|
func (*PermissionlessValidatorSpec) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *PermissionlessValidatorSpec) GetChainId() string {
|
|
if x != nil {
|
|
return x.ChainId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PermissionlessValidatorSpec) GetNodeName() string {
|
|
if x != nil {
|
|
return x.NodeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PermissionlessValidatorSpec) GetStakedTokenAmount() uint64 {
|
|
if x != nil {
|
|
return x.StakedTokenAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PermissionlessValidatorSpec) GetAssetId() string {
|
|
if x != nil {
|
|
return x.AssetId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PermissionlessValidatorSpec) GetStartTime() string {
|
|
if x != nil {
|
|
return x.StartTime
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PermissionlessValidatorSpec) GetStakeDuration() uint64 {
|
|
if x != nil {
|
|
return x.StakeDuration
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AddPermissionlessValidatorRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ValidatorSpec []*PermissionlessValidatorSpec `protobuf:"bytes,1,rep,name=validator_spec,json=validatorSpec,proto3" json:"validator_spec,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddPermissionlessValidatorRequest) Reset() {
|
|
*x = AddPermissionlessValidatorRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddPermissionlessValidatorRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddPermissionlessValidatorRequest) ProtoMessage() {}
|
|
|
|
func (x *AddPermissionlessValidatorRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddPermissionlessValidatorRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddPermissionlessValidatorRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *AddPermissionlessValidatorRequest) GetValidatorSpec() []*PermissionlessValidatorSpec {
|
|
if x != nil {
|
|
return x.ValidatorSpec
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddPermissionlessValidatorResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddPermissionlessValidatorResponse) Reset() {
|
|
*x = AddPermissionlessValidatorResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddPermissionlessValidatorResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddPermissionlessValidatorResponse) ProtoMessage() {}
|
|
|
|
func (x *AddPermissionlessValidatorResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddPermissionlessValidatorResponse.ProtoReflect.Descriptor instead.
|
|
func (*AddPermissionlessValidatorResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *AddPermissionlessValidatorResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveChainValidatorSpec struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
|
|
NodeNames []string `protobuf:"bytes,2,rep,name=node_names,json=nodeNames,proto3" json:"node_names,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveChainValidatorSpec) Reset() {
|
|
*x = RemoveChainValidatorSpec{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveChainValidatorSpec) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveChainValidatorSpec) ProtoMessage() {}
|
|
|
|
func (x *RemoveChainValidatorSpec) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveChainValidatorSpec.ProtoReflect.Descriptor instead.
|
|
func (*RemoveChainValidatorSpec) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *RemoveChainValidatorSpec) GetChainId() string {
|
|
if x != nil {
|
|
return x.ChainId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemoveChainValidatorSpec) GetNodeNames() []string {
|
|
if x != nil {
|
|
return x.NodeNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveChainValidatorRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ValidatorSpec []*RemoveChainValidatorSpec `protobuf:"bytes,1,rep,name=validator_spec,json=validatorSpec,proto3" json:"validator_spec,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveChainValidatorRequest) Reset() {
|
|
*x = RemoveChainValidatorRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveChainValidatorRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveChainValidatorRequest) ProtoMessage() {}
|
|
|
|
func (x *RemoveChainValidatorRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveChainValidatorRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemoveChainValidatorRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *RemoveChainValidatorRequest) GetValidatorSpec() []*RemoveChainValidatorSpec {
|
|
if x != nil {
|
|
return x.ValidatorSpec
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveChainValidatorResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveChainValidatorResponse) Reset() {
|
|
*x = RemoveChainValidatorResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveChainValidatorResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveChainValidatorResponse) ProtoMessage() {}
|
|
|
|
func (x *RemoveChainValidatorResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveChainValidatorResponse.ProtoReflect.Descriptor instead.
|
|
func (*RemoveChainValidatorResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *RemoveChainValidatorResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BlockchainSpec struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VmName string `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
|
|
// either file path or file contents
|
|
Genesis string `protobuf:"bytes,2,opt,name=genesis,proto3" json:"genesis,omitempty"`
|
|
// either a chain_id is given for a previously created chain,
|
|
// or a chain specification is given for a new chain generation
|
|
ChainId *string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3,oneof" json:"chain_id,omitempty"`
|
|
ChainSpec *ChainSpec `protobuf:"bytes,4,opt,name=chain_spec,json=chainSpec,proto3,oneof" json:"chain_spec,omitempty"`
|
|
// General chain config, either file path or file contents
|
|
ChainConfig string `protobuf:"bytes,5,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config,omitempty"`
|
|
// either file path or file contents
|
|
NetworkUpgrade string `protobuf:"bytes,6,opt,name=network_upgrade,json=networkUpgrade,proto3" json:"network_upgrade,omitempty"`
|
|
BlockchainAlias string `protobuf:"bytes,7,opt,name=blockchain_alias,json=blockchainAlias,proto3" json:"blockchain_alias,omitempty"`
|
|
// Per node chain config, either file path or file contents
|
|
PerNodeChainConfig string `protobuf:"bytes,8,opt,name=per_node_chain_config,json=perNodeChainConfig,proto3" json:"per_node_chain_config,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BlockchainSpec) Reset() {
|
|
*x = BlockchainSpec{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BlockchainSpec) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlockchainSpec) ProtoMessage() {}
|
|
|
|
func (x *BlockchainSpec) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BlockchainSpec.ProtoReflect.Descriptor instead.
|
|
func (*BlockchainSpec) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *BlockchainSpec) GetVmName() string {
|
|
if x != nil {
|
|
return x.VmName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlockchainSpec) GetGenesis() string {
|
|
if x != nil {
|
|
return x.Genesis
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlockchainSpec) GetChainId() string {
|
|
if x != nil && x.ChainId != nil {
|
|
return *x.ChainId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlockchainSpec) GetChainSpec() *ChainSpec {
|
|
if x != nil {
|
|
return x.ChainSpec
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BlockchainSpec) GetChainConfig() string {
|
|
if x != nil {
|
|
return x.ChainConfig
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlockchainSpec) GetNetworkUpgrade() string {
|
|
if x != nil {
|
|
return x.NetworkUpgrade
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlockchainSpec) GetBlockchainAlias() string {
|
|
if x != nil {
|
|
return x.BlockchainAlias
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlockchainSpec) GetPerNodeChainConfig() string {
|
|
if x != nil {
|
|
return x.PerNodeChainConfig
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateBlockchainsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The list of:
|
|
// - custom chain's VM name
|
|
// - genesis file path
|
|
// - (optional) chain id to use.
|
|
// - chain config file path
|
|
// - network upgrade file path
|
|
// - chain config file path
|
|
// - chain config file path for specific nodes
|
|
//
|
|
// The matching file with the name in "ids.ID" format must exist.
|
|
// e.g., ids.ToID(hashing.ComputeHash256("chainevm")).String()
|
|
// e.g., chain-cli create VMID chainevm
|
|
//
|
|
// If this field is set to none (by default), the node/network-runner
|
|
// will return error
|
|
BlockchainSpecs []*BlockchainSpec `protobuf:"bytes,1,rep,name=blockchain_specs,json=blockchainSpecs,proto3" json:"blockchain_specs,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateBlockchainsRequest) Reset() {
|
|
*x = CreateBlockchainsRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateBlockchainsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateBlockchainsRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateBlockchainsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateBlockchainsRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateBlockchainsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *CreateBlockchainsRequest) GetBlockchainSpecs() []*BlockchainSpec {
|
|
if x != nil {
|
|
return x.BlockchainSpecs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateBlockchainsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
ChainIds []string `protobuf:"bytes,2,rep,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateBlockchainsResponse) Reset() {
|
|
*x = CreateBlockchainsResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateBlockchainsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateBlockchainsResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateBlockchainsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateBlockchainsResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateBlockchainsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *CreateBlockchainsResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateBlockchainsResponse) GetChainIds() []string {
|
|
if x != nil {
|
|
return x.ChainIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateChainsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ChainSpecs []*ChainSpec `protobuf:"bytes,1,rep,name=chain_specs,json=chainSpecs,proto3" json:"chain_specs,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateChainsRequest) Reset() {
|
|
*x = CreateChainsRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateChainsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateChainsRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateChainsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateChainsRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateChainsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *CreateChainsRequest) GetChainSpecs() []*ChainSpec {
|
|
if x != nil {
|
|
return x.ChainSpecs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateChainsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
ChainIds []string `protobuf:"bytes,2,rep,name=chain_ids,json=chainIds,proto3" json:"chain_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateChainsResponse) Reset() {
|
|
*x = CreateChainsResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateChainsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateChainsResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateChainsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateChainsResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateChainsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *CreateChainsResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateChainsResponse) GetChainIds() []string {
|
|
if x != nil {
|
|
return x.ChainIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type HealthRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Network name to check health for
|
|
// If empty, checks overall server health
|
|
NetworkName *string `protobuf:"bytes,1,opt,name=network_name,json=networkName,proto3,oneof" json:"network_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HealthRequest) Reset() {
|
|
*x = HealthRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HealthRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HealthRequest) ProtoMessage() {}
|
|
|
|
func (x *HealthRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.
|
|
func (*HealthRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *HealthRequest) GetNetworkName() string {
|
|
if x != nil && x.NetworkName != nil {
|
|
return *x.NetworkName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HealthResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
// Network-specific health information
|
|
NetworkHealth *NetworkHealth `protobuf:"bytes,2,opt,name=network_health,json=networkHealth,proto3,oneof" json:"network_health,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HealthResponse) Reset() {
|
|
*x = HealthResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HealthResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HealthResponse) ProtoMessage() {}
|
|
|
|
func (x *HealthResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.
|
|
func (*HealthResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *HealthResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HealthResponse) GetNetworkHealth() *NetworkHealth {
|
|
if x != nil {
|
|
return x.NetworkHealth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NetworkHealth struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NetworkName string `protobuf:"bytes,1,opt,name=network_name,json=networkName,proto3" json:"network_name,omitempty"`
|
|
NetworkId uint32 `protobuf:"varint,2,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
|
|
Healthy bool `protobuf:"varint,3,opt,name=healthy,proto3" json:"healthy,omitempty"`
|
|
HealthyNodes []string `protobuf:"bytes,4,rep,name=healthy_nodes,json=healthyNodes,proto3" json:"healthy_nodes,omitempty"`
|
|
UnhealthyNodes []string `protobuf:"bytes,5,rep,name=unhealthy_nodes,json=unhealthyNodes,proto3" json:"unhealthy_nodes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NetworkHealth) Reset() {
|
|
*x = NetworkHealth{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NetworkHealth) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NetworkHealth) ProtoMessage() {}
|
|
|
|
func (x *NetworkHealth) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NetworkHealth.ProtoReflect.Descriptor instead.
|
|
func (*NetworkHealth) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *NetworkHealth) GetNetworkName() string {
|
|
if x != nil {
|
|
return x.NetworkName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NetworkHealth) GetNetworkId() uint32 {
|
|
if x != nil {
|
|
return x.NetworkId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NetworkHealth) GetHealthy() bool {
|
|
if x != nil {
|
|
return x.Healthy
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *NetworkHealth) GetHealthyNodes() []string {
|
|
if x != nil {
|
|
return x.HealthyNodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *NetworkHealth) GetUnhealthyNodes() []string {
|
|
if x != nil {
|
|
return x.UnhealthyNodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type URIsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *URIsRequest) Reset() {
|
|
*x = URIsRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *URIsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*URIsRequest) ProtoMessage() {}
|
|
|
|
func (x *URIsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use URIsRequest.ProtoReflect.Descriptor instead.
|
|
func (*URIsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
type URIsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *URIsResponse) Reset() {
|
|
*x = URIsResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *URIsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*URIsResponse) ProtoMessage() {}
|
|
|
|
func (x *URIsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use URIsResponse.ProtoReflect.Descriptor instead.
|
|
func (*URIsResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *URIsResponse) GetUris() []string {
|
|
if x != nil {
|
|
return x.Uris
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WaitForHealthyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Network name to wait for
|
|
// If empty, waits for any network to be healthy
|
|
NetworkName *string `protobuf:"bytes,1,opt,name=network_name,json=networkName,proto3,oneof" json:"network_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WaitForHealthyRequest) Reset() {
|
|
*x = WaitForHealthyRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WaitForHealthyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WaitForHealthyRequest) ProtoMessage() {}
|
|
|
|
func (x *WaitForHealthyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WaitForHealthyRequest.ProtoReflect.Descriptor instead.
|
|
func (*WaitForHealthyRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *WaitForHealthyRequest) GetNetworkName() string {
|
|
if x != nil && x.NetworkName != nil {
|
|
return *x.NetworkName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WaitForHealthyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WaitForHealthyResponse) Reset() {
|
|
*x = WaitForHealthyResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WaitForHealthyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WaitForHealthyResponse) ProtoMessage() {}
|
|
|
|
func (x *WaitForHealthyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WaitForHealthyResponse.ProtoReflect.Descriptor instead.
|
|
func (*WaitForHealthyResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *WaitForHealthyResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Network name to get status for
|
|
// If empty, returns overall server status
|
|
NetworkName *string `protobuf:"bytes,1,opt,name=network_name,json=networkName,proto3,oneof" json:"network_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StatusRequest) Reset() {
|
|
*x = StatusRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StatusRequest) ProtoMessage() {}
|
|
|
|
func (x *StatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*StatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *StatusRequest) GetNetworkName() string {
|
|
if x != nil && x.NetworkName != nil {
|
|
return *x.NetworkName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type StatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
// Network-specific status information
|
|
NetworkStatus *NetworkStatus `protobuf:"bytes,2,opt,name=network_status,json=networkStatus,proto3,oneof" json:"network_status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StatusResponse) Reset() {
|
|
*x = StatusResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StatusResponse) ProtoMessage() {}
|
|
|
|
func (x *StatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*StatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *StatusResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StatusResponse) GetNetworkStatus() *NetworkStatus {
|
|
if x != nil {
|
|
return x.NetworkStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NetworkStatus struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NetworkName string `protobuf:"bytes,1,opt,name=network_name,json=networkName,proto3" json:"network_name,omitempty"`
|
|
NetworkId uint32 `protobuf:"varint,2,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // "running", "stopped", "starting", "error"
|
|
NumNodes uint32 `protobuf:"varint,4,opt,name=num_nodes,json=numNodes,proto3" json:"num_nodes,omitempty"`
|
|
Nodes []*NodeInfo `protobuf:"bytes,5,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
|
Chains []*ChainInfo `protobuf:"bytes,6,rep,name=chains,proto3" json:"chains,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NetworkStatus) Reset() {
|
|
*x = NetworkStatus{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NetworkStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NetworkStatus) ProtoMessage() {}
|
|
|
|
func (x *NetworkStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NetworkStatus.ProtoReflect.Descriptor instead.
|
|
func (*NetworkStatus) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *NetworkStatus) GetNetworkName() string {
|
|
if x != nil {
|
|
return x.NetworkName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NetworkStatus) GetNetworkId() uint32 {
|
|
if x != nil {
|
|
return x.NetworkId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NetworkStatus) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NetworkStatus) GetNumNodes() uint32 {
|
|
if x != nil {
|
|
return x.NumNodes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NetworkStatus) GetNodes() []*NodeInfo {
|
|
if x != nil {
|
|
return x.Nodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *NetworkStatus) GetChains() []*ChainInfo {
|
|
if x != nil {
|
|
return x.Chains
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StreamStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PushInterval int64 `protobuf:"varint,1,opt,name=push_interval,json=pushInterval,proto3" json:"push_interval,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StreamStatusRequest) Reset() {
|
|
*x = StreamStatusRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StreamStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StreamStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *StreamStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StreamStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*StreamStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *StreamStatusRequest) GetPushInterval() int64 {
|
|
if x != nil {
|
|
return x.PushInterval
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StreamStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StreamStatusResponse) Reset() {
|
|
*x = StreamStatusResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StreamStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StreamStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *StreamStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StreamStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*StreamStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *StreamStatusResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RestartNodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Must be a valid node name.
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Optional fields are set to the previous values if empty.
|
|
ExecPath *string `protobuf:"bytes,2,opt,name=exec_path,json=execPath,proto3,oneof" json:"exec_path,omitempty"`
|
|
WhitelistedChains *string `protobuf:"bytes,3,opt,name=whitelisted_chains,json=whitelistedChains,proto3,oneof" json:"whitelisted_chains,omitempty"`
|
|
// Map of chain name to config file contents.
|
|
// If specified, will create a file "chainname/config.json" with
|
|
// the contents provided here.
|
|
ChainConfigs map[string]string `protobuf:"bytes,4,rep,name=chain_configs,json=chainConfigs,proto3" json:"chain_configs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Map of chain name to config file contents.
|
|
// If specified, will create a file "chainname/upgrade.json" with
|
|
// the contents provided here.
|
|
UpgradeConfigs map[string]string `protobuf:"bytes,5,rep,name=upgrade_configs,json=upgradeConfigs,proto3" json:"upgrade_configs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Map of chain id to chain config file contents.
|
|
// If specified, will create a file "chainid.json" under chains config dir with
|
|
// the contents provided here.
|
|
ChainConfigFiles map[string]string `protobuf:"bytes,6,rep,name=chain_config_files,json=chainConfigFiles,proto3" json:"chain_config_files,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Plugin dir from which to load all custom VM executables.
|
|
PluginDir string `protobuf:"bytes,7,opt,name=plugin_dir,json=pluginDir,proto3" json:"plugin_dir,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RestartNodeRequest) Reset() {
|
|
*x = RestartNodeRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RestartNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RestartNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *RestartNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RestartNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*RestartNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *RestartNodeRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RestartNodeRequest) GetExecPath() string {
|
|
if x != nil && x.ExecPath != nil {
|
|
return *x.ExecPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RestartNodeRequest) GetWhitelistedChains() string {
|
|
if x != nil && x.WhitelistedChains != nil {
|
|
return *x.WhitelistedChains
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RestartNodeRequest) GetChainConfigs() map[string]string {
|
|
if x != nil {
|
|
return x.ChainConfigs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RestartNodeRequest) GetUpgradeConfigs() map[string]string {
|
|
if x != nil {
|
|
return x.UpgradeConfigs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RestartNodeRequest) GetChainConfigFiles() map[string]string {
|
|
if x != nil {
|
|
return x.ChainConfigFiles
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RestartNodeRequest) GetPluginDir() string {
|
|
if x != nil {
|
|
return x.PluginDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RestartNodeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RestartNodeResponse) Reset() {
|
|
*x = RestartNodeResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RestartNodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RestartNodeResponse) ProtoMessage() {}
|
|
|
|
func (x *RestartNodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RestartNodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*RestartNodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *RestartNodeResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveNodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveNodeRequest) Reset() {
|
|
*x = RemoveNodeRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *RemoveNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemoveNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *RemoveNodeRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RemoveNodeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveNodeResponse) Reset() {
|
|
*x = RemoveNodeResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveNodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveNodeResponse) ProtoMessage() {}
|
|
|
|
func (x *RemoveNodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveNodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*RemoveNodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *RemoveNodeResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PauseNodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PauseNodeRequest) Reset() {
|
|
*x = PauseNodeRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PauseNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PauseNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *PauseNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[44]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PauseNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*PauseNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *PauseNodeRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PauseNodeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PauseNodeResponse) Reset() {
|
|
*x = PauseNodeResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PauseNodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PauseNodeResponse) ProtoMessage() {}
|
|
|
|
func (x *PauseNodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[45]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PauseNodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*PauseNodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *PauseNodeResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ResumeNodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResumeNodeRequest) Reset() {
|
|
*x = ResumeNodeRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResumeNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResumeNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *ResumeNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[46]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResumeNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*ResumeNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *ResumeNodeRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ResumeNodeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResumeNodeResponse) Reset() {
|
|
*x = ResumeNodeResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResumeNodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResumeNodeResponse) ProtoMessage() {}
|
|
|
|
func (x *ResumeNodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[47]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResumeNodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*ResumeNodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *ResumeNodeResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddNodeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
ExecPath string `protobuf:"bytes,2,opt,name=exec_path,json=execPath,proto3" json:"exec_path,omitempty"`
|
|
NodeConfig *string `protobuf:"bytes,3,opt,name=node_config,json=nodeConfig,proto3,oneof" json:"node_config,omitempty"`
|
|
// Map of chain name to config file contents.
|
|
// If specified, will create a file "chainname/config.json" with
|
|
// the contents provided here.
|
|
ChainConfigs map[string]string `protobuf:"bytes,4,rep,name=chain_configs,json=chainConfigs,proto3" json:"chain_configs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Map of chain name to config file contents.
|
|
// If specified, will create a file "chainname/upgrade.json" with
|
|
// the contents provided here.
|
|
UpgradeConfigs map[string]string `protobuf:"bytes,5,rep,name=upgrade_configs,json=upgradeConfigs,proto3" json:"upgrade_configs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Map of chain id to chain config file contents.
|
|
// If specified, will create a file "chainid.json" under chains config dir with
|
|
// the contents provided here.
|
|
ChainConfigFiles map[string]string `protobuf:"bytes,6,rep,name=chain_config_files,json=chainConfigFiles,proto3" json:"chain_config_files,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
// Plugin dir from which to load all custom VM executables.
|
|
PluginDir string `protobuf:"bytes,7,opt,name=plugin_dir,json=pluginDir,proto3" json:"plugin_dir,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddNodeRequest) Reset() {
|
|
*x = AddNodeRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddNodeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddNodeRequest) ProtoMessage() {}
|
|
|
|
func (x *AddNodeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[48]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddNodeRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddNodeRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *AddNodeRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddNodeRequest) GetExecPath() string {
|
|
if x != nil {
|
|
return x.ExecPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddNodeRequest) GetNodeConfig() string {
|
|
if x != nil && x.NodeConfig != nil {
|
|
return *x.NodeConfig
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddNodeRequest) GetChainConfigs() map[string]string {
|
|
if x != nil {
|
|
return x.ChainConfigs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddNodeRequest) GetUpgradeConfigs() map[string]string {
|
|
if x != nil {
|
|
return x.UpgradeConfigs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddNodeRequest) GetChainConfigFiles() map[string]string {
|
|
if x != nil {
|
|
return x.ChainConfigFiles
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddNodeRequest) GetPluginDir() string {
|
|
if x != nil {
|
|
return x.PluginDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddNodeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddNodeResponse) Reset() {
|
|
*x = AddNodeResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddNodeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddNodeResponse) ProtoMessage() {}
|
|
|
|
func (x *AddNodeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[49]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddNodeResponse.ProtoReflect.Descriptor instead.
|
|
func (*AddNodeResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *AddNodeResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StopRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StopRequest) Reset() {
|
|
*x = StopRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StopRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StopRequest) ProtoMessage() {}
|
|
|
|
func (x *StopRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[50]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
|
|
func (*StopRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
type StopResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StopResponse) Reset() {
|
|
*x = StopResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StopResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StopResponse) ProtoMessage() {}
|
|
|
|
func (x *StopResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[51]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.
|
|
func (*StopResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *StopResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AttachPeerRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AttachPeerRequest) Reset() {
|
|
*x = AttachPeerRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AttachPeerRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AttachPeerRequest) ProtoMessage() {}
|
|
|
|
func (x *AttachPeerRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[52]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AttachPeerRequest.ProtoReflect.Descriptor instead.
|
|
func (*AttachPeerRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *AttachPeerRequest) GetNodeName() string {
|
|
if x != nil {
|
|
return x.NodeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AttachPeerResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
AttachedPeerInfo *AttachedPeerInfo `protobuf:"bytes,2,opt,name=attached_peer_info,json=attachedPeerInfo,proto3" json:"attached_peer_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AttachPeerResponse) Reset() {
|
|
*x = AttachPeerResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AttachPeerResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AttachPeerResponse) ProtoMessage() {}
|
|
|
|
func (x *AttachPeerResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[53]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AttachPeerResponse.ProtoReflect.Descriptor instead.
|
|
func (*AttachPeerResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *AttachPeerResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AttachPeerResponse) GetAttachedPeerInfo() *AttachedPeerInfo {
|
|
if x != nil {
|
|
return x.AttachedPeerInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SendOutboundMessageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
|
|
PeerId string `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
|
|
Op uint32 `protobuf:"varint,3,opt,name=op,proto3" json:"op,omitempty"`
|
|
Bytes []byte `protobuf:"bytes,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SendOutboundMessageRequest) Reset() {
|
|
*x = SendOutboundMessageRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SendOutboundMessageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendOutboundMessageRequest) ProtoMessage() {}
|
|
|
|
func (x *SendOutboundMessageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[54]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SendOutboundMessageRequest.ProtoReflect.Descriptor instead.
|
|
func (*SendOutboundMessageRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *SendOutboundMessageRequest) GetNodeName() string {
|
|
if x != nil {
|
|
return x.NodeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendOutboundMessageRequest) GetPeerId() string {
|
|
if x != nil {
|
|
return x.PeerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendOutboundMessageRequest) GetOp() uint32 {
|
|
if x != nil {
|
|
return x.Op
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendOutboundMessageRequest) GetBytes() []byte {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SendOutboundMessageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Sent bool `protobuf:"varint,1,opt,name=sent,proto3" json:"sent,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SendOutboundMessageResponse) Reset() {
|
|
*x = SendOutboundMessageResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SendOutboundMessageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendOutboundMessageResponse) ProtoMessage() {}
|
|
|
|
func (x *SendOutboundMessageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[55]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SendOutboundMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*SendOutboundMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *SendOutboundMessageResponse) GetSent() bool {
|
|
if x != nil {
|
|
return x.Sent
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SaveSnapshotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NetworkName string `protobuf:"bytes,1,opt,name=network_name,json=networkName,proto3" json:"network_name,omitempty"`
|
|
SnapshotName string `protobuf:"bytes,2,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveSnapshotRequest) Reset() {
|
|
*x = SaveSnapshotRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveSnapshotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveSnapshotRequest) ProtoMessage() {}
|
|
|
|
func (x *SaveSnapshotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[56]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveSnapshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*SaveSnapshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *SaveSnapshotRequest) GetNetworkName() string {
|
|
if x != nil {
|
|
return x.NetworkName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SaveSnapshotRequest) GetSnapshotName() string {
|
|
if x != nil {
|
|
return x.SnapshotName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SaveSnapshotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SnapshotPath string `protobuf:"bytes,1,opt,name=snapshot_path,json=snapshotPath,proto3" json:"snapshot_path,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveSnapshotResponse) Reset() {
|
|
*x = SaveSnapshotResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveSnapshotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveSnapshotResponse) ProtoMessage() {}
|
|
|
|
func (x *SaveSnapshotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[57]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveSnapshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*SaveSnapshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
func (x *SaveSnapshotResponse) GetSnapshotPath() string {
|
|
if x != nil {
|
|
return x.SnapshotPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LoadSnapshotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NetworkName string `protobuf:"bytes,1,opt,name=network_name,json=networkName,proto3" json:"network_name,omitempty"`
|
|
SnapshotName string `protobuf:"bytes,2,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
|
|
ExecPath *string `protobuf:"bytes,3,opt,name=exec_path,json=execPath,proto3,oneof" json:"exec_path,omitempty"`
|
|
PluginDir string `protobuf:"bytes,4,opt,name=plugin_dir,json=pluginDir,proto3" json:"plugin_dir,omitempty"`
|
|
RootDataDir *string `protobuf:"bytes,5,opt,name=root_data_dir,json=rootDataDir,proto3,oneof" json:"root_data_dir,omitempty"`
|
|
ChainConfigs map[string]string `protobuf:"bytes,6,rep,name=chain_configs,json=chainConfigs,proto3" json:"chain_configs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
UpgradeConfigs map[string]string `protobuf:"bytes,7,rep,name=upgrade_configs,json=upgradeConfigs,proto3" json:"upgrade_configs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
GlobalNodeConfig *string `protobuf:"bytes,8,opt,name=global_node_config,json=globalNodeConfig,proto3,oneof" json:"global_node_config,omitempty"`
|
|
ReassignPortsIfUsed *bool `protobuf:"varint,9,opt,name=reassign_ports_if_used,json=reassignPortsIfUsed,proto3,oneof" json:"reassign_ports_if_used,omitempty"`
|
|
ChainConfigFiles map[string]string `protobuf:"bytes,10,rep,name=chain_config_files,json=chainConfigFiles,proto3" json:"chain_config_files,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LoadSnapshotRequest) Reset() {
|
|
*x = LoadSnapshotRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LoadSnapshotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoadSnapshotRequest) ProtoMessage() {}
|
|
|
|
func (x *LoadSnapshotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[58]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LoadSnapshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*LoadSnapshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
func (x *LoadSnapshotRequest) GetNetworkName() string {
|
|
if x != nil {
|
|
return x.NetworkName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoadSnapshotRequest) GetSnapshotName() string {
|
|
if x != nil {
|
|
return x.SnapshotName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoadSnapshotRequest) GetExecPath() string {
|
|
if x != nil && x.ExecPath != nil {
|
|
return *x.ExecPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoadSnapshotRequest) GetPluginDir() string {
|
|
if x != nil {
|
|
return x.PluginDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoadSnapshotRequest) GetRootDataDir() string {
|
|
if x != nil && x.RootDataDir != nil {
|
|
return *x.RootDataDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoadSnapshotRequest) GetChainConfigs() map[string]string {
|
|
if x != nil {
|
|
return x.ChainConfigs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LoadSnapshotRequest) GetUpgradeConfigs() map[string]string {
|
|
if x != nil {
|
|
return x.UpgradeConfigs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LoadSnapshotRequest) GetGlobalNodeConfig() string {
|
|
if x != nil && x.GlobalNodeConfig != nil {
|
|
return *x.GlobalNodeConfig
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoadSnapshotRequest) GetReassignPortsIfUsed() bool {
|
|
if x != nil && x.ReassignPortsIfUsed != nil {
|
|
return *x.ReassignPortsIfUsed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *LoadSnapshotRequest) GetChainConfigFiles() map[string]string {
|
|
if x != nil {
|
|
return x.ChainConfigFiles
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LoadSnapshotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LoadSnapshotResponse) Reset() {
|
|
*x = LoadSnapshotResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LoadSnapshotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoadSnapshotResponse) ProtoMessage() {}
|
|
|
|
func (x *LoadSnapshotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[59]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LoadSnapshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*LoadSnapshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
func (x *LoadSnapshotResponse) GetClusterInfo() *ClusterInfo {
|
|
if x != nil {
|
|
return x.ClusterInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveSnapshotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NetworkName string `protobuf:"bytes,1,opt,name=network_name,json=networkName,proto3" json:"network_name,omitempty"`
|
|
SnapshotName string `protobuf:"bytes,2,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveSnapshotRequest) Reset() {
|
|
*x = RemoveSnapshotRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveSnapshotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveSnapshotRequest) ProtoMessage() {}
|
|
|
|
func (x *RemoveSnapshotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[60]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveSnapshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemoveSnapshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *RemoveSnapshotRequest) GetNetworkName() string {
|
|
if x != nil {
|
|
return x.NetworkName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemoveSnapshotRequest) GetSnapshotName() string {
|
|
if x != nil {
|
|
return x.SnapshotName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RemoveSnapshotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveSnapshotResponse) Reset() {
|
|
*x = RemoveSnapshotResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveSnapshotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveSnapshotResponse) ProtoMessage() {}
|
|
|
|
func (x *RemoveSnapshotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[61]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveSnapshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*RemoveSnapshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
type GetSnapshotNamesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NetworkName string `protobuf:"bytes,1,opt,name=network_name,json=networkName,proto3" json:"network_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSnapshotNamesRequest) Reset() {
|
|
*x = GetSnapshotNamesRequest{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSnapshotNamesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSnapshotNamesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSnapshotNamesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[62]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSnapshotNamesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSnapshotNamesRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
func (x *GetSnapshotNamesRequest) GetNetworkName() string {
|
|
if x != nil {
|
|
return x.NetworkName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSnapshotNamesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SnapshotNames []string `protobuf:"bytes,1,rep,name=snapshot_names,json=snapshotNames,proto3" json:"snapshot_names,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSnapshotNamesResponse) Reset() {
|
|
*x = GetSnapshotNamesResponse{}
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSnapshotNamesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSnapshotNamesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetSnapshotNamesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpcpb_rpc_proto_msgTypes[63]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSnapshotNamesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetSnapshotNamesResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpcpb_rpc_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
func (x *GetSnapshotNamesResponse) GetSnapshotNames() []string {
|
|
if x != nil {
|
|
return x.SnapshotNames
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_rpcpb_rpc_proto protoreflect.FileDescriptor
|
|
|
|
const file_rpcpb_rpc_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0frpcpb/rpc.proto\x12\x05rpcpb\x1a\x1cgoogle/api/annotations.proto\"\r\n" +
|
|
"\vPingRequest\" \n" +
|
|
"\fPingResponse\x12\x10\n" +
|
|
"\x03pid\x18\x01 \x01(\x05R\x03pid\"2\n" +
|
|
"\x11ChainParticipants\x12\x1d\n" +
|
|
"\n" +
|
|
"node_names\x18\x01 \x03(\tR\tnodeNames\"\xaa\x06\n" +
|
|
"\vClusterInfo\x12\x1d\n" +
|
|
"\n" +
|
|
"node_names\x18\x01 \x03(\tR\tnodeNames\x12@\n" +
|
|
"\n" +
|
|
"node_infos\x18\x02 \x03(\v2!.rpcpb.ClusterInfo.NodeInfosEntryR\tnodeInfos\x12\x10\n" +
|
|
"\x03pid\x18\x03 \x01(\x05R\x03pid\x12\"\n" +
|
|
"\rroot_data_dir\x18\x04 \x01(\tR\vrootDataDir\x12\x18\n" +
|
|
"\ahealthy\x18\x05 \x01(\bR\ahealthy\x12Y\n" +
|
|
"\x13attached_peer_infos\x18\x06 \x03(\v2).rpcpb.ClusterInfo.AttachedPeerInfosEntryR\x11attachedPeerInfos\x122\n" +
|
|
"\x15custom_chains_healthy\x18\a \x01(\bR\x13customChainsHealthy\x12I\n" +
|
|
"\rcustom_chains\x18\b \x03(\v2$.rpcpb.ClusterInfo.CustomChainsEntryR\fcustomChains\x126\n" +
|
|
"\x06chains\x18\t \x03(\v2\x1e.rpcpb.ClusterInfo.ChainsEntryR\x06chains\x1aM\n" +
|
|
"\x0eNodeInfosEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12%\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x0f.rpcpb.NodeInfoR\x05value:\x028\x01\x1ac\n" +
|
|
"\x16AttachedPeerInfosEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x123\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x1d.rpcpb.ListOfAttachedPeerInfoR\x05value:\x028\x01\x1aW\n" +
|
|
"\x11CustomChainsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12,\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x16.rpcpb.CustomChainInfoR\x05value:\x028\x01\x1aK\n" +
|
|
"\vChainsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12&\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x10.rpcpb.ChainInfoR\x05value:\x028\x01\"\x9d\x01\n" +
|
|
"\tChainInfo\x12\x1d\n" +
|
|
"\n" +
|
|
"is_elastic\x18\x01 \x01(\bR\tisElastic\x12(\n" +
|
|
"\x10elastic_chain_id\x18\x02 \x01(\tR\x0eelasticChainId\x12G\n" +
|
|
"\x12chain_participants\x18\x03 \x01(\v2\x18.rpcpb.ChainParticipantsR\x11chainParticipants\"\x87\x01\n" +
|
|
"\x0fCustomChainInfo\x12\x1d\n" +
|
|
"\n" +
|
|
"chain_name\x18\x01 \x01(\tR\tchainName\x12\x13\n" +
|
|
"\x05vm_id\x18\x02 \x01(\tR\x04vmId\x12\x1b\n" +
|
|
"\tpchain_id\x18\x03 \x01(\tR\bpchainId\x12#\n" +
|
|
"\rblockchain_id\x18\x04 \x01(\tR\fblockchainId\"\x8b\x02\n" +
|
|
"\bNodeInfo\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n" +
|
|
"\texec_path\x18\x02 \x01(\tR\bexecPath\x12\x10\n" +
|
|
"\x03uri\x18\x03 \x01(\tR\x03uri\x12\x0e\n" +
|
|
"\x02id\x18\x04 \x01(\tR\x02id\x12\x17\n" +
|
|
"\alog_dir\x18\x05 \x01(\tR\x06logDir\x12\x15\n" +
|
|
"\x06db_dir\x18\x06 \x01(\tR\x05dbDir\x12\x1d\n" +
|
|
"\n" +
|
|
"plugin_dir\x18\a \x01(\tR\tpluginDir\x12-\n" +
|
|
"\x12whitelisted_chains\x18\b \x01(\tR\x11whitelistedChains\x12\x16\n" +
|
|
"\x06config\x18\t \x01(\fR\x06config\x12\x16\n" +
|
|
"\x06paused\x18\n" +
|
|
" \x01(\bR\x06paused\"\"\n" +
|
|
"\x10AttachedPeerInfo\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"G\n" +
|
|
"\x16ListOfAttachedPeerInfo\x12-\n" +
|
|
"\x05peers\x18\x01 \x03(\v2\x17.rpcpb.AttachedPeerInfoR\x05peers\"\xbf\t\n" +
|
|
"\fStartRequest\x12!\n" +
|
|
"\fnetwork_name\x18\x01 \x01(\tR\vnetworkName\x12\x1b\n" +
|
|
"\tnode_type\x18\x02 \x01(\tR\bnodeType\x12\x1b\n" +
|
|
"\texec_path\x18\x04 \x01(\tR\bexecPath\x12 \n" +
|
|
"\tnum_nodes\x18\x05 \x01(\rH\x00R\bnumNodes\x88\x01\x01\x122\n" +
|
|
"\x12whitelisted_chains\x18\x06 \x01(\tH\x01R\x11whitelistedChains\x88\x01\x01\x121\n" +
|
|
"\x12global_node_config\x18\a \x01(\tH\x02R\x10globalNodeConfig\x88\x01\x01\x12'\n" +
|
|
"\rroot_data_dir\x18\b \x01(\tH\x03R\vrootDataDir\x88\x01\x01\x12\x1d\n" +
|
|
"\n" +
|
|
"plugin_dir\x18\t \x01(\tR\tpluginDir\x12@\n" +
|
|
"\x10blockchain_specs\x18\n" +
|
|
" \x03(\v2\x15.rpcpb.BlockchainSpecR\x0fblockchainSpecs\x12Z\n" +
|
|
"\x13custom_node_configs\x18\v \x03(\v2*.rpcpb.StartRequest.CustomNodeConfigsEntryR\x11customNodeConfigs\x12J\n" +
|
|
"\rchain_configs\x18\f \x03(\v2%.rpcpb.StartRequest.ChainConfigsEntryR\fchainConfigs\x12P\n" +
|
|
"\x0fupgrade_configs\x18\r \x03(\v2'.rpcpb.StartRequest.UpgradeConfigsEntryR\x0eupgradeConfigs\x128\n" +
|
|
"\x16reassign_ports_if_used\x18\x0e \x01(\bH\x04R\x13reassignPortsIfUsed\x88\x01\x01\x12(\n" +
|
|
"\rdynamic_ports\x18\x0f \x01(\bH\x05R\fdynamicPorts\x88\x01\x01\x12W\n" +
|
|
"\x12chain_config_files\x18\x10 \x03(\v2).rpcpb.StartRequest.ChainConfigFilesEntryR\x10chainConfigFiles\x1aD\n" +
|
|
"\x16CustomNodeConfigsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a?\n" +
|
|
"\x11ChainConfigsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aA\n" +
|
|
"\x13UpgradeConfigsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aC\n" +
|
|
"\x15ChainConfigFilesEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\f\n" +
|
|
"\n" +
|
|
"_num_nodesB\x15\n" +
|
|
"\x13_whitelisted_chainsB\x15\n" +
|
|
"\x13_global_node_configB\x10\n" +
|
|
"\x0e_root_data_dirB\x19\n" +
|
|
"\x17_reassign_ports_if_usedB\x10\n" +
|
|
"\x0e_dynamic_ports\"\x13\n" +
|
|
"\x11RPCVersionRequest\".\n" +
|
|
"\x12RPCVersionResponse\x12\x18\n" +
|
|
"\aversion\x18\x01 \x01(\rR\aversion\"c\n" +
|
|
"\rStartResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\x12\x1b\n" +
|
|
"\tchain_ids\x18\x02 \x03(\tR\bchainIds\"[\n" +
|
|
"\tChainSpec\x12\"\n" +
|
|
"\fparticipants\x18\x01 \x03(\tR\fparticipants\x12*\n" +
|
|
"\x11chain_config_file\x18\x02 \x01(\tR\x0fchainConfigFile\"\xa1\x05\n" +
|
|
"\x10ElasticChainSpec\x12\x19\n" +
|
|
"\bchain_id\x18\x01 \x01(\tR\achainId\x12\x1d\n" +
|
|
"\n" +
|
|
"asset_name\x18\x02 \x01(\tR\tassetName\x12!\n" +
|
|
"\fasset_symbol\x18\x03 \x01(\tR\vassetSymbol\x12%\n" +
|
|
"\x0einitial_supply\x18\x04 \x01(\x04R\rinitialSupply\x12\x1d\n" +
|
|
"\n" +
|
|
"max_supply\x18\x05 \x01(\x04R\tmaxSupply\x120\n" +
|
|
"\x14min_consumption_rate\x18\x06 \x01(\x04R\x12minConsumptionRate\x120\n" +
|
|
"\x14max_consumption_rate\x18\a \x01(\x04R\x12maxConsumptionRate\x12.\n" +
|
|
"\x13min_validator_stake\x18\b \x01(\x04R\x11minValidatorStake\x12.\n" +
|
|
"\x13max_validator_stake\x18\t \x01(\x04R\x11maxValidatorStake\x12,\n" +
|
|
"\x12min_stake_duration\x18\n" +
|
|
" \x01(\x04R\x10minStakeDuration\x12,\n" +
|
|
"\x12max_stake_duration\x18\v \x01(\x04R\x10maxStakeDuration\x12,\n" +
|
|
"\x12min_delegation_fee\x18\f \x01(\rR\x10minDelegationFee\x12.\n" +
|
|
"\x13min_delegator_stake\x18\r \x01(\x04R\x11minDelegatorStake\x12=\n" +
|
|
"\x1bmax_validator_weight_factor\x18\x0e \x01(\rR\x18maxValidatorWeightFactor\x12-\n" +
|
|
"\x12uptime_requirement\x18\x0f \x01(\rR\x11uptimeRequirement\"f\n" +
|
|
"\x1dTransformElasticChainsRequest\x12E\n" +
|
|
"\x12elastic_chain_spec\x18\x01 \x03(\v2\x17.rpcpb.ElasticChainSpecR\x10elasticChainSpec\"\x8b\x01\n" +
|
|
"\x1eTransformElasticChainsResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\x12\x15\n" +
|
|
"\x06tx_ids\x18\x02 \x03(\tR\x05txIds\x12\x1b\n" +
|
|
"\tasset_ids\x18\x03 \x03(\tR\bassetIds\"\xe6\x01\n" +
|
|
"\x1bPermissionlessValidatorSpec\x12\x19\n" +
|
|
"\bchain_id\x18\x01 \x01(\tR\achainId\x12\x1b\n" +
|
|
"\tnode_name\x18\x02 \x01(\tR\bnodeName\x12.\n" +
|
|
"\x13staked_token_amount\x18\x03 \x01(\x04R\x11stakedTokenAmount\x12\x19\n" +
|
|
"\basset_id\x18\x04 \x01(\tR\aassetId\x12\x1d\n" +
|
|
"\n" +
|
|
"start_time\x18\x05 \x01(\tR\tstartTime\x12%\n" +
|
|
"\x0estake_duration\x18\x06 \x01(\x04R\rstakeDuration\"n\n" +
|
|
"!AddPermissionlessValidatorRequest\x12I\n" +
|
|
"\x0evalidator_spec\x18\x01 \x03(\v2\".rpcpb.PermissionlessValidatorSpecR\rvalidatorSpec\"[\n" +
|
|
"\"AddPermissionlessValidatorResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\"T\n" +
|
|
"\x18RemoveChainValidatorSpec\x12\x19\n" +
|
|
"\bchain_id\x18\x01 \x01(\tR\achainId\x12\x1d\n" +
|
|
"\n" +
|
|
"node_names\x18\x02 \x03(\tR\tnodeNames\"e\n" +
|
|
"\x1bRemoveChainValidatorRequest\x12F\n" +
|
|
"\x0evalidator_spec\x18\x01 \x03(\v2\x1f.rpcpb.RemoveChainValidatorSpecR\rvalidatorSpec\"U\n" +
|
|
"\x1cRemoveChainValidatorResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\"\xdf\x02\n" +
|
|
"\x0eBlockchainSpec\x12\x17\n" +
|
|
"\avm_name\x18\x01 \x01(\tR\x06vmName\x12\x18\n" +
|
|
"\agenesis\x18\x02 \x01(\tR\agenesis\x12\x1e\n" +
|
|
"\bchain_id\x18\x03 \x01(\tH\x00R\achainId\x88\x01\x01\x124\n" +
|
|
"\n" +
|
|
"chain_spec\x18\x04 \x01(\v2\x10.rpcpb.ChainSpecH\x01R\tchainSpec\x88\x01\x01\x12!\n" +
|
|
"\fchain_config\x18\x05 \x01(\tR\vchainConfig\x12'\n" +
|
|
"\x0fnetwork_upgrade\x18\x06 \x01(\tR\x0enetworkUpgrade\x12)\n" +
|
|
"\x10blockchain_alias\x18\a \x01(\tR\x0fblockchainAlias\x121\n" +
|
|
"\x15per_node_chain_config\x18\b \x01(\tR\x12perNodeChainConfigB\v\n" +
|
|
"\t_chain_idB\r\n" +
|
|
"\v_chain_spec\"\\\n" +
|
|
"\x18CreateBlockchainsRequest\x12@\n" +
|
|
"\x10blockchain_specs\x18\x01 \x03(\v2\x15.rpcpb.BlockchainSpecR\x0fblockchainSpecs\"o\n" +
|
|
"\x19CreateBlockchainsResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\x12\x1b\n" +
|
|
"\tchain_ids\x18\x02 \x03(\tR\bchainIds\"H\n" +
|
|
"\x13CreateChainsRequest\x121\n" +
|
|
"\vchain_specs\x18\x01 \x03(\v2\x10.rpcpb.ChainSpecR\n" +
|
|
"chainSpecs\"j\n" +
|
|
"\x14CreateChainsResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\x12\x1b\n" +
|
|
"\tchain_ids\x18\x02 \x03(\tR\bchainIds\"H\n" +
|
|
"\rHealthRequest\x12&\n" +
|
|
"\fnetwork_name\x18\x01 \x01(\tH\x00R\vnetworkName\x88\x01\x01B\x0f\n" +
|
|
"\r_network_name\"\x9c\x01\n" +
|
|
"\x0eHealthResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\x12@\n" +
|
|
"\x0enetwork_health\x18\x02 \x01(\v2\x14.rpcpb.NetworkHealthH\x00R\rnetworkHealth\x88\x01\x01B\x11\n" +
|
|
"\x0f_network_health\"\xb9\x01\n" +
|
|
"\rNetworkHealth\x12!\n" +
|
|
"\fnetwork_name\x18\x01 \x01(\tR\vnetworkName\x12\x1d\n" +
|
|
"\n" +
|
|
"network_id\x18\x02 \x01(\rR\tnetworkId\x12\x18\n" +
|
|
"\ahealthy\x18\x03 \x01(\bR\ahealthy\x12#\n" +
|
|
"\rhealthy_nodes\x18\x04 \x03(\tR\fhealthyNodes\x12'\n" +
|
|
"\x0funhealthy_nodes\x18\x05 \x03(\tR\x0eunhealthyNodes\"\r\n" +
|
|
"\vURIsRequest\"\"\n" +
|
|
"\fURIsResponse\x12\x12\n" +
|
|
"\x04uris\x18\x01 \x03(\tR\x04uris\"P\n" +
|
|
"\x15WaitForHealthyRequest\x12&\n" +
|
|
"\fnetwork_name\x18\x01 \x01(\tH\x00R\vnetworkName\x88\x01\x01B\x0f\n" +
|
|
"\r_network_name\"O\n" +
|
|
"\x16WaitForHealthyResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\"H\n" +
|
|
"\rStatusRequest\x12&\n" +
|
|
"\fnetwork_name\x18\x01 \x01(\tH\x00R\vnetworkName\x88\x01\x01B\x0f\n" +
|
|
"\r_network_name\"\x9c\x01\n" +
|
|
"\x0eStatusResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\x12@\n" +
|
|
"\x0enetwork_status\x18\x02 \x01(\v2\x14.rpcpb.NetworkStatusH\x00R\rnetworkStatus\x88\x01\x01B\x11\n" +
|
|
"\x0f_network_status\"\xd7\x01\n" +
|
|
"\rNetworkStatus\x12!\n" +
|
|
"\fnetwork_name\x18\x01 \x01(\tR\vnetworkName\x12\x1d\n" +
|
|
"\n" +
|
|
"network_id\x18\x02 \x01(\rR\tnetworkId\x12\x16\n" +
|
|
"\x06status\x18\x03 \x01(\tR\x06status\x12\x1b\n" +
|
|
"\tnum_nodes\x18\x04 \x01(\rR\bnumNodes\x12%\n" +
|
|
"\x05nodes\x18\x05 \x03(\v2\x0f.rpcpb.NodeInfoR\x05nodes\x12(\n" +
|
|
"\x06chains\x18\x06 \x03(\v2\x10.rpcpb.ChainInfoR\x06chains\":\n" +
|
|
"\x13StreamStatusRequest\x12#\n" +
|
|
"\rpush_interval\x18\x01 \x01(\x03R\fpushInterval\"M\n" +
|
|
"\x14StreamStatusResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\"\x94\x05\n" +
|
|
"\x12RestartNodeRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12 \n" +
|
|
"\texec_path\x18\x02 \x01(\tH\x00R\bexecPath\x88\x01\x01\x122\n" +
|
|
"\x12whitelisted_chains\x18\x03 \x01(\tH\x01R\x11whitelistedChains\x88\x01\x01\x12P\n" +
|
|
"\rchain_configs\x18\x04 \x03(\v2+.rpcpb.RestartNodeRequest.ChainConfigsEntryR\fchainConfigs\x12V\n" +
|
|
"\x0fupgrade_configs\x18\x05 \x03(\v2-.rpcpb.RestartNodeRequest.UpgradeConfigsEntryR\x0eupgradeConfigs\x12]\n" +
|
|
"\x12chain_config_files\x18\x06 \x03(\v2/.rpcpb.RestartNodeRequest.ChainConfigFilesEntryR\x10chainConfigFiles\x12\x1d\n" +
|
|
"\n" +
|
|
"plugin_dir\x18\a \x01(\tR\tpluginDir\x1a?\n" +
|
|
"\x11ChainConfigsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aA\n" +
|
|
"\x13UpgradeConfigsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aC\n" +
|
|
"\x15ChainConfigFilesEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\f\n" +
|
|
"\n" +
|
|
"_exec_pathB\x15\n" +
|
|
"\x13_whitelisted_chains\"L\n" +
|
|
"\x13RestartNodeResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\"'\n" +
|
|
"\x11RemoveNodeRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"K\n" +
|
|
"\x12RemoveNodeResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\"&\n" +
|
|
"\x10PauseNodeRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"J\n" +
|
|
"\x11PauseNodeResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\"'\n" +
|
|
"\x11ResumeNodeRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"K\n" +
|
|
"\x12ResumeNodeResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\"\xdc\x04\n" +
|
|
"\x0eAddNodeRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n" +
|
|
"\texec_path\x18\x02 \x01(\tR\bexecPath\x12$\n" +
|
|
"\vnode_config\x18\x03 \x01(\tH\x00R\n" +
|
|
"nodeConfig\x88\x01\x01\x12L\n" +
|
|
"\rchain_configs\x18\x04 \x03(\v2'.rpcpb.AddNodeRequest.ChainConfigsEntryR\fchainConfigs\x12R\n" +
|
|
"\x0fupgrade_configs\x18\x05 \x03(\v2).rpcpb.AddNodeRequest.UpgradeConfigsEntryR\x0eupgradeConfigs\x12Y\n" +
|
|
"\x12chain_config_files\x18\x06 \x03(\v2+.rpcpb.AddNodeRequest.ChainConfigFilesEntryR\x10chainConfigFiles\x12\x1d\n" +
|
|
"\n" +
|
|
"plugin_dir\x18\a \x01(\tR\tpluginDir\x1a?\n" +
|
|
"\x11ChainConfigsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aA\n" +
|
|
"\x13UpgradeConfigsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aC\n" +
|
|
"\x15ChainConfigFilesEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\x0e\n" +
|
|
"\f_node_config\"H\n" +
|
|
"\x0fAddNodeResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\"\r\n" +
|
|
"\vStopRequest\"E\n" +
|
|
"\fStopResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\"0\n" +
|
|
"\x11AttachPeerRequest\x12\x1b\n" +
|
|
"\tnode_name\x18\x01 \x01(\tR\bnodeName\"\x92\x01\n" +
|
|
"\x12AttachPeerResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\x12E\n" +
|
|
"\x12attached_peer_info\x18\x02 \x01(\v2\x17.rpcpb.AttachedPeerInfoR\x10attachedPeerInfo\"x\n" +
|
|
"\x1aSendOutboundMessageRequest\x12\x1b\n" +
|
|
"\tnode_name\x18\x01 \x01(\tR\bnodeName\x12\x17\n" +
|
|
"\apeer_id\x18\x02 \x01(\tR\x06peerId\x12\x0e\n" +
|
|
"\x02op\x18\x03 \x01(\rR\x02op\x12\x14\n" +
|
|
"\x05bytes\x18\x04 \x01(\fR\x05bytes\"1\n" +
|
|
"\x1bSendOutboundMessageResponse\x12\x12\n" +
|
|
"\x04sent\x18\x01 \x01(\bR\x04sent\"]\n" +
|
|
"\x13SaveSnapshotRequest\x12!\n" +
|
|
"\fnetwork_name\x18\x01 \x01(\tR\vnetworkName\x12#\n" +
|
|
"\rsnapshot_name\x18\x02 \x01(\tR\fsnapshotName\";\n" +
|
|
"\x14SaveSnapshotResponse\x12#\n" +
|
|
"\rsnapshot_path\x18\x01 \x01(\tR\fsnapshotPath\"\xdb\x06\n" +
|
|
"\x13LoadSnapshotRequest\x12!\n" +
|
|
"\fnetwork_name\x18\x01 \x01(\tR\vnetworkName\x12#\n" +
|
|
"\rsnapshot_name\x18\x02 \x01(\tR\fsnapshotName\x12 \n" +
|
|
"\texec_path\x18\x03 \x01(\tH\x00R\bexecPath\x88\x01\x01\x12\x1d\n" +
|
|
"\n" +
|
|
"plugin_dir\x18\x04 \x01(\tR\tpluginDir\x12'\n" +
|
|
"\rroot_data_dir\x18\x05 \x01(\tH\x01R\vrootDataDir\x88\x01\x01\x12Q\n" +
|
|
"\rchain_configs\x18\x06 \x03(\v2,.rpcpb.LoadSnapshotRequest.ChainConfigsEntryR\fchainConfigs\x12W\n" +
|
|
"\x0fupgrade_configs\x18\a \x03(\v2..rpcpb.LoadSnapshotRequest.UpgradeConfigsEntryR\x0eupgradeConfigs\x121\n" +
|
|
"\x12global_node_config\x18\b \x01(\tH\x02R\x10globalNodeConfig\x88\x01\x01\x128\n" +
|
|
"\x16reassign_ports_if_used\x18\t \x01(\bH\x03R\x13reassignPortsIfUsed\x88\x01\x01\x12^\n" +
|
|
"\x12chain_config_files\x18\n" +
|
|
" \x03(\v20.rpcpb.LoadSnapshotRequest.ChainConfigFilesEntryR\x10chainConfigFiles\x1a?\n" +
|
|
"\x11ChainConfigsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aA\n" +
|
|
"\x13UpgradeConfigsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aC\n" +
|
|
"\x15ChainConfigFilesEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\f\n" +
|
|
"\n" +
|
|
"_exec_pathB\x10\n" +
|
|
"\x0e_root_data_dirB\x15\n" +
|
|
"\x13_global_node_configB\x19\n" +
|
|
"\x17_reassign_ports_if_used\"M\n" +
|
|
"\x14LoadSnapshotResponse\x125\n" +
|
|
"\fcluster_info\x18\x01 \x01(\v2\x12.rpcpb.ClusterInfoR\vclusterInfo\"_\n" +
|
|
"\x15RemoveSnapshotRequest\x12!\n" +
|
|
"\fnetwork_name\x18\x01 \x01(\tR\vnetworkName\x12#\n" +
|
|
"\rsnapshot_name\x18\x02 \x01(\tR\fsnapshotName\"\x18\n" +
|
|
"\x16RemoveSnapshotResponse\"<\n" +
|
|
"\x17GetSnapshotNamesRequest\x12!\n" +
|
|
"\fnetwork_name\x18\x01 \x01(\tR\vnetworkName\"A\n" +
|
|
"\x18GetSnapshotNamesResponse\x12%\n" +
|
|
"\x0esnapshot_names\x18\x01 \x03(\tR\rsnapshotNames2S\n" +
|
|
"\vPingService\x12D\n" +
|
|
"\x04Ping\x12\x12.rpcpb.PingRequest\x1a\x13.rpcpb.PingResponse\"\x13\x82\xd3\xe4\x93\x02\r:\x01*\"\b/v1/ping2\xdb\x15\n" +
|
|
"\x0eControlService\x12d\n" +
|
|
"\n" +
|
|
"RPCVersion\x12\x18.rpcpb.RPCVersionRequest\x1a\x19.rpcpb.RPCVersionResponse\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/v1/control/rpcversion\x12P\n" +
|
|
"\x05Start\x12\x13.rpcpb.StartRequest\x1a\x14.rpcpb.StartResponse\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/v1/control/start\x12\x80\x01\n" +
|
|
"\x11CreateBlockchains\x12\x1f.rpcpb.CreateBlockchainsRequest\x1a .rpcpb.CreateBlockchainsResponse\"(\x82\xd3\xe4\x93\x02\":\x01*\"\x1d/v1/control/createblockchains\x12\x94\x01\n" +
|
|
"\x16TransformElasticChains\x12$.rpcpb.TransformElasticChainsRequest\x1a%.rpcpb.TransformElasticChainsResponse\"-\x82\xd3\xe4\x93\x02':\x01*\"\"/v1/control/transformelasticchains\x12\xa4\x01\n" +
|
|
"\x1aAddPermissionlessValidator\x12(.rpcpb.AddPermissionlessValidatorRequest\x1a).rpcpb.AddPermissionlessValidatorResponse\"1\x82\xd3\xe4\x93\x02+:\x01*\"&/v1/control/addpermissionlessvalidator\x12\x8c\x01\n" +
|
|
"\x14RemoveChainValidator\x12\".rpcpb.RemoveChainValidatorRequest\x1a#.rpcpb.RemoveChainValidatorResponse\"+\x82\xd3\xe4\x93\x02%:\x01*\" /v1/control/removechainvalidator\x12l\n" +
|
|
"\fCreateChains\x12\x1a.rpcpb.CreateChainsRequest\x1a\x1b.rpcpb.CreateChainsResponse\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/v1/control/createchains\x12T\n" +
|
|
"\x06Health\x12\x14.rpcpb.HealthRequest\x1a\x15.rpcpb.HealthResponse\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/v1/control/health\x12L\n" +
|
|
"\x04URIs\x12\x12.rpcpb.URIsRequest\x1a\x13.rpcpb.URIsResponse\"\x1b\x82\xd3\xe4\x93\x02\x15:\x01*\"\x10/v1/control/uris\x12t\n" +
|
|
"\x0eWaitForHealthy\x12\x1c.rpcpb.WaitForHealthyRequest\x1a\x1d.rpcpb.WaitForHealthyResponse\"%\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/v1/control/waitforhealthy\x12T\n" +
|
|
"\x06Status\x12\x14.rpcpb.StatusRequest\x1a\x15.rpcpb.StatusResponse\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/v1/control/status\x12n\n" +
|
|
"\fStreamStatus\x12\x1a.rpcpb.StreamStatusRequest\x1a\x1b.rpcpb.StreamStatusResponse\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/v1/control/streamstatus0\x01\x12d\n" +
|
|
"\n" +
|
|
"RemoveNode\x12\x18.rpcpb.RemoveNodeRequest\x1a\x19.rpcpb.RemoveNodeResponse\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/v1/control/removenode\x12X\n" +
|
|
"\aAddNode\x12\x15.rpcpb.AddNodeRequest\x1a\x16.rpcpb.AddNodeResponse\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\"\x13/v1/control/addnode\x12h\n" +
|
|
"\vRestartNode\x12\x19.rpcpb.RestartNodeRequest\x1a\x1a.rpcpb.RestartNodeResponse\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\"\x17/v1/control/restartnode\x12`\n" +
|
|
"\tPauseNode\x12\x17.rpcpb.PauseNodeRequest\x1a\x18.rpcpb.PauseNodeResponse\" \x82\xd3\xe4\x93\x02\x1a:\x01*\"\x15/v1/control/pausenode\x12d\n" +
|
|
"\n" +
|
|
"ResumeNode\x12\x18.rpcpb.ResumeNodeRequest\x1a\x19.rpcpb.ResumeNodeResponse\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/v1/control/resumenode\x12L\n" +
|
|
"\x04Stop\x12\x12.rpcpb.StopRequest\x1a\x13.rpcpb.StopResponse\"\x1b\x82\xd3\xe4\x93\x02\x15:\x01*\"\x10/v1/control/stop\x12d\n" +
|
|
"\n" +
|
|
"AttachPeer\x12\x18.rpcpb.AttachPeerRequest\x1a\x19.rpcpb.AttachPeerResponse\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/v1/control/attachpeer\x12\x88\x01\n" +
|
|
"\x13SendOutboundMessage\x12!.rpcpb.SendOutboundMessageRequest\x1a\".rpcpb.SendOutboundMessageResponse\"*\x82\xd3\xe4\x93\x02$:\x01*\"\x1f/v1/control/sendoutboundmessage\x12l\n" +
|
|
"\fSaveSnapshot\x12\x1a.rpcpb.SaveSnapshotRequest\x1a\x1b.rpcpb.SaveSnapshotResponse\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/v1/control/savesnapshot\x12r\n" +
|
|
"\x0fSaveHotSnapshot\x12\x1a.rpcpb.SaveSnapshotRequest\x1a\x1b.rpcpb.SaveSnapshotResponse\"&\x82\xd3\xe4\x93\x02 :\x01*\"\x1b/v1/control/savehotsnapshot\x12l\n" +
|
|
"\fLoadSnapshot\x12\x1a.rpcpb.LoadSnapshotRequest\x1a\x1b.rpcpb.LoadSnapshotResponse\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/v1/control/loadsnapshot\x12t\n" +
|
|
"\x0eRemoveSnapshot\x12\x1c.rpcpb.RemoveSnapshotRequest\x1a\x1d.rpcpb.RemoveSnapshotResponse\"%\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/v1/control/removesnapshot\x12|\n" +
|
|
"\x10GetSnapshotNames\x12\x1e.rpcpb.GetSnapshotNamesRequest\x1a\x1f.rpcpb.GetSnapshotNamesResponse\"'\x82\xd3\xe4\x93\x02!:\x01*\"\x1c/v1/control/getsnapshotnamesB\"Z github.com/luxfi/netrunner;rpcpbb\x06proto3"
|
|
|
|
var (
|
|
file_rpcpb_rpc_proto_rawDescOnce sync.Once
|
|
file_rpcpb_rpc_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_rpcpb_rpc_proto_rawDescGZIP() []byte {
|
|
file_rpcpb_rpc_proto_rawDescOnce.Do(func() {
|
|
file_rpcpb_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpcpb_rpc_proto_rawDesc), len(file_rpcpb_rpc_proto_rawDesc)))
|
|
})
|
|
return file_rpcpb_rpc_proto_rawDescData
|
|
}
|
|
|
|
var file_rpcpb_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 81)
|
|
var file_rpcpb_rpc_proto_goTypes = []any{
|
|
(*PingRequest)(nil), // 0: rpcpb.PingRequest
|
|
(*PingResponse)(nil), // 1: rpcpb.PingResponse
|
|
(*ChainParticipants)(nil), // 2: rpcpb.ChainParticipants
|
|
(*ClusterInfo)(nil), // 3: rpcpb.ClusterInfo
|
|
(*ChainInfo)(nil), // 4: rpcpb.ChainInfo
|
|
(*CustomChainInfo)(nil), // 5: rpcpb.CustomChainInfo
|
|
(*NodeInfo)(nil), // 6: rpcpb.NodeInfo
|
|
(*AttachedPeerInfo)(nil), // 7: rpcpb.AttachedPeerInfo
|
|
(*ListOfAttachedPeerInfo)(nil), // 8: rpcpb.ListOfAttachedPeerInfo
|
|
(*StartRequest)(nil), // 9: rpcpb.StartRequest
|
|
(*RPCVersionRequest)(nil), // 10: rpcpb.RPCVersionRequest
|
|
(*RPCVersionResponse)(nil), // 11: rpcpb.RPCVersionResponse
|
|
(*StartResponse)(nil), // 12: rpcpb.StartResponse
|
|
(*ChainSpec)(nil), // 13: rpcpb.ChainSpec
|
|
(*ElasticChainSpec)(nil), // 14: rpcpb.ElasticChainSpec
|
|
(*TransformElasticChainsRequest)(nil), // 15: rpcpb.TransformElasticChainsRequest
|
|
(*TransformElasticChainsResponse)(nil), // 16: rpcpb.TransformElasticChainsResponse
|
|
(*PermissionlessValidatorSpec)(nil), // 17: rpcpb.PermissionlessValidatorSpec
|
|
(*AddPermissionlessValidatorRequest)(nil), // 18: rpcpb.AddPermissionlessValidatorRequest
|
|
(*AddPermissionlessValidatorResponse)(nil), // 19: rpcpb.AddPermissionlessValidatorResponse
|
|
(*RemoveChainValidatorSpec)(nil), // 20: rpcpb.RemoveChainValidatorSpec
|
|
(*RemoveChainValidatorRequest)(nil), // 21: rpcpb.RemoveChainValidatorRequest
|
|
(*RemoveChainValidatorResponse)(nil), // 22: rpcpb.RemoveChainValidatorResponse
|
|
(*BlockchainSpec)(nil), // 23: rpcpb.BlockchainSpec
|
|
(*CreateBlockchainsRequest)(nil), // 24: rpcpb.CreateBlockchainsRequest
|
|
(*CreateBlockchainsResponse)(nil), // 25: rpcpb.CreateBlockchainsResponse
|
|
(*CreateChainsRequest)(nil), // 26: rpcpb.CreateChainsRequest
|
|
(*CreateChainsResponse)(nil), // 27: rpcpb.CreateChainsResponse
|
|
(*HealthRequest)(nil), // 28: rpcpb.HealthRequest
|
|
(*HealthResponse)(nil), // 29: rpcpb.HealthResponse
|
|
(*NetworkHealth)(nil), // 30: rpcpb.NetworkHealth
|
|
(*URIsRequest)(nil), // 31: rpcpb.URIsRequest
|
|
(*URIsResponse)(nil), // 32: rpcpb.URIsResponse
|
|
(*WaitForHealthyRequest)(nil), // 33: rpcpb.WaitForHealthyRequest
|
|
(*WaitForHealthyResponse)(nil), // 34: rpcpb.WaitForHealthyResponse
|
|
(*StatusRequest)(nil), // 35: rpcpb.StatusRequest
|
|
(*StatusResponse)(nil), // 36: rpcpb.StatusResponse
|
|
(*NetworkStatus)(nil), // 37: rpcpb.NetworkStatus
|
|
(*StreamStatusRequest)(nil), // 38: rpcpb.StreamStatusRequest
|
|
(*StreamStatusResponse)(nil), // 39: rpcpb.StreamStatusResponse
|
|
(*RestartNodeRequest)(nil), // 40: rpcpb.RestartNodeRequest
|
|
(*RestartNodeResponse)(nil), // 41: rpcpb.RestartNodeResponse
|
|
(*RemoveNodeRequest)(nil), // 42: rpcpb.RemoveNodeRequest
|
|
(*RemoveNodeResponse)(nil), // 43: rpcpb.RemoveNodeResponse
|
|
(*PauseNodeRequest)(nil), // 44: rpcpb.PauseNodeRequest
|
|
(*PauseNodeResponse)(nil), // 45: rpcpb.PauseNodeResponse
|
|
(*ResumeNodeRequest)(nil), // 46: rpcpb.ResumeNodeRequest
|
|
(*ResumeNodeResponse)(nil), // 47: rpcpb.ResumeNodeResponse
|
|
(*AddNodeRequest)(nil), // 48: rpcpb.AddNodeRequest
|
|
(*AddNodeResponse)(nil), // 49: rpcpb.AddNodeResponse
|
|
(*StopRequest)(nil), // 50: rpcpb.StopRequest
|
|
(*StopResponse)(nil), // 51: rpcpb.StopResponse
|
|
(*AttachPeerRequest)(nil), // 52: rpcpb.AttachPeerRequest
|
|
(*AttachPeerResponse)(nil), // 53: rpcpb.AttachPeerResponse
|
|
(*SendOutboundMessageRequest)(nil), // 54: rpcpb.SendOutboundMessageRequest
|
|
(*SendOutboundMessageResponse)(nil), // 55: rpcpb.SendOutboundMessageResponse
|
|
(*SaveSnapshotRequest)(nil), // 56: rpcpb.SaveSnapshotRequest
|
|
(*SaveSnapshotResponse)(nil), // 57: rpcpb.SaveSnapshotResponse
|
|
(*LoadSnapshotRequest)(nil), // 58: rpcpb.LoadSnapshotRequest
|
|
(*LoadSnapshotResponse)(nil), // 59: rpcpb.LoadSnapshotResponse
|
|
(*RemoveSnapshotRequest)(nil), // 60: rpcpb.RemoveSnapshotRequest
|
|
(*RemoveSnapshotResponse)(nil), // 61: rpcpb.RemoveSnapshotResponse
|
|
(*GetSnapshotNamesRequest)(nil), // 62: rpcpb.GetSnapshotNamesRequest
|
|
(*GetSnapshotNamesResponse)(nil), // 63: rpcpb.GetSnapshotNamesResponse
|
|
nil, // 64: rpcpb.ClusterInfo.NodeInfosEntry
|
|
nil, // 65: rpcpb.ClusterInfo.AttachedPeerInfosEntry
|
|
nil, // 66: rpcpb.ClusterInfo.CustomChainsEntry
|
|
nil, // 67: rpcpb.ClusterInfo.ChainsEntry
|
|
nil, // 68: rpcpb.StartRequest.CustomNodeConfigsEntry
|
|
nil, // 69: rpcpb.StartRequest.ChainConfigsEntry
|
|
nil, // 70: rpcpb.StartRequest.UpgradeConfigsEntry
|
|
nil, // 71: rpcpb.StartRequest.ChainConfigFilesEntry
|
|
nil, // 72: rpcpb.RestartNodeRequest.ChainConfigsEntry
|
|
nil, // 73: rpcpb.RestartNodeRequest.UpgradeConfigsEntry
|
|
nil, // 74: rpcpb.RestartNodeRequest.ChainConfigFilesEntry
|
|
nil, // 75: rpcpb.AddNodeRequest.ChainConfigsEntry
|
|
nil, // 76: rpcpb.AddNodeRequest.UpgradeConfigsEntry
|
|
nil, // 77: rpcpb.AddNodeRequest.ChainConfigFilesEntry
|
|
nil, // 78: rpcpb.LoadSnapshotRequest.ChainConfigsEntry
|
|
nil, // 79: rpcpb.LoadSnapshotRequest.UpgradeConfigsEntry
|
|
nil, // 80: rpcpb.LoadSnapshotRequest.ChainConfigFilesEntry
|
|
}
|
|
var file_rpcpb_rpc_proto_depIdxs = []int32{
|
|
64, // 0: rpcpb.ClusterInfo.node_infos:type_name -> rpcpb.ClusterInfo.NodeInfosEntry
|
|
65, // 1: rpcpb.ClusterInfo.attached_peer_infos:type_name -> rpcpb.ClusterInfo.AttachedPeerInfosEntry
|
|
66, // 2: rpcpb.ClusterInfo.custom_chains:type_name -> rpcpb.ClusterInfo.CustomChainsEntry
|
|
67, // 3: rpcpb.ClusterInfo.chains:type_name -> rpcpb.ClusterInfo.ChainsEntry
|
|
2, // 4: rpcpb.ChainInfo.chain_participants:type_name -> rpcpb.ChainParticipants
|
|
7, // 5: rpcpb.ListOfAttachedPeerInfo.peers:type_name -> rpcpb.AttachedPeerInfo
|
|
23, // 6: rpcpb.StartRequest.blockchain_specs:type_name -> rpcpb.BlockchainSpec
|
|
68, // 7: rpcpb.StartRequest.custom_node_configs:type_name -> rpcpb.StartRequest.CustomNodeConfigsEntry
|
|
69, // 8: rpcpb.StartRequest.chain_configs:type_name -> rpcpb.StartRequest.ChainConfigsEntry
|
|
70, // 9: rpcpb.StartRequest.upgrade_configs:type_name -> rpcpb.StartRequest.UpgradeConfigsEntry
|
|
71, // 10: rpcpb.StartRequest.chain_config_files:type_name -> rpcpb.StartRequest.ChainConfigFilesEntry
|
|
3, // 11: rpcpb.StartResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
14, // 12: rpcpb.TransformElasticChainsRequest.elastic_chain_spec:type_name -> rpcpb.ElasticChainSpec
|
|
3, // 13: rpcpb.TransformElasticChainsResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
17, // 14: rpcpb.AddPermissionlessValidatorRequest.validator_spec:type_name -> rpcpb.PermissionlessValidatorSpec
|
|
3, // 15: rpcpb.AddPermissionlessValidatorResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
20, // 16: rpcpb.RemoveChainValidatorRequest.validator_spec:type_name -> rpcpb.RemoveChainValidatorSpec
|
|
3, // 17: rpcpb.RemoveChainValidatorResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
13, // 18: rpcpb.BlockchainSpec.chain_spec:type_name -> rpcpb.ChainSpec
|
|
23, // 19: rpcpb.CreateBlockchainsRequest.blockchain_specs:type_name -> rpcpb.BlockchainSpec
|
|
3, // 20: rpcpb.CreateBlockchainsResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
13, // 21: rpcpb.CreateChainsRequest.chain_specs:type_name -> rpcpb.ChainSpec
|
|
3, // 22: rpcpb.CreateChainsResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
3, // 23: rpcpb.HealthResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
30, // 24: rpcpb.HealthResponse.network_health:type_name -> rpcpb.NetworkHealth
|
|
3, // 25: rpcpb.WaitForHealthyResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
3, // 26: rpcpb.StatusResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
37, // 27: rpcpb.StatusResponse.network_status:type_name -> rpcpb.NetworkStatus
|
|
6, // 28: rpcpb.NetworkStatus.nodes:type_name -> rpcpb.NodeInfo
|
|
4, // 29: rpcpb.NetworkStatus.chains:type_name -> rpcpb.ChainInfo
|
|
3, // 30: rpcpb.StreamStatusResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
72, // 31: rpcpb.RestartNodeRequest.chain_configs:type_name -> rpcpb.RestartNodeRequest.ChainConfigsEntry
|
|
73, // 32: rpcpb.RestartNodeRequest.upgrade_configs:type_name -> rpcpb.RestartNodeRequest.UpgradeConfigsEntry
|
|
74, // 33: rpcpb.RestartNodeRequest.chain_config_files:type_name -> rpcpb.RestartNodeRequest.ChainConfigFilesEntry
|
|
3, // 34: rpcpb.RestartNodeResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
3, // 35: rpcpb.RemoveNodeResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
3, // 36: rpcpb.PauseNodeResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
3, // 37: rpcpb.ResumeNodeResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
75, // 38: rpcpb.AddNodeRequest.chain_configs:type_name -> rpcpb.AddNodeRequest.ChainConfigsEntry
|
|
76, // 39: rpcpb.AddNodeRequest.upgrade_configs:type_name -> rpcpb.AddNodeRequest.UpgradeConfigsEntry
|
|
77, // 40: rpcpb.AddNodeRequest.chain_config_files:type_name -> rpcpb.AddNodeRequest.ChainConfigFilesEntry
|
|
3, // 41: rpcpb.AddNodeResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
3, // 42: rpcpb.StopResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
3, // 43: rpcpb.AttachPeerResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
7, // 44: rpcpb.AttachPeerResponse.attached_peer_info:type_name -> rpcpb.AttachedPeerInfo
|
|
78, // 45: rpcpb.LoadSnapshotRequest.chain_configs:type_name -> rpcpb.LoadSnapshotRequest.ChainConfigsEntry
|
|
79, // 46: rpcpb.LoadSnapshotRequest.upgrade_configs:type_name -> rpcpb.LoadSnapshotRequest.UpgradeConfigsEntry
|
|
80, // 47: rpcpb.LoadSnapshotRequest.chain_config_files:type_name -> rpcpb.LoadSnapshotRequest.ChainConfigFilesEntry
|
|
3, // 48: rpcpb.LoadSnapshotResponse.cluster_info:type_name -> rpcpb.ClusterInfo
|
|
6, // 49: rpcpb.ClusterInfo.NodeInfosEntry.value:type_name -> rpcpb.NodeInfo
|
|
8, // 50: rpcpb.ClusterInfo.AttachedPeerInfosEntry.value:type_name -> rpcpb.ListOfAttachedPeerInfo
|
|
5, // 51: rpcpb.ClusterInfo.CustomChainsEntry.value:type_name -> rpcpb.CustomChainInfo
|
|
4, // 52: rpcpb.ClusterInfo.ChainsEntry.value:type_name -> rpcpb.ChainInfo
|
|
0, // 53: rpcpb.PingService.Ping:input_type -> rpcpb.PingRequest
|
|
10, // 54: rpcpb.ControlService.RPCVersion:input_type -> rpcpb.RPCVersionRequest
|
|
9, // 55: rpcpb.ControlService.Start:input_type -> rpcpb.StartRequest
|
|
24, // 56: rpcpb.ControlService.CreateBlockchains:input_type -> rpcpb.CreateBlockchainsRequest
|
|
15, // 57: rpcpb.ControlService.TransformElasticChains:input_type -> rpcpb.TransformElasticChainsRequest
|
|
18, // 58: rpcpb.ControlService.AddPermissionlessValidator:input_type -> rpcpb.AddPermissionlessValidatorRequest
|
|
21, // 59: rpcpb.ControlService.RemoveChainValidator:input_type -> rpcpb.RemoveChainValidatorRequest
|
|
26, // 60: rpcpb.ControlService.CreateChains:input_type -> rpcpb.CreateChainsRequest
|
|
28, // 61: rpcpb.ControlService.Health:input_type -> rpcpb.HealthRequest
|
|
31, // 62: rpcpb.ControlService.URIs:input_type -> rpcpb.URIsRequest
|
|
33, // 63: rpcpb.ControlService.WaitForHealthy:input_type -> rpcpb.WaitForHealthyRequest
|
|
35, // 64: rpcpb.ControlService.Status:input_type -> rpcpb.StatusRequest
|
|
38, // 65: rpcpb.ControlService.StreamStatus:input_type -> rpcpb.StreamStatusRequest
|
|
42, // 66: rpcpb.ControlService.RemoveNode:input_type -> rpcpb.RemoveNodeRequest
|
|
48, // 67: rpcpb.ControlService.AddNode:input_type -> rpcpb.AddNodeRequest
|
|
40, // 68: rpcpb.ControlService.RestartNode:input_type -> rpcpb.RestartNodeRequest
|
|
44, // 69: rpcpb.ControlService.PauseNode:input_type -> rpcpb.PauseNodeRequest
|
|
46, // 70: rpcpb.ControlService.ResumeNode:input_type -> rpcpb.ResumeNodeRequest
|
|
50, // 71: rpcpb.ControlService.Stop:input_type -> rpcpb.StopRequest
|
|
52, // 72: rpcpb.ControlService.AttachPeer:input_type -> rpcpb.AttachPeerRequest
|
|
54, // 73: rpcpb.ControlService.SendOutboundMessage:input_type -> rpcpb.SendOutboundMessageRequest
|
|
56, // 74: rpcpb.ControlService.SaveSnapshot:input_type -> rpcpb.SaveSnapshotRequest
|
|
56, // 75: rpcpb.ControlService.SaveHotSnapshot:input_type -> rpcpb.SaveSnapshotRequest
|
|
58, // 76: rpcpb.ControlService.LoadSnapshot:input_type -> rpcpb.LoadSnapshotRequest
|
|
60, // 77: rpcpb.ControlService.RemoveSnapshot:input_type -> rpcpb.RemoveSnapshotRequest
|
|
62, // 78: rpcpb.ControlService.GetSnapshotNames:input_type -> rpcpb.GetSnapshotNamesRequest
|
|
1, // 79: rpcpb.PingService.Ping:output_type -> rpcpb.PingResponse
|
|
11, // 80: rpcpb.ControlService.RPCVersion:output_type -> rpcpb.RPCVersionResponse
|
|
12, // 81: rpcpb.ControlService.Start:output_type -> rpcpb.StartResponse
|
|
25, // 82: rpcpb.ControlService.CreateBlockchains:output_type -> rpcpb.CreateBlockchainsResponse
|
|
16, // 83: rpcpb.ControlService.TransformElasticChains:output_type -> rpcpb.TransformElasticChainsResponse
|
|
19, // 84: rpcpb.ControlService.AddPermissionlessValidator:output_type -> rpcpb.AddPermissionlessValidatorResponse
|
|
22, // 85: rpcpb.ControlService.RemoveChainValidator:output_type -> rpcpb.RemoveChainValidatorResponse
|
|
27, // 86: rpcpb.ControlService.CreateChains:output_type -> rpcpb.CreateChainsResponse
|
|
29, // 87: rpcpb.ControlService.Health:output_type -> rpcpb.HealthResponse
|
|
32, // 88: rpcpb.ControlService.URIs:output_type -> rpcpb.URIsResponse
|
|
34, // 89: rpcpb.ControlService.WaitForHealthy:output_type -> rpcpb.WaitForHealthyResponse
|
|
36, // 90: rpcpb.ControlService.Status:output_type -> rpcpb.StatusResponse
|
|
39, // 91: rpcpb.ControlService.StreamStatus:output_type -> rpcpb.StreamStatusResponse
|
|
43, // 92: rpcpb.ControlService.RemoveNode:output_type -> rpcpb.RemoveNodeResponse
|
|
49, // 93: rpcpb.ControlService.AddNode:output_type -> rpcpb.AddNodeResponse
|
|
41, // 94: rpcpb.ControlService.RestartNode:output_type -> rpcpb.RestartNodeResponse
|
|
45, // 95: rpcpb.ControlService.PauseNode:output_type -> rpcpb.PauseNodeResponse
|
|
47, // 96: rpcpb.ControlService.ResumeNode:output_type -> rpcpb.ResumeNodeResponse
|
|
51, // 97: rpcpb.ControlService.Stop:output_type -> rpcpb.StopResponse
|
|
53, // 98: rpcpb.ControlService.AttachPeer:output_type -> rpcpb.AttachPeerResponse
|
|
55, // 99: rpcpb.ControlService.SendOutboundMessage:output_type -> rpcpb.SendOutboundMessageResponse
|
|
57, // 100: rpcpb.ControlService.SaveSnapshot:output_type -> rpcpb.SaveSnapshotResponse
|
|
57, // 101: rpcpb.ControlService.SaveHotSnapshot:output_type -> rpcpb.SaveSnapshotResponse
|
|
59, // 102: rpcpb.ControlService.LoadSnapshot:output_type -> rpcpb.LoadSnapshotResponse
|
|
61, // 103: rpcpb.ControlService.RemoveSnapshot:output_type -> rpcpb.RemoveSnapshotResponse
|
|
63, // 104: rpcpb.ControlService.GetSnapshotNames:output_type -> rpcpb.GetSnapshotNamesResponse
|
|
79, // [79:105] is the sub-list for method output_type
|
|
53, // [53:79] is the sub-list for method input_type
|
|
53, // [53:53] is the sub-list for extension type_name
|
|
53, // [53:53] is the sub-list for extension extendee
|
|
0, // [0:53] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_rpcpb_rpc_proto_init() }
|
|
func file_rpcpb_rpc_proto_init() {
|
|
if File_rpcpb_rpc_proto != nil {
|
|
return
|
|
}
|
|
file_rpcpb_rpc_proto_msgTypes[9].OneofWrappers = []any{}
|
|
file_rpcpb_rpc_proto_msgTypes[23].OneofWrappers = []any{}
|
|
file_rpcpb_rpc_proto_msgTypes[28].OneofWrappers = []any{}
|
|
file_rpcpb_rpc_proto_msgTypes[29].OneofWrappers = []any{}
|
|
file_rpcpb_rpc_proto_msgTypes[33].OneofWrappers = []any{}
|
|
file_rpcpb_rpc_proto_msgTypes[35].OneofWrappers = []any{}
|
|
file_rpcpb_rpc_proto_msgTypes[36].OneofWrappers = []any{}
|
|
file_rpcpb_rpc_proto_msgTypes[40].OneofWrappers = []any{}
|
|
file_rpcpb_rpc_proto_msgTypes[48].OneofWrappers = []any{}
|
|
file_rpcpb_rpc_proto_msgTypes[58].OneofWrappers = []any{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpcpb_rpc_proto_rawDesc), len(file_rpcpb_rpc_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 81,
|
|
NumExtensions: 0,
|
|
NumServices: 2,
|
|
},
|
|
GoTypes: file_rpcpb_rpc_proto_goTypes,
|
|
DependencyIndexes: file_rpcpb_rpc_proto_depIdxs,
|
|
MessageInfos: file_rpcpb_rpc_proto_msgTypes,
|
|
}.Build()
|
|
File_rpcpb_rpc_proto = out.File
|
|
file_rpcpb_rpc_proto_goTypes = nil
|
|
file_rpcpb_rpc_proto_depIdxs = nil
|
|
}
|