| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Hmm... So, this works. BUT, importing BaseEVMStateProvider in these files means that EVM indexes will be created in every instance of bitcore-node, regardless of the chains configured. Consequently, if someone's running an instance of bitcore-node only for UTXO chains, the indexes here will still be created since BaseEVMStateProvider imports packages/bitcore-node/src/providers/chain-state/evm/models/transaction.ts.
I suppose BaseEVMStateProvider needs a registry of services that needs to be tracked when teardownRpcs is called.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
🛑 Description
Previously when using ethereum on bitcore-node, the server would never stop. This was caused by the ethereum rpcs not stopping. This solves this by tearing down rpcs after the worker stops all the services
🪵 Changelog
🧪 Testing Notes
Tested with a bitcore.config.json that only uses ethereum.
Run, and stop on master and eth-stop:
Checklist