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
@@ -112,7 +112,7 @@ See `docs/ARCHITECTURE.md` for the full architecture diagram and detailed compon
112
112
| File | Purpose |
113
113
|---|---|
114
114
|`worker_pools.toml`| Worker pool definitions: algorithm, num_workers, hop limits, timeout. Optional — binary falls back to embedded defaults if not found |
115
-
|`blacklist.toml`| Pool IDs to exclude from routing. Optional — binary falls back to embedded defaults if not found |
115
+
|`blocklist.toml`| Pool IDs to exclude from routing. Optional — binary falls back to embedded defaults if not found |
Background task that connects to Tycho's WebSocket API, processes component/state updates, updates SharedMarketData, and broadcasts `MarketEvent`s. Applies TVL filtering with hysteresis (components are added at `min_tvl` and removed at `min_tvl / tvl_buffer_ratio`), token recency filtering (`traded_n_days_ago`), blacklisting, and token quality filtering.
243
+
Background task that connects to Tycho's WebSocket API, processes component/state updates, updates SharedMarketData, and broadcasts `MarketEvent`s. Applies TVL filtering with hysteresis (components are added at `min_tvl` and removed at `min_tvl / tvl_buffer_ratio`), token recency filtering (`traded_n_days_ago`), blocklisting, and token quality filtering.
|`--blocklist-config`|`BLOCKLIST_CONFIG`|`blocklist.toml`|Path to blocklist TOML config file. Components listed here are excluded from the Tycho stream.|
91
91
|`--disable-tls`| — |`false`| Disable TLS for Tycho connection |
|`--gas-refresh-interval-secs`| — |`30`| Gas price refresh interval |
@@ -128,12 +128,18 @@ To use a custom config file:
128
128
cargo run --release -- serve -w my_worker_pools.toml
129
129
```
130
130
131
-
## Blacklist (`blacklist.toml`)
131
+
## Blocklist config
132
132
133
-
Exclude specific components from routing, useful for components with known simulation issues (e.g., [rebasing tokens on UniswapV3 pools](https://docs.uniswap.org/concepts/protocol/integration-issues)):
133
+
By default, Fynd loads `blocklist.toml` from the working directory. The default excludes components with known simulation issues (e.g., [rebasing tokens on UniswapV3 pools](https://docs.uniswap.org/concepts/protocol/integration-issues)). Override with `--blocklist-config`:
134
+
135
+
```bash
136
+
cargo run --release -- serve --blocklist-config my_blocklist.toml
137
+
```
138
+
139
+
The config file uses a `[blocklist]` section listing component IDs to exclude:
0 commit comments