go-eth-proxy

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

commit e4331cc2950a0352008bd60da3c748b6656d5943
parent f46d73fa6dccc422ab62e5e4029cbc9889ebce90
Author: lash <dev@holbrook.no>
Date:   Thu,  4 Jul 2024 16:59:06 +0100

Add block get to literal service

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

diff --git a/rpc/rpc.go b/rpc/rpc.go @@ -131,6 +131,7 @@ func (s *ProxyServer) ServeHTTP(w http.ResponseWriter, r *http.Request) { }) { rw := newProxyWriter() if msg.Method == k { + log.Printf("proxy match method %s %s", k, msg.Method) s.Server.ServeHTTP(rw, r) rsp := jsonRpcResponse{} err = json.Unmarshal(b, &rsp)