go-pulse/eth
Nick Johnson 1fe67c125d eth/filters: add FindOnce for iterator-like operation (#3435)
This commit introduces a FindOnce method for filters. FindOnce finds the next block that
matches the filter and returns all matching logs from that block. If there are no further
matching logs, it returns a nil slice. This method allows callers to iterate over large
sets of logs progressively.

The changes introduce a small inefficiency relating to mipmaps: the first time a filter is
called, it acts as if all mipmaps are matched, and thus iterates several blocks near the
requested start point. This is in the interest of simplicity and avoiding duplicate mipmap
lookups each time FindOnce is called.
2016-12-20 02:00:03 +01:00
..
downloader core/types, params: EIP#155 2016-11-13 14:55:30 +01:00
fetcher core/types, params: EIP#155 2016-11-13 14:55:30 +01:00
filters eth/filters: add FindOnce for iterator-like operation (#3435) 2016-12-20 02:00:03 +01:00
gasprice all: update license information 2016-11-09 02:51:34 +01:00
api_backend.go core: bugfix state change race condition in txpool (#3412) 2016-12-10 23:54:58 +01:00
api.go cmd/utils, eth: Add gzip support for chain dump and restore 2016-12-14 08:59:55 +00:00
backend_test.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
backend.go eth, les: defer starting LES service until ETH initial sync is finished 2016-12-10 09:53:25 +01:00
bad_block.go all: update license information 2016-11-09 02:51:34 +01:00
bind.go all: update license information 2016-11-09 02:51:34 +01:00
db_upgrade.go all: update license information 2016-11-09 02:51:34 +01:00
handler_test.go core/types, params: EIP#155 2016-11-13 14:55:30 +01:00
handler.go eth, les: defer starting LES service until ETH initial sync is finished 2016-12-10 09:53:25 +01:00
helper_test.go core: bugfix state change race condition in txpool (#3412) 2016-12-10 23:54:58 +01:00
metrics.go eth, eth/downloader, eth/fetcher: delete eth/61 code 2016-07-22 13:17:19 +02:00
peer.go eth, eth/downloader: better remote head tracking 2016-07-25 15:14:14 +03:00
protocol_test.go core, eth, internal, miner: optimize txpool for quick ops 2016-09-02 14:12:03 +03:00
protocol.go core: bugfix state change race condition in txpool (#3412) 2016-12-10 23:54:58 +01:00
sync_test.go eth: skip transaction handling during fast sync 2016-05-17 14:17:20 +03:00
sync.go Merge pull request #3413 from zsfelfoldi/light-topic4 2016-12-12 20:46:15 +01:00