diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-06 23:51:32 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-07 20:44:32 +0800 |
commit | 7e160a677d1590f97708a0d297f978a99977d398 (patch) | |
tree | 9cd71bfad14c06c381e3518f6fb11464225271ab /core | |
parent | 97c37356fdcfac8b704c3d75b33e322a737c4e55 (diff) | |
download | dexon-7e160a677d1590f97708a0d297f978a99977d398.tar dexon-7e160a677d1590f97708a0d297f978a99977d398.tar.gz dexon-7e160a677d1590f97708a0d297f978a99977d398.tar.bz2 dexon-7e160a677d1590f97708a0d297f978a99977d398.tar.lz dexon-7e160a677d1590f97708a0d297f978a99977d398.tar.xz dexon-7e160a677d1590f97708a0d297f978a99977d398.tar.zst dexon-7e160a677d1590f97708a0d297f978a99977d398.zip |
xeth, core, event/filter, rpc: new block and transaction filters
Diffstat (limited to 'core')
-rw-r--r-- | core/filter.go | 6 |
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 |