Documentation ¶
Index ¶
Constants ¶
View Source
const ( EthSubscribeEventTypeHeads = "newHeads" EthSubscribeEventTypeLogs = "logs" EthSubscribeEventTypePendingTransactions = "newPendingTransactions" )
Variables ¶
View Source
var ErrModuleDisabled = errors.New("module disabled, enable with Fevm.EnableEthRPC / VENUS_FEVM_ENABLEETHRPC")
View Source
var ErrNullRound = errors.New("requested epoch was a null round")
View Source
var ErrUnsupported = errors.New("unsupported method")
Functions ¶
This section is empty.
Types ¶
type EthSubModule ¶
type EthSubModule struct {
// contains filtered or unexported fields
}
func NewEthSubModule ¶
func NewEthSubModule(ctx context.Context, cfg *config.Config, chainModule *chain.ChainSubmodule, mpoolModule *mpool.MessagePoolSubmodule, sqlitePath string, syncAPI v1api.ISyncer, ) (*EthSubModule, error)
func (*EthSubModule) API ¶
func (em *EthSubModule) API() v1api.FullETH
func (*EthSubModule) GetEventFilterManager ¶ added in v1.15.0
func (em *EthSubModule) GetEventFilterManager() *filter.EventFilterManager
type EthSubscriptionManager ¶
func (*EthSubscriptionManager) StartSubscription ¶
func (*EthSubscriptionManager) StopSubscription ¶
func (e *EthSubscriptionManager) StopSubscription(ctx context.Context, id types.EthSubscriptionID) error
Click to show internal directories.
Click to hide internal directories.