From e43c98997b0de6a8da989f68d97f1d4f7fb7bb6f Mon Sep 17 00:00:00 2001 From: kboz Date: Fri, 24 Apr 2026 00:55:26 +0200 Subject: feat(core): implement wallet trade tracking and sqlite market caching - Transitioned primary ESI networking and dataset initialization to `asyncio` and `aiohttp` for non-blocking I/O. - Introduced `aiosqlite` utilizing an in-memory database to significantly speed up arbitrage querying. - Implemented character wallet tracking (added `esi-wallet.read_character_wallet.v1` scope) to automatically deduct filled market volumes internally instead of waiting for full region polling. - Exposed `/settings` endpoint allowing dynamic tweaking of threshold variables (cargo size, limits, tax rate, ship speeds) directly from the React UI. - Decoupled auto-waypoint submission during route planning; users now push routes selectively via a new "Set in Game" frontend action and `/set_waypoints` backend logic. - Optimized order evaluations and triplet generation limits through `LegMetrics` to lower CPU footprint drastically on large dataset passes. - Migrated React frontend completely to Server-Sent Events (SSE), cleanly ditching HTTP polling. --- backend/src/esi/shared_flow.py | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/src/esi/shared_flow.py') diff --git a/backend/src/esi/shared_flow.py b/backend/src/esi/shared_flow.py index 1d89fb1..00e1b79 100644 --- a/backend/src/esi/shared_flow.py +++ b/backend/src/esi/shared_flow.py @@ -32,6 +32,7 @@ def print_auth_url(client_id: str, code_challenge: str = "") -> None: "esi-assets.read_assets.v1", "esi-location.read_location.v1", "esi-location.read_online.v1", + "esi-wallet.read_character_wallet.v1", "esi-ui.open_window.v1", "esi-ui.write_waypoint.v1", ] -- cgit v1.3