|
|
@ -29,7 +29,6 @@ import ( |
|
|
|
"github.com/ethereum/go-ethereum/common" |
|
|
|
"github.com/ethereum/go-ethereum/common" |
|
|
|
"github.com/ethereum/go-ethereum/common/hexutil" |
|
|
|
"github.com/ethereum/go-ethereum/common/hexutil" |
|
|
|
"github.com/ethereum/go-ethereum/core/types" |
|
|
|
"github.com/ethereum/go-ethereum/core/types" |
|
|
|
"github.com/ethereum/go-ethereum/event" |
|
|
|
|
|
|
|
"github.com/ethereum/go-ethereum/rpc" |
|
|
|
"github.com/ethereum/go-ethereum/rpc" |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
@ -48,8 +47,6 @@ type filter struct { |
|
|
|
// information related to the Ethereum protocol such als blocks, transactions and logs.
|
|
|
|
// information related to the Ethereum protocol such als blocks, transactions and logs.
|
|
|
|
type PublicFilterAPI struct { |
|
|
|
type PublicFilterAPI struct { |
|
|
|
backend Backend |
|
|
|
backend Backend |
|
|
|
mux *event.TypeMux |
|
|
|
|
|
|
|
quit chan struct{} |
|
|
|
|
|
|
|
events *EventSystem |
|
|
|
events *EventSystem |
|
|
|
filtersMu sync.Mutex |
|
|
|
filtersMu sync.Mutex |
|
|
|
filters map[rpc.ID]*filter |
|
|
|
filters map[rpc.ID]*filter |
|
|
|