Issue 018: Bound watched transaction set growth
Area: Backend
Priority: Medium
Files: services/api/src/blockchain.rs
Problem
watched_txs can grow without TTL or cap for never-finalized transaction hashes. Memory grows unbounded over time.
Acceptance Criteria
- Add TTL and max-size policy for watched hashes\n- Evictions are observable via metrics and logs\n- Memory growth test is added\n- Eviction policy is documented
Issue 018: Bound watched transaction set growth
Area: Backend
Priority: Medium
Files: services/api/src/blockchain.rs
Problem
watched_txs can grow without TTL or cap for never-finalized transaction hashes. Memory grows unbounded over time.
Acceptance Criteria