Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultBaseURL can be used as a reasonable default value for the base URL
DefaultBaseURL = "/tmp"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainIPCs ¶
type ChainIPCs struct {
// contains filtered or unexported fields
}
ChainIPCs maintains IPCs for a set of chains
func NewChainIPCs ¶
func NewChainIPCs(log logging.Logger, path string, networkID uint32, consensusEvents *triggers.EventDispatcher, decisionEvents *triggers.EventDispatcher, defaultChainIDs []ids.ID) (*ChainIPCs, error)
NewChainIPCs creates a new *ChainIPCs that writes consensus and decision events to IPC sockets
func (*ChainIPCs) GetPublishedBlockchains ¶
GetPublishedBlockchains returns the chains that are currently being published
type EventSockets ¶
type EventSockets struct {
// contains filtered or unexported fields
}
EventSockets is a set of named eventSockets
func (*EventSockets) ConsensusURL ¶
func (ipcs *EventSockets) ConsensusURL() string
ConsensusURL returns the URL of socket receiving consensus events
func (*EventSockets) DecisionsURL ¶
func (ipcs *EventSockets) DecisionsURL() string
DecisionsURL returns the URL of socket receiving decisions events
Click to show internal directories.
Click to hide internal directories.