Unable to fetch block height
Block height is loading indefinitely in create election. Elections cannot be loaded.
This could be because the electrscash has been deprecated for rostrum in bitcoincash.network RPC node.
^^ This is not a RPC api
votepeerjs:
npm test
is failing on master branch when:
- running locally:
There is also a possible memory leak in votepeerjs CI: (node:27) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 version listeners added to [ElectrumConnection]. Use emitter.setMaxListeners() to increase limit
If I change: const SERVERS_WE_TRUST = ['bitcoincash.network', 'electrs.bitcoinunlimited.info'];
To const SERVERS_WE_TRUST = ['electrs.bitcoinunlimited.info', 'bitcoincash.network'];
Then the tests pass.
Side note
bitcoincash.network returns Empty query result
in the link hyperlink on the website for "Network Statistics: Block height"
Replacing the query at stats.bitcoincash.network with rostrum_index_height
yields a result