You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
F2-bug 🐞The client fails to follow expected behavior.P2-asap 🌊No need to stop dead in your tracks, however issue should be addressed as soon as possible.
Parity becomes unresponsive. Subsequent new connections to parity are also unresponsive.
appuser@parity01:~$ node
> var Web3 = require('web3')
undefined
> var web3 = new Web3()
undefined
> web3.setProvider(new web3.providers.HttpProvider('http://localhost:8545'))
undefined
>
> web3.eth.blockNumber
The text was updated successfully, but these errors were encountered:
gavofyork
added
F2-bug 🐞
The client fails to follow expected behavior.
P2-asap 🌊
No need to stop dead in your tracks, however issue should be addressed as soon as possible.
labels
Apr 12, 2016
since a new filter will first call back with all matching events to date, you're asking parity to collate every log that has ever happened in frontier and homestead over ~1,300,000 blocks. that takes a while. while we can make sure other requests work ok, that request will necessarily take some time to collate since there are an awful lot of logs in the frontier/homestead chain.
if you restrict the filter to recent blocks and/or particular contracts/events then it'll complete a lot faster. e.g. restrict the events to those in the homestead chain:
var Web3 = require('web3')
var web3 = new Web3()
web3.setProvider(new web3.providers.HttpProvider('http://localhost:8545'))
var filter = web3.eth.filter({fromBlock: 1150000});
filter.watch(function(error, result){
if (!error)
console.log(result);
});
web3.eth.blockNumber
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
F2-bug 🐞The client fails to follow expected behavior.P2-asap 🌊No need to stop dead in your tracks, however issue should be addressed as soon as possible.
Steps to reproduce
1. Start up parity
2. In JavaScript (nodejs REPL)
Parity becomes unresponsive. Subsequent new connections to parity are also unresponsive.
The text was updated successfully, but these errors were encountered: