go-eth-proxy

Transparent proxy server for eth-cache
Info | Log | Files | Refs

commit f46d73fa6dccc422ab62e5e4029cbc9889ebce90
parent 22d7a2594811c22eed04a6846f7f47180cc3d189
Author: lash <dev@holbrook.no>
Date:   Thu,  4 Jul 2024 16:57:37 +0100

Add block get to literal service

Diffstat:
Mrpc/rpc.go | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/rpc/rpc.go b/rpc/rpc.go @@ -126,6 +126,8 @@ func (s *ProxyServer) ServeHTTP(w http.ResponseWriter, r *http.Request) { for _, k := range([]string{ "eth_getTransactionByHash", + "eth_getBlockByNumber", + "eth_getBlockByHash", }) { rw := newProxyWriter() if msg.Method == k {