iov-core
iov-core copied to clipboard
Replace polling with subscriptions where possible (in @iov/ethereum)
Once we fully understand the subscription system and the logs/topics, we should use that to:
- listen for block headers (basically done)
- listen for transactions that change certain state
- use those transaction subscriptions to trigger a query to implement
watch
like functionality without polling.
If there are important items that are impossible to subscribe to, make another issue delimiting them and consider if there is a scrapper we could use to provide that info, eg. vulcanize