Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Xt ¶
type Xt struct {
// App is the heart of the application system,
// this creates and initialises it.
App *cli.App
// Config is the pod all-in-one server config
Config *pod.Config
// StateCfg is a reference to the main node state configuration struct
StateCfg *state.Config
// ActiveNet is the active net parameters
ActiveNet *netparams.Params
// DataDir is the default data dir
DataDir string
// Log is the logger for node
Log chan interface{}
// Node is the run state of the node
Node *atomic.Value
// NodeKill is the killswitch for the Node
NodeKill chan struct{}
// TestNode is the run state of the TestNode
TestNode *atomic.Value
// TestNodeKill is the killswitch for the TestNode
TestNodeKill chan struct{}
// Wallet is the run state of the wallet
Wallet *atomic.Value
// WalletKill is the killswitch for the Wallet
WalletKill chan struct{}
// // Window is the fyne window when running GUI
// Window *fyne.Window
// RPCServer is needed to directly query data
RPCServer *rpc.Server
// WalletServer is needed to query the wallet
WalletServer *wallet.Wallet
// Scribble DB
DB *scribble.Driver
// RealNode is the main node
RealNode *rpc.Node
// StopDiscovery turns off the discovery server
StopDiscovery context.CancelFunc
// RequestDiscoveryUpdate allows the addition or removal of text entries
// in the discovery advertisement
RequestDiscoveryUpdate discovery.RequestFunc
// RouteableInterface is the available routeable interface
RouteableInterface *net.Interface
}
Xt as in conte.Xt stores all the common state data used in pod
Source Files
¶
- context.go
Click to show internal directories.
Click to hide internal directories.