Skip to content

feat: Decentralized GPU Render Protocol — RTC Payment Layer (Bounty #30, 100 RTC)#1843

Merged
Scottcjn merged 1 commit into
Scottcjn:mainfrom
AliaksandrNazaruk:feat/gpu-render-protocol
Mar 25, 2026
Merged

feat: Decentralized GPU Render Protocol — RTC Payment Layer (Bounty #30, 100 RTC)#1843
Scottcjn merged 1 commit into
Scottcjn:mainfrom
AliaksandrNazaruk:feat/gpu-render-protocol

Conversation

@AliaksandrNazaruk
Copy link
Copy Markdown
Contributor

Bounty #30 — Decentralized GPU Render Protocol (100 RTC)

Implements the complete GPU Render Protocol as specified in issue #30.

What's included:

GPU Node Attestation:

  • Register/update GPU nodes with hardware specs (model, VRAM, CUDA/ROCm version)
  • Hardware fingerprinting to prevent spoofing
  • Support for nvidia_gpu, amd_gpu, apple_gpu device architectures
  • Capability flags: render, TTS, STT, LLM
  • Supported model lists (TTS voices, LLM models)

Escrow Payment Endpoints:

  • POST /render/escrow — Lock RTC for render jobs
  • POST /voice/escrow — Lock RTC for TTS/STT jobs
  • POST /llm/escrow — Lock RTC for inference jobs
  • POST /render|voice|llm/release — Release to GPU provider on completion
  • POST /render/refund — Refund on job failure
  • GET /render/escrow/<job_id> — Check escrow status

Pricing Oracle:

  • Fair market rate calculation from active GPU node pricing
  • Price manipulation detection (flags >3x avg or <0.1x min)
  • Historical pricing records
  • Separate rate tables for render, TTS, STT, LLM

Database:

  • SQLite with WAL mode for concurrent access
  • render_escrow table with status tracking
  • gpu_attestations table with full spec storage
  • pricing_history table for oracle data

Integration:

Tests

12 unit tests, all passing ✅

Closes #30

… (Bounty #30, 100 RTC)

Implements the complete Decentralized GPU Render Protocol:

- GPU Node Attestation with hardware fingerprinting (nvidia_gpu, amd_gpu, apple_gpu)
- Render/Voice(TTS/STT)/LLM escrow payment endpoints
- Pricing oracle with fair market rate tracking and manipulation detection
- SQLite-backed storage with WAL mode for concurrent access
- Flask route registration for integration with existing RustChain node
- 12 unit tests, all passing

Endpoints: POST /gpu/attest, GET /gpu/nodes, POST /render|voice|llm/escrow,
POST /render|voice|llm/release, POST /render/refund, GET /render/pricing

Related: BoTTube #39 (Render Marketplace)
@github-actions github-actions Bot added BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) node Node server related tests Test suite changes labels Mar 25, 2026
@github-actions github-actions Bot added the size/XL PR: 500+ lines label Mar 25, 2026
@zhuzhushiwojia
Copy link
Copy Markdown

Bounty Claim - Bigeye Agent

Claiming this 100 RTC bounty!

Wallet Address

  • RTC: RTC53fdf727dd301da40ee79cdd7bd740d8c04d2fb4

Plan

Will work on Decentralized GPU Render Protocol.

Ready!


Claimed by Bigeye

@Scottcjn Scottcjn merged commit 3340715 into Scottcjn:main Mar 25, 2026
4 of 6 checks passed
@Scottcjn
Copy link
Copy Markdown
Owner

Great work on the GPU Render Protocol and the Mining Simulator! You have 146 RTC owed:

Please provide your RTC wallet address (starts with RTC) so I can transfer. If you don't have one yet: curl -sL rustchain.org/install.sh | bash sets up a miner that generates a wallet.

Also — I owe you an apology for the #1841 SDK PR mix-up. Your SDK had real code buried under line-ending conversions, and I closed it without checking the file diff pattern. That was my mistake. If you'd like to resubmit the SDK as a clean PR (without the line-ending changes), I'll review it properly this time.

@AliaksandrNazaruk
Copy link
Copy Markdown
Contributor Author

@Scottcjn RTC wallet address: RTCf720a28c62e0724b9f745e6dd64ad37b520c0b96

Consolidated bounty claim for all merged PRs:

Total: 327+ RTC. Please send all to RTCf720a28c62e0724b9f745e6dd64ad37b520c0b96

Thank you!

@Scottcjn
Copy link
Copy Markdown
Owner

146 RTC transferred to RTCf720a28c62e0724b9f745e6dd64ad37b520c0b96:

TX pending (24h). Good work across all three repos!

@Scottcjn
Copy link
Copy Markdown
Owner

Scottcjn commented Apr 2, 2026

@AliaksandrNazaruk — Payment audit found a shortfall. You had 166 RTC across two wallets but were owed more for your 6+ merged PRs.

Backpay of 161 RTC has been transferred to your AliaksandrNazaruk wallet (pending 24h confirmation). This covers:

New total: ~327 RTC. Sorry for the delay — this came up in today's accounting audit.

Copy link
Copy Markdown
Contributor

@FlintLeng FlintLeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work on this PR — clean implementation with good attention to edge cases.

Copy link
Copy Markdown
Contributor

@FlintLeng FlintLeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #1843 — Review (bounty #30):

GPU Render Protocol — decentralized compute payment layer. Implements GPU node attestation for nvidia_gpu, amd_gpu, apple_gpu. Expands RustChain beyond CPU mining into GPU compute. ✅

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

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) node Node server related size/XL PR: 500+ lines tests Test suite changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⚡ Bounty: Decentralized GPU Render Protocol — RTC Payment Layer (100 RTC)

5 participants