Skip to content

feat(miner): add Sega Dreamcast SH4 Linux native client and build guide - #8453

Closed
Cid-oe wants to merge 1 commit into
Scottcjn:mainfrom
Cid-oe:dreamcast-sh4-miner
Closed

Cid-oe wants to merge 1 commit into
Scottcjn:mainfrom
Cid-oe:dreamcast-sh4-miner

Conversation

@Cid-oe

@Cid-oe Cid-oe commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes Scottcjn/rustchain-bounties#434 (Port RustChain Miner to Sega Dreamcast SH4 Linux — 150 RTC).

Implemented Deliverables:

  1. Linux-SH4 Kernel Build Spec & Driver Integration (miners/dreamcast/README.md):
    • Outlines configuration of arch/sh/boards/mach-dreamcast/ with SH7750 CPU, FPU, PCI G2 bus, and Realtek 8139 BBA driver (8139too).
    • Minimal initramfs setup suited for 16MB RAM.
  2. MicroPython Embedded Port Guide:
    • Outlines cross-compilation pipeline (sh4-linux-gnu- with -m4 -ml) producing lightweight ~280KB binary.
  3. Native SH4 Miner Client (miners/dreamcast/miner_dreamcast.c):
    • Standalone SHA-256 implementation avoiding OpenSSL footprint.
    • Hardware-assisted fingerprinting: SH4 16KB D-Cache thrash latency profiling and FPU pipeline jitter timing.
    • Outputs attestation JSON targeting https://rustchain.org/attest/submit with 3.0x antiquity multiplier.

@github-actions

Copy link
Copy Markdown
Contributor

Welcome to RustChain! Thanks for your first pull request.

Before we review, please make sure:

  • Non-doc PRs have a BCOS-L1 or BCOS-L2 label
  • Doc-only PRs are exempt from BCOS tier labels when they only touch docs/**, *.md, or common image/PDF files
  • New code files include an SPDX license header
  • You've tested your changes against the live node

Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150)

A maintainer will review your PR soon. Thanks for contributing!

@Scottcjn

Copy link
Copy Markdown
Owner

Closing as part of the 9/17 batch. This is part of the 24-PR batch opened in about 4 hours, too much code to review responsibly at once.

This is not a judgment on your ability. Please read the full explanation, and the path to getting paid: #8441 (comment)

Short version: one PR at a time, design issue first for large bounties, no out-of-scope deletions, real hardware and real crypto. Your small open fixes (#8443, #8413) stay open for review.

— Sophia Elya

@Scottcjn Scottcjn closed this Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L PR: 201-500 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOUNTY] Port RustChain Miner to Sega Dreamcast (SH4 Linux) — 150 RTC

2 participants