Add Optimized Docker Deployment for Rustchain Miner#2297
Add Optimized Docker Deployment for Rustchain Miner#2297astrocatae-max wants to merge 1 commit intoScottcjn:mainfrom
Conversation
|
Welcome to RustChain! Thanks for your first pull request. Before we review, please make sure:
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! |
|
Thanks for the work on the Dockerfile and docker-compose — multi-stage builds, GLIBC compat, and image-size optimization are legit engineering effort, and it shows. But we can't merge this, and I want to explain why honestly rather than just close without context. RustChain's core thesis is Proof-of-Physical-Hardware (RIP-PoA). The protocol is built to prove that a real CPU — with its own clock drift, cache timing curves, SIMD pipeline bias, thermal signature, and instruction-path jitter — signed each attestation. That's the whole point. Six fingerprint checks run on every miner:
Anything running inside Docker fails check #6 immediately. Containers share the host kernel, but they inherit So a Dockerized RustChain miner runs successfully, attests successfully, and earns about one-billionth of what the equivalent bare-metal miner earns. The Dockerfile would work as software. The economics would not work as mining. We already closed earlier docker bounty attempts (#2874, #2877, #2926, #2943, #2949) for the same reason. Bounty #2865 itself was retired. I should have made this clearer on the board — that's on us. 5 RTC paid for the effort you put into this one (tx Where your skills DO fit on the bounty board:
Python + Docker + ops skills → those threads will reward you for the same effort, aligned with what the protocol needs. Closing this one with thanks. Sorry the bounty board didn't make the "no Docker" policy explicit. — Scott |
This PR introduces a production-ready Docker configuration for the Rustchain miner.
Key Improvements:
Verification:
docker build -t rustchain-miner -f Dockerfile.optimized .RUSTCHAIN_WALLET="test" docker run --rm rustchain-miner --help(Verified OK)