internal/ethapi: add SubscribePendingLogsEvent to backend interface

This commit is contained in:
Felix Lange 2019-11-18 15:16:10 +01:00
parent 4e81a62b74
commit 5ce2556804

View file

@ -79,6 +79,7 @@ type Backend interface {
GetLogs(ctx context.Context, blockHash common.Hash) ([][]*types.Log, error)
ServiceFilter(ctx context.Context, session *bloombits.MatcherSession)
SubscribeLogsEvent(ch chan<- []*types.Log) event.Subscription
SubscribePendingLogsEvent(ch chan<- []*types.Log) event.Subscription
SubscribeRemovedLogsEvent(ch chan<- core.RemovedLogsEvent) event.Subscription
ChainConfig() *params.ChainConfig