dshackle icon indicating copy to clipboard operation
dshackle copied to clipboard

Route methods via diffrent protocols

Open splix opened this issue 4 years ago • 1 comments

Some methods like eth_getLogs produce very large response, tens of megabytes. Tracing and debugging methods even larger, could be 1Gb+.

But when WebSocket is used with Geth it tries to send the response in one large frame. That's ineffective.

Instead of using WebSocket protocol for such requests, Dshackle should make standard HTTP request if it's available. Make it configurable, with default config for eth_getLogs, trace_replayBlockTransactions, trace_replayTransaction, and debug_traceTransaction

splix avatar Dec 31 '21 04:12 splix

see #138

splix avatar Dec 31 '21 04:12 splix