Documentation
¶
Overview ¶
Package connection provides functionality for network connections.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection interface {
// Consensus returns an interface to the consensus layer.
Consensus() consensus.Services
// Control returns an interface to the node control layer.
Control() control.NodeController
// Runtime returns an interface to the given runtime.
Runtime(pt *config.ParaTime) RuntimeClient
}
Connection is the general node connection interface.
func ConnectNoVerify ¶ added in v0.3.0
ConnectNoVerify establishes a connection with the target network, omitting the chain context check.
type RuntimeClient ¶
type RuntimeClient struct {
client.RuntimeClient
Core core.V1
Accounts accounts.V1
Rewards rewards.V1
ConsensusAccounts consensusaccounts.V1
Contracts contracts.V1
Evm evm.V1
ROFL rofl.V1
ROFLMarket roflmarket.V1
}
RuntimeClient is a client.RuntimeClient augmented with commonly used modules.
Click to show internal directories.
Click to hide internal directories.