proxy

package
v0.0.0-...-809f3dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyServer

type ProxyServer struct {
	// contains filtered or unexported fields
}

func NewProxyServer

func NewProxyServer(clientURL string, log log.Logger, port int, mempool *mempool.StaticWorkloadMempool) *ProxyServer

func (*ProxyServer) ClearPendingTxs

func (p *ProxyServer) ClearPendingTxs()

func (*ProxyServer) ClientURL

func (p *ProxyServer) ClientURL() string

func (*ProxyServer) DebugResponse

func (p *ProxyServer) DebugResponse(method string, params json.RawMessage, respBody []byte)

func (*ProxyServer) OverrideRequest

func (p *ProxyServer) OverrideRequest(method string, rawParams json.RawMessage) (bool, json.RawMessage, error)

func (*ProxyServer) PendingTxs

func (p *ProxyServer) PendingTxs() []*ethTypes.Transaction

func (*ProxyServer) Run

func (p *ProxyServer) Run(ctx context.Context) error

func (*ProxyServer) Stop

func (p *ProxyServer) Stop()

Stop stops both the proxy server and the underlying client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL