Documentation
¶
Overview ¶
Package machinepath provides the service that watches the C-chain indexer for governance-signed machine path lists and forwards them to the TEE node as SET_MACHINE_PATH_LIST direct actions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service polls the indexer for newly signed machine path lists and enqueues a SET_MACHINE_PATH_LIST direct action for each list whose nonce advances past the last one submitted.
func NewService ¶
func NewService(aq *queue.ActionQueues, responses *result.ResultStorage, managerAddress common.Address, extensionID common.Hash, chainID uint64, m *metrics.Metrics) *Service
NewService creates a machine path list service for the given extension. The manager address must be nonzero; the caller is responsible for skipping service creation when the feature is disabled.
Click to show internal directories.
Click to hide internal directories.