aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-06 23:51:32 +0800
committerobscuren <geffobscura@gmail.com>2015-05-07 20:44:32 +0800
commit7e160a677d1590f97708a0d297f978a99977d398 (patch)
tree9cd71bfad14c06c381e3518f6fb11464225271ab /core
parent97c37356fdcfac8b704c3d75b33e322a737c4e55 (diff)
downloadgo-tangerine-7e160a677d1590f97708a0d297f978a99977d398.tar.gz
go-tangerine-7e160a677d1590f97708a0d297f978a99977d398.tar.zst
go-tangerine-7e160a677d1590f97708a0d297f978a99977d398.zip
xeth, core, event/filter, rpc: new block and transaction filters
Diffstat (limited to 'core')
-rw-r--r--core/filter.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/filter.go b/core/filter.go
index c10fb7eeb..2ca57da65 100644
--- a/core/filter.go
+++ b/core/filter.go
@@ -22,9 +22,9 @@ type Filter struct {
max int
topics [][]common.Hash
- BlockCallback func(*types.Block, state.Logs)
- PendingCallback func(*types.Transaction)
- LogsCallback func(state.Logs)
+ BlockCallback func(*types.Block, state.Logs)
+ TransactionCallback func(*types.Transaction)
+ LogsCallback func(state.Logs)
}
// Create a new filter which uses a bloom filter on blocks to figure out whether a particular block