You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Moved `selectors` and `routing_logic` modules to `mining-proxy`, isolating proxy-specific logic.
- Removed `selectors` dependency from `common_properties.rs`, `handlers/mining.rs`, `routing_logic.rs`, and related modules.
- Updated `IsUpstream` and `IsMiningUpstream` to remove `DownstreamSelector` and simplify their implementation.
- Removed unused imports related to `selectors` and `routing_logic` across multiple modules.
- Updated various `impl` blocks to match the new trait definitions without selectors.
- Fixed type inconsistencies in `on_open_standard_channel_success` and `on_open_standard_channel`.
- Ensured `UpstreamMiningNode` implements `HasDownstreamSelector` for proper selector access.
- Fixed `DownstreamMiningNode` compatibility by enforcing `Down = DownstreamMiningNode` where needed.
- Adjusted `config-examples/proxy-config-example.toml` to update upstream port.
This refactor improves modularity, makes mining-proxy self-contained, and eliminates unnecessary dependencies.
0 commit comments