-
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Bounty: Multi-Node Sync Protocol
Reward: 200 RTC (~$20 at reference rate)
Background
RustChain runs 3 attestation nodes (50.28.86.131, 50.28.86.153, 76.8.228.245:8099). Each maintains its own SQLite database. We need a proper sync protocol.
Requirements
- Database sync protocol between all 3 nodes:
- Sync
miner_attest_recent(attestations) - Sync
balances(RTC balances) - Sync
epoch_rewards(reward history) - Sync
ledger(transactions)
- Sync
- Conflict resolution: Latest timestamp wins for attestations, primary node authoritative for epochs
- Sync mechanism: HTTP API on existing port 8099
- Verification: Merkle root of synced tables
- Monitoring:
/sync/statusendpoint showing last sync time per peer
Security
- Admin key required in header for all sync requests
- HTTPS only
- Rate limit: Max 1 sync per minute per peer
- Reject sync that would reduce any balance
Deliverables
rustchain_sync.py— Sync module- Updated node code with sync endpoints
- Test script validating 3-node consistency
- PR to this repo
Claiming
Comment with approach and timeline. Major bounty — thorough review expected.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels