Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainConfig ¶
type ChainConfig struct {
Name string // Human-readable chain name
Id msg.ChainId // ChainID
Endpoint string // url for rpc endpoint
EndpointList []string // url list for rpc endpoint
From string // address of key to use
KeystorePath string // Location of key files
Insecure bool // Indicated whether the test keyring should be used
BlockstorePath string // Location of blockstore
FreshStart bool // If true, blockstore is ignored at start.
LatestBlock bool // If true, overrides blockstore or latest block in config and starts from current block
Opts map[string]string // Per chain options
Symbols []interface{} // map info for symbols and resourceIds
}
type Core ¶
type Core struct {
Registry []Chain
// contains filtered or unexported fields
}
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router forwards messages from their source to their destination
func (*Router) Listen ¶
Listen registers a Writer with a ChainId which Router.Send can then use to propagate messages
Click to show internal directories.
Click to hide internal directories.