Skip to content

feat: add batch progress, RPC health, congestion fees, and bounded me… - #1198

Merged
Jaydbrown merged 3 commits into
conduit-protocol:mainfrom
Darkvader-ship-it:feat/progress-health-congestion-cache
Nov 22, 2026
Merged

Jaydbrown merged 3 commits into
conduit-protocol:mainfrom
Darkvader-ship-it:feat/progress-health-congestion-cache

Conversation

@Darkvader-ship-it

Copy link
Copy Markdown
Contributor

Type of change

  • Bug fix
  • New feature / method
  • Refactor
  • Test coverage
  • Documentation
  • Dependency update

Related issue

Closes #

Changes

File Change

Checklist

  • npm run typecheck — no errors
  • npm run lint — no warnings
  • npm test — all tests pass
  • npm run build — bundle compiles cleanly
  • No any types introduced
  • New public methods documented in docs/api.md
  • All on-chain amounts kept as bigint — no Number() conversion in arithmetic
  • New methods mock-tested in src/tests/
  • CHANGELOG.md updated under [Unreleased]
  • src/index.ts updated if new exports added

Breaking changes?

  • No
  • Yes — describe below and add BREAKING CHANGE: footer to relevant commit

Notes for reviewers

…mo cache

- batch-tx: chunked processing with onProgress (chunk index + completed items),
  per-item error isolation, abort support, and a reusable BatchTx runner
- connection-health: rolling latency window with p50/p95 percentiles, TTL
  pruning, and isHealthy() threshold checks
- fee-estimator: opt-in congestion multiplier from recent ledger utilization,
  with configurable capacity, threshold and max multiplier
- lru-memo-cache: capacity-bounded LRU cache with TTL expiry plus sync/async
  memoization helpers
- export all new modules from the SDK entrypoint and add test coverage
@drips-wave

drips-wave Bot commented Nov 21, 2026

Copy link
Copy Markdown

@Darkvader-ship-it Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Darkvader-ship-it and others added 2 commits November 21, 2026 18:35
Resolve conflicts by preserving upstream implementations and layering our
additive helpers on top:
- batch-tx: keep upstream's real XDR builder; append chunk-level progress
  reporting (chunk index / completed items) via onProgress
- connection-health: keep upstream endpoint/relayer health; append rolling
  latency p50/p95 monitor
- fee-estimator: keep upstream fee-stat logic; add opt-in utilization-based
  congestion multiplier
- lru-memo-cache: keep upstream cache + serialization; add capacity alias,
  injectable clock, stats and memoize/memoizeAsync helpers
- index: export both API sets

Also fix two upstream type inconsistencies (cliff event sender access and
missing sequence field) that blocked typecheck/build.
@Jaydbrown
Jaydbrown merged commit 388c4d8 into conduit-protocol:main Nov 22, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants