eth_newBlockFilter doesn't last long

ocminerocminer Member Posts: 37
I'm creating a filter like this:

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_newBlockFilter","params":[],"id":73}' http://localhost:8545

And poll it every minute like this:

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getFilterChanges","params":["0x3"],"id":73}' http://localhost:8545


If I do NOT poll it for like 2-3 mins, it seems it dies and it just returns empty results.

Whats the lifetime of a filter or how big is it's buffer size ?
Sign In or Register to comment.