Listen to tx pre event and trigger 'pending'

This commit is contained in:
obscuren
2015-03-20 12:07:06 +01:00
parent b4a51de602
commit 55fdf3e462
3 changed files with 20 additions and 16 deletions

View File

@ -34,7 +34,7 @@ type Filter struct {
topics [][][]byte
BlockCallback func(*types.Block, state.Logs)
PendingCallback func(*types.Block, state.Logs)
PendingCallback func(*types.Transaction)
LogsCallback func(state.Logs)
}