Skip to content
forked from xmrig/xmrig

A fork of XMRig miner tailored for HashVault mining pools.

License

Notifications You must be signed in to change notification settings

HashVault/vltrig

 
 

Repository files navigation

vltrig

GitHub release GitHub downloads GitHub license

A fork of XMRig miner tailored for HashVault mining pools.

Anti-censorship first. Helping miners bypass network restrictions and DNS blocking that prevent access to mining pools. Mining should be accessible to everyone, everywhere.

Focus Areas

  • Anti-censorship features (DoH, secure DNS resolution)
  • UI/UX improvements
  • HashVault pool optimizations
  • Tracking upstream XMRig for updates and security fixes

Not Changing

  • Hashing algorithms
  • Mining performance
  • Donation mechanics (original XMRig donation is preserved)

Table of Contents


Download

Prebuilt binaries are available on the Releases page.

Platform Architecture Notes
Linux x64 Static binary (musl libc)
Windows x64 MinGW build
macOS x64 Intel Macs
macOS ARM64 Apple Silicon

Note: Prebuilt binaries are CPU-only. For GPU mining, build from source with -DWITH_OPENCL=ON and/or -DWITH_CUDA=ON.


Features

DNS-over-HTTPS (DoH)

Secure DNS resolution via DNS-over-HTTPS using HTTP/2. When enabled (default), the miner queries the pool's authoritative nameservers directly via DoH, bypassing potentially censored or compromised local DNS resolvers.

How it works
  1. Queries a public DoH server for the pool's NS records
  2. Resolves NS hostnames via the same DoH server
  3. Queries the authoritative NS directly via DoH for pool IP addresses
Command line options
Option Description
--dns-pool-ns Enable authoritative NS resolution (default: enabled)
--no-dns-pool-ns Disable, use system DNS
--dns-doh-primary=HOST Primary DoH server (default: dns.google)
--dns-doh-fallback=HOST Fallback DoH server (default: dns.nextdns.io)
Config file
{
  "dns": {
    "pool-ns": true,
    "doh-primary": "dns.google",
    "doh-fallback": "dns.nextdns.io"
  }
}

RandomX Only

Optimized for Monero mining. Only RandomX (rx/0) algorithm is advertised to pools.

Disabled algorithms
Algorithm Status
CryptoNight (cn/0, cn/1, cn/2, cn/r, etc.) Filtered out
CryptoNight-Lite, Heavy, Pico, Femto Disabled
Argon2 Disabled
KawPow Disabled
GhostRider Disabled

Default Pool

HashVault pool is preconfigured as default with TLS and certificate pinning.

Setting Value
URL pool.hashvault.pro:443
TLS Enabled
Fingerprint 420c7850e09b7c0bdcf748a7da9eb3647daf8515718f36d9ccfdd6b9ff834b14

Building

Dependencies

Ubuntu/Debian
apt install build-essential cmake libuv1-dev libssl-dev libhwloc-dev libnghttp2-dev
RHEL/CentOS
yum install gcc gcc-c++ cmake libuv-devel openssl-devel hwloc-devel libnghttp2-devel
macOS
brew install cmake libuv openssl hwloc nghttp2

Build Commands

make release    # Release build
make debug      # Debug build
make clean      # Clean build directory
make rebuild    # Clean + release

Binary output: build/vltrig


Versioning

Version format: X.Y.Z.P

Part Description
X.Y.Z Upstream XMRig version
.P vltrig patch number (continuous)
XMRig 6.25.0 → vltrig 6.25.0.1 → 6.25.0.2 → 6.25.0.3
XMRig 6.26.0 → vltrig 6.26.0.4 → 6.26.0.5

Upstream XMRig

About XMRig

Github All Releases GitHub release GitHub license

XMRig is a high performance, open source, cross platform RandomX, KawPow, CryptoNight and GhostRider unified CPU/GPU miner.

Mining backends:

  • CPU (x86/x64/ARMv7/ARMv8/RISC-V)
  • OpenCL for AMD GPUs
  • CUDA for NVIDIA GPUs via CUDA plugin

Links:

Donations:

  • Default donation 1% (1 minute in 100 minutes) can be increased via donate-level option
  • XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD

Developers: xmrig, sech1


Contributing

While vltrig is tailored for HashVault pools, improvements that benefit all miners are submitted as pull requests to the upstream XMRig project.

About

A fork of XMRig miner tailored for HashVault mining pools.

Resources

License

Stars

Watchers

Forks

Languages

  • C 53.0%
  • C++ 41.1%
  • Assembly 5.0%
  • CMake 0.7%
  • JavaScript 0.1%
  • Shell 0.1%