Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is an RPC manager
func NewManager ¶
func NewManager( cfg *config.Config, domain domain.Domain, netAdapter *netadapter.NetAdapter, protocolManager *protocol.Manager, connectionManager *connmanager.ConnectionManager, addressManager *addressmanager.AddressManager, utxoIndex *utxoindex.UTXOIndex, shutDownChan chan<- struct{}) *Manager
NewManager creates a new RPC Manager
func (*Manager) NotifyBlockAddedToDAG ¶
func (m *Manager) NotifyBlockAddedToDAG(block *externalapi.DomainBlock, blockInsertionResult *externalapi.BlockInsertionResult) error
NotifyBlockAddedToDAG notifies the manager that a block has been added to the DAG
func (*Manager) NotifyFinalityConflict ¶
NotifyFinalityConflict notifies the manager that there's a finality conflict in the DAG
func (*Manager) NotifyFinalityConflictResolved ¶
NotifyFinalityConflictResolved notifies the manager that a finality conflict in the DAG has been resolved
func (*Manager) NotifyPruningPointUTXOSetOverride ¶ added in v0.8.10
NotifyPruningPointUTXOSetOverride notifies the manager whenever the UTXO index resets due to pruning point change via IBD.
Click to show internal directories.
Click to hide internal directories.