cli

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: Apache-2.0 Imports: 89 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Protocol               pbbstream.Protocol = pbbstream.Protocol_EOS
	TrxDBDSN               string             = "badger://{zswlishi-data-dir}/storage/trxdb"
	StateDBDSN             string             = "badger://{zswlishi-data-dir}/storage/statedb-v1"
	AccountHistDSN         string             = "badger://{zswlishi-data-dir}/storage/accounthist"
	MergedBlocksStoreURL   string             = "file://{zswlishi-data-dir}/storage/merged-blocks"
	FilteredBlocksStoreURL string             = "file://{zswlishi-data-dir}/storage/filtered-merged-blocks"
	IndicesStoreURL        string             = "file://{zswlishi-data-dir}/storage/indexes"
	OneBlockStoreURL       string             = "file://{zswlishi-data-dir}/storage/one-blocks"
	PitreosURL             string             = "file://{zswlishi-data-dir}/storage/pitreos"
	SnapshotsURL           string             = "file://{zswlishi-data-dir}/storage/snapshots"
	DmeshDSN               string             = "local://"
	DmeshServiceVersion    string             = "v1"
	NetworkID              string             = "eos-local"
	NodeosBinPath          string             = "nodeos"
	// Ports
	NodeManagerHTTPServingAddr  string = ":13008"
	MindreaderHTTPServingAddr   string = ":13009"
	MindreaderGRPCAddr          string = ":13010"
	RelayerServingAddr          string = ":13011"
	MergerServingAddr           string = ":13012"
	ABICodecServingAddr         string = ":13013"
	BlockmetaServingAddr        string = ":13014"
	ArchiveServingAddr          string = ":13015"
	ArchiveHTTPServingAddr      string = ":13016"
	LiveServingAddr             string = ":13017"
	RouterServingAddr           string = ":13018"
	RouterHTTPServingAddr       string = ":13019"
	KvdbHTTPServingAddr         string = ":13020"
	IndexerServingAddr          string = ":13021"
	IndexerHTTPServingAddr      string = ":13022"
	DgraphqlHTTPServingAddr     string = ":13023"
	DgraphqlGRPCServingAddr     string = ":13024"
	EoswsHTTPServingAddr        string = ":13026"
	ForkResolverServingAddr     string = ":13027"
	ForkResolverHTTPServingAddr string = ":13028"
	StateDBHTTPServingAddr      string = ":13029"
	StateDBGRPCServingAddr      string = ":13032"
	EosqHTTPServingAddr         string = ":13030"
	DashboardGRPCServingAddr    string = ":13031"
	FilteringRelayerServingAddr string = ":13032"
	AccountHistGRPCServingAddr  string = ":13034"
	FirehoseGRPCServingAddr     string = ":13035"
	TokenmetaGRPCServingAddr    string = ":14001"
	DashboardHTTPListenAddr     string = ":8081"
	APIProxyHTTPListenAddr      string = ":8080"
	MindreaderNodeosAPIAddr     string = ":9888"
	NodeosAPIAddr               string = ":8888"
	MetricsListenAddr           string = ":9102"

	DgraphqlAPIKey string = "web_0000"
	JWTIssuerURL   string = "null://dfuse"
	EosqAPIKey     string = "web_0000"
)

Variables

View Source
var RootCmd = &cobra.Command{Use: "zswlishi", Short: "ZSWLiShi"}

Root of the `zswlishi` command

View Source
var StartCmd = &cobra.Command{Use: "start", Short: "Starts `ZSWLiShi` services all at once", RunE: dfuseStartE, Args: cobra.ArbitraryArgs}

Functions

func CheckNodeosInstallation

func CheckNodeosInstallation(path string) error

func Init

func Init(runProducer bool, configFile string) error

func Main

func Main()

func Purge

func Purge(dataDir string) error

func Start

func Start(dataDir string, args []string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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