emeraldpay / emeraldpay/dshackle

Route methods via diffrent protocols

Open
#139 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
350
Forks
57
PR merge metrics
No merged PRs in 30d

Description

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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.