From 5ce2556804b2a3d64c58e00dd82c251ac1f40681 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 18 Nov 2019 15:16:10 +0100 Subject: [PATCH] internal/ethapi: add SubscribePendingLogsEvent to backend interface --- internal/ethapi/backend.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ethapi/backend.go b/internal/ethapi/backend.go index 91a1b5806a..245091df35 100644 --- a/internal/ethapi/backend.go +++ b/internal/ethapi/backend.go @@ -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