cli

package
v0.1.0-beta4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 75 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Protocol             pbbstream.Protocol = pbbstream.Protocol_EOS
	TrxdbDSN             string             = "badger://{dfuse-data-dir}/storage/trxdb"   //%s will be replaced by `<data-dir>`
	FluxDSN              string             = "badger://{dfuse-data-dir}/storage/statedb" //%s will be replaced by `<data-dir>/<flux-data-dir>
	MergedBlocksStoreURL string             = "file://{dfuse-data-dir}/storage/merged-blocks"
	IndicesStoreURL      string             = "file://{dfuse-data-dir}/storage/indexes"
	OneBlockStoreURL     string             = "file://{dfuse-data-dir}/storage/one-blocks"
	PitreosURL           string             = "file://{dfuse-data-dir}/storage/pitreos"
	SnapshotsURL         string             = "file://{dfuse-data-dir}/storage/snapshots"
	DmeshDSN             string             = "local://"
	DmeshServiceVersion  string             = "v1"
	NetworkID            string             = "eos-local"
	NodeosBinPath        string             = "nodeos"
	// Ports
	EosManagerAPIAddr           string = ":13008"
	EosMindreaderHTTPAddr       string = ":13009"
	MindreaderGRPCAddr          string = ":13010"
	RelayerServingAddr          string = ":13011"
	MergerServingAddr           string = ":13012"
	AbiServingAddr              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"
	FluxDBServingAddr           string = ":13029"
	EosqHTTPServingAddr         string = ":13030"
	DashboardGrpcServingAddr    string = ":13031"
	DashboardHTTPListenAddr     string = ":8081"
	APIProxyHTTPListenAddr      string = ":8080"
	MindreaderNodeosAPIAddr     string = ":9888"
	NodeosAPIAddr               string = ":8888"

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

Variables

View Source
var RootCmd = &cobra.Command{Use: "dfuseeos", Short: "dfuse for EOSIO"}

Root of the `dfuseeos` command

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

Functions

func AutoBind

func AutoBind(root *cobra.Command, prefix string)

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