edb_rpc_proxy/
lib.rs

1// EDB - Ethereum Debugger
2// Copyright (C) 2024 Zhuo Zhang and Wuqi Zhang
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU Affero General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU Affero General Public License for more details.
13//
14// You should have received a copy of the GNU Affero General Public License
15// along with this program. If not, see <https://www.gnu.org/licenses/>.
16
17// Copyright (C) 2024 Zhuo Zhang and Wuqi Zhang
18// SPDX-License-Identifier: AGPL-3.0
19//! EDB RPC Proxy Server Library
20//!
21//! A caching RPC proxy server that sits between EDB components and real Ethereum RPC endpoints.
22//! Provides intelligent caching of immutable RPC responses to improve performance and reduce
23//! network overhead for multiple debugging sessions.
24
25pub mod cache;
26pub mod health;
27pub mod metrics;
28pub mod providers;
29pub mod proxy;
30pub mod registry;
31pub mod rpc;
32pub mod tui;
33
34pub use cache::CacheEntry;
35pub use proxy::{ProxyServer, ProxyServerBuilder};