Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ComponentManager ¶ added in v0.8.8
type ComponentManager struct {
// contains filtered or unexported fields
}
ComponentManager is a wrapper for all the kaspad services
func NewComponentManager ¶ added in v0.8.8
func NewComponentManager(cfg *config.Config, db infrastructuredatabase.Database, interrupt chan<- struct{}) ( *ComponentManager, error)
NewComponentManager returns a new ComponentManager instance. Use Start() to begin all services within this ComponentManager
func (*ComponentManager) AddressManager ¶ added in v0.8.8
func (a *ComponentManager) AddressManager() *addressmanager.AddressManager
AddressManager returns the AddressManager associated with this ComponentManager
func (*ComponentManager) P2PNodeID ¶ added in v0.8.8
func (a *ComponentManager) P2PNodeID() *id.ID
P2PNodeID returns the network ID associated with this ComponentManager
func (*ComponentManager) Start ¶ added in v0.8.8
func (a *ComponentManager) Start()
Start launches all the kaspad services.
func (*ComponentManager) Stop ¶ added in v0.8.8
func (a *ComponentManager) Stop()
Stop gracefully shuts down all the kaspad services.
Directories ¶
Path | Synopsis |
---|---|
Package appmessage implements the kaspa appmessage protocol.
|
Package appmessage implements the kaspa appmessage protocol. |
Click to show internal directories.
Click to hide internal directories.