67P / hubot-kredits

Kosmos Kredits chat/service integrations
https://wiki.kosmos.org/Kredits
MIT License
2 stars 1 forks source link

Use web3 IPCProvider instead of HTTP Provider #13

Closed bumi closed 6 years ago

bumi commented 7 years ago

As our hubot runs on the same machine as the parity node we could directly connect to parity using the IPC provider - instead of through HTTP. I assume this might be a bit more performant and reliable? causing less http requests?

https://github.com/ethereum/web3.js/blob/master/lib/web3/ipcprovider.js

raucao commented 7 years ago

It would probably also enable synchronous method calls, which is a bit of a PITA when it's missing.

raucao commented 6 years ago

Not running Parity anymore.