func (s RemoteFunc) String() string {
	switch s {
	case DHTPing:
		return "DHT.Ping"
	case DHTFindNeighbor:
		return "DHT.FindNeighbor"
	case DHTFindNode:
		return "DHT.FindNode"
	case DHTGSetNode:
		return "DHTG.SetNode"
	case MetricUploadMetrics:
		return "Metric.UploadMetrics"
	case DBSQuery:
		return "DBS.Query"
	case DBSAck:
		return "DBS.Ack"
	case DBSDeploy:
		return "DBS.Deploy"
	case DBSObserverFetchBlock:
		return "DBS.ObserverFetchBlock"
	case DBCCall:
		return "DBC.Call"
	case SQLCAdviseNewBlock:
		return "SQLC.AdviseNewBlock"
	case SQLCFetchBlock:
		return "SQLC.FetchBlock"
	case SQLCSignBilling:
		return "SQLC.SignBilling"
	case SQLCLaunchBilling:
		return "SQLC.LaunchBilling"
	case MCCAdviseNewBlock:
		return "MCC.AdviseNewBlock"
	case MCCAdviseTxBilling:
		return "MCC.AdviseTxBilling"
	case MCCAdviseBillingRequest:
		return "MCC.AdviseBillingRequest"
	case MCCFetchBlock:
		return "MCC.FetchBlock"
	case MCCFetchBlockByCount:
		return "MCC.FetchBlockByCount"
	case MCCFetchLastIrreversibleBlock:
		return "MCC.FetchLastIrreversibleBlock"
	case MCCFetchTxBilling:
		return "MCC.FetchTxBilling"
	case MCCNextAccountNonce:
		return "MCC.NextAccountNonce"
	case MCCAddTx:
		return "MCC.AddTx"
	case MCCQuerySQLChainProfile:
		return "MCC.QuerySQLChainProfile"
	case MCCQueryAccountTokenBalance:
		return "MCC.QueryAccountTokenBalance"
	case MCCQueryTxState:
		return "MCC.QueryTxState"
	case MCCQueryAccountSQLChainProfiles:
		return "MCC.QueryAccountSQLChainProfiles"
	}
	return "Unknown"
}
String returns the RemoteFunc string.
package route
import (
	"github.com/SQLess/SQLess/crypto/kms"
	"github.com/SQLess/SQLess/proto"
	"github.com/SQLess/SQLess/utils/log"
)
type RemoteFunc int
const (
	DHTPing RemoteFunc = iota
	DHTFindNeighbor
	DHTFindNode
	DHTGSetNode
	MetricUploadMetrics
	DBSQuery
	DBSAck
	DBSDeploy
	DBSObserverFetchBlock
	DBCCall
	SQLCAdviseNewBlock
	SQLCFetchBlock
	SQLCSignBilling
	SQLCLaunchBilling
	MCCAdviseNewBlock
	MCCAdviseTxBilling
	MCCAdviseBillingRequest
	MCCFetchBlock
	MCCFetchBlockByCount
	MCCFetchLastIrreversibleBlock
	MCCFetchTxBilling
	MCCNextAccountNonce
	MCCAddTx
	MCCQuerySQLChainProfile
	MCCQueryAccountTokenBalance
	MCCQueryTxState
	MCCQueryAccountSQLChainProfiles
	MaxRPCOffset
	DHTRPCName = "DHT"
	DHTGossipRPCName = "DHTG"
	BlockProducerRPCName = "MCC"
	SQLChainRPCName = "SQLC"
	DBRPCName = "DBS"
)