Bitcoin Forum
August 30, 2026, 11:32:50 AM *
News: Latest Bitcoin Core release: 31.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: cppminer[C++23, RandomX, Scrypt, SHA-256d, Lyra2web]  (Read 21 times)
TannicArcher (OP)
Newbie
*
Offline

Activity: 6
Merit: 0


View Profile
August 29, 2026, 10:20:09 AM
 #1

cppminer — Standalone C++ CPU miner

Hi BitcoinTalk community!

I want to share my open-source project — cppminer. It is a high-performance, standalone C++ CPU miner for scrypt, SHA-256d, Lyra2 Webchain, and RandomX.

It automatically detects your CPU features at runtime, picks the fastest SIMD backend available (SSE2, AVX2, AVX-512, SHA-NI), and runs reference-vector self-tests before mining.

GitHub Repository (Source Code): https://github.com/RuslanSemchenko/cppminer
License: MIT

✨ Key Features:
• Four mining algorithms behind one binary (-a / --algo)
• Runtime CPU feature detection & SIMD dispatch (SSE2, AVX2, AVX-512, SHA-NI)
• RandomX: JIT, hardware AES, Argon2 SSSE3/AVX2, full dataset & large pages support
• Built-in Stratum client for scrypt / sha256d; dedicated JSON-RPC clients for MintMe/RandomX pools
• Offline --benchmark mode with per-backend SIMD comparison
• Built with modern tech stack: C++23, Clang 22+, CMake, libcurl, OpenSSL

💻 Supported Algorithms & Protocols:
scrypt — Stratum (Bitcoin/Litecoin style)
sha256d — Stratum (Bitcoin-style 80-byte block header)
lyra2web — Webchain JSON-RPC (MintMe Webchain)
randomx — RandomX JSON-RPC (Monero-style, light/full dataset)

🚀 Quick Start (Benchmark):
You can test your CPU hashrate offline without connecting to any pool:
`./build/cppminer --benchmark --bench-seconds=3`

🛠 How to build:
Full instructions for Linux, macOS (Clang 22 / Homebrew), and Windows (clang-cl + vcpkg) are available in the GitHub README.

Feel free to test it, report bugs, and share your benchmarks in this thread! Feedback is highly appreciated.

More updates soon
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!