Skip to content

feat: add RelayerBalanceMonitorService to monitor relayer XLM balance#319

Open
DevALVIN-24 wants to merge 1 commit into
StellarFlow-Network:mainfrom
DevALVIN-24:feature/relayer-balance-monitor
Open

feat: add RelayerBalanceMonitorService to monitor relayer XLM balance#319
DevALVIN-24 wants to merge 1 commit into
StellarFlow-Network:mainfrom
DevALVIN-24:feature/relayer-balance-monitor

Conversation

@DevALVIN-24

Copy link
Copy Markdown

This pr closes #284

  • Implement background service checking relayer native XLM balance every 100 ledgers
  • Trigger a high-priority system warning log if balance falls below 50 XLM
  • Implement 5-minute fallback polling comparing latest ledger sequence in case stream stalls
  • Integrate service with server startup and graceful shutdown
  • Add comprehensive Jest unit test suite in test/relayerBalanceMonitor.jest.test.ts

- Implement background service checking relayer native XLM balance every 100 ledgers
- Trigger a high-priority system warning log if balance falls below 50 XLM
- Implement 5-minute fallback polling comparing latest ledger sequence in case stream stalls
- Integrate service with server startup and graceful shutdown
- Add comprehensive Jest unit test suite in test/relayerBalanceMonitor.jest.test.ts
@drips-wave

drips-wave Bot commented May 30, 2026

Copy link
Copy Markdown

@DevALVIN-24 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🔋 Testnet | Relayer Wallet Low-Balance Alerts

1 participant