If I create a filter with the same parameters twice in a row, I get different filter IDs. Is the ID deterministic? If so, how is it generated?
Asked
Active
Viewed 303 times
1 Answers
2
The filter ID is an integer, and is incremented for each newly created filter, regardless of the parameters it's created with.
See also the following previous thread: What's the maximum number of filters geth can hold and what happens when this maximum is met?
Richard Horrocks
- 37,835
- 13
- 87
- 144
-
very well versed answer on filters, thank you for that. Would you happen to notice what I am doing wrong with my filter code on this question?: https://ethereum.stackexchange.com/questions/22954/mistake-when-using-web3-eth-filter-and-filter-get – Webeng Jul 24 '17 at 22:38
-
Apologies for the late reply on this - did you solve the filter issue in the end? – Richard Horrocks Jul 30 '17 at 15:25
-
Hey sorry for the late reply to your reply :P, no I didn't solve the issue, wrote different questions trying to debug it with different angles, but no solution yet. Would you happen to know what it might be? – Webeng Aug 02 '17 at 15:57