feat: Miner Alert System (Bounty #28)#1437
Merged
Scottcjn merged 1 commit intoScottcjn:mainfrom Mar 16, 2026
Merged
Conversation
Python monitoring service that polls RustChain API and sends alerts for: - Miner offline (no attestation within threshold) - Attestation failures (stale timestamps) - Rewards received (balance increase) - Large transfers (balance drop) Includes SMTP email and Twilio SMS notification backends, SQLite persistence for state tracking and alert deduplication, YAML config with env var overrides for secrets, CLI with --once and --history modes. 25 tests passing. Closes Scottcjn#28
Contributor
Author
|
Wallet for payout: wirework |
Jesse-Voo
pushed a commit
to Jesse-Voo/Rustchain
that referenced
this pull request
Mar 16, 2026
…cjn#28) Generated by AI bounty hunter Payment: 0x4F666e7b4F63637223625FD4e9Ace6055fD6a847
Jesse-Voo
pushed a commit
to Jesse-Voo/Rustchain
that referenced
this pull request
Mar 16, 2026
…lert System (Bounty Scottcjn#28) Generated by AI bounty hunter Payment: 0x4F666e7b4F63637223625FD4e9Ace6055fD6a847
Jesse-Voo
pushed a commit
to Jesse-Voo/Rustchain
that referenced
this pull request
Mar 16, 2026
…ttcjn#1437: feat: Miner Alert System (Bounty Scottcjn#28) Generated by AI bounty hunter Payment: 0x4F666e7b4F63637223625FD4e9Ace6055fD6a847
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Python monitoring service for RustChain miners. Polls the API and fires alerts via email (SMTP) or SMS (Twilio).
Features
python -m rustchain_alertswith--once(cron-friendly) and--historymodesFiles
All files in
monitoring/alerts/:rustchain_alerts/— Python package (api, config, db, monitor, notifiers)tests/— 25 pytest testsconfig.yaml— Template configurationREADME.md— Setup and usage documentationrequirements.txt— DependenciesTest plan
pytest tests/ -v)Closes #28