Documentation ¶
Overview ¶
Package cmd is the base package for various sets of builds and executables created from go-spacemesh
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the app's semantic version. Designed to be overwritten by make. Version string // Branch is the git branch used to build the App. Designed to be overwritten by make. Branch string // Commit is the git commit used to build the app. Designed to be overwritten by make. Commit string // Ctx is the node's main context. Ctx, _ = context.WithCancel(context.Background()) // Cancel is a function used to initiate graceful shutdown. Cancel = cancel )
Functions ¶
Types ¶
type BaseApp ¶
BaseApp is the base application command, provides basic init and flags for all executables and applications
func (*BaseApp) Initialize ¶
Initialize loads config, sets logger and listens to Ctrl ^C
Directories ¶
Path | Synopsis |
---|---|
package hare is the tester executable running instances of hare consensus algorithm
|
package hare is the tester executable running instances of hare consensus algorithm |
Package integration provides RPC testing harness for executing and interacting with full node
|
Package integration provides RPC testing harness for executing and interacting with full node |
package multi_node_sim is an implementation of a framework running multiple nodes in same executable with fast hare implementation.
|
package multi_node_sim is an implementation of a framework running multiple nodes in same executable with fast hare implementation. |
Package node contains the main executable for go-spacemesh node
|
Package node contains the main executable for go-spacemesh node |
package p2p cmd is the main executable for running p2p tests and simulations
|
package p2p cmd is the main executable for running p2p tests and simulations |
Click to show internal directories.
Click to hide internal directories.