Closed Totenfluch closed 4 months ago
the whole request option could also be enhanced by just passing a single options object that could just be passed through. As this would be a breaking change for existing users this PR is limited to adding this - in my opinion - important option.
We will soon merge https://github.com/ruimarinho/bitcoin-core/pull/106 so maybe we can release this as patch and land a new options method in the upcoming major release.
Closing due to inactivity.
the pool option is required when handling hundreds of requests per seconds. Without the pool option ESOCKETTIMEDOUT will occur and cancel the queued requests.
https://www.npmjs.com/package/request#requestoptions-callback