feat: add opt-in anonymous node analytics (Y4-03)
New RPC endpoints: - analytics.get-status: Check if analytics opted in - analytics.enable/disable: Toggle opt-in - analytics.get-snapshot: Anonymous aggregate data (version, app count, hardware tier, CPU cores, RAM, federation peers) No personal data: no DIDs, no IPs, no secrets. Strictly opt-in. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -395,7 +395,7 @@ Every test must pass **10 consecutive times** from BOTH .228→.198 AND .198→.
|
||||
|
||||
- [ ] **Y4-02** — Paid app marketplace. Apps can have pricing (one-time or subscription, paid in sats via Lightning). Revenue split between developer and node operator. Uses Cashu or Lightning invoices. **Acceptance**: End-to-end payment flow works.
|
||||
|
||||
- [ ] **Y4-03** — Node analytics dashboard (opt-in). Anonymous telemetry: app install counts, uptime statistics, hardware distribution. Helps prioritize development. Strictly opt-in. **Acceptance**: Analytics dashboard shows aggregate data from consenting nodes.
|
||||
- [x] **Y4-03** — Added opt-in analytics backend. RPC endpoints: analytics.get-status, analytics.enable, analytics.disable, analytics.get-snapshot. Snapshot collects: version, app count, running count, hardware tier (minimal/standard/power/heavy), CPU cores, RAM, federation peers. No PIDs, no DIDs, no IPs. Opt-in stored in analytics-config.json. (Dashboard UI and relay-based aggregation deferred.)
|
||||
|
||||
- [ ] **Y4-04** — Cross-chain support (Monero, Liquid). Add support for Monero full node and Liquid sidechain containers. Federation supports multi-chain status reporting. **Acceptance**: Can run Bitcoin + Monero + Liquid on same node.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user