Skip to content

new jdc init - #41

Merged
GitGab19 merged 45 commits into
GitGab19:mainfrom
Shourya742:new-jdc
Sep 24, 2025
Merged

new jdc init#41
GitGab19 merged 45 commits into
GitGab19:mainfrom
Shourya742:new-jdc

Conversation

@Shourya742

Copy link
Copy Markdown

No description provided.

@Shourya742
Shourya742 force-pushed the new-jdc branch 4 times, most recently from 3c81973 to f07fac7 Compare August 24, 2025 05:35
@Shourya742
Shourya742 force-pushed the new-jdc branch 21 times, most recently from 9ef0ca0 to 1e08d6b Compare September 3, 2025 04:59
@Shourya742
Shourya742 force-pushed the new-jdc branch 5 times, most recently from ccd0f23 to eee5ac0 Compare September 5, 2025 08:15
GitGab19 and others added 21 commits September 23, 2025 12:37
…ve-vardiff-error-logs

improve pool vardiff error logs
Prevent churn in later commits.
Also adds a benchmark.

- Use sha2 with compress+asm and add a midstate-based double-SHA256 hasher (FastSha256d)
- Integrate optimized hasher into Miner::next_share() to speed up the nonce loop

Assisted-by: GitHub Copilot
Assisted-by: OpenAI GPT-5
- FastSha256d: mutate the first-pass second 64-byte block in place
  - Update only time and nonce (block1[4..8], block1[12..16]) before compress256
  - Reduces per-nonce memory churn in the hashing hot path
- Replace Target conversions with word-wise little-endian u32 comparison
  - Avoids allocations/conversions and allows early-out on first inequality

Assisted-by: GitHub Copilot
Assisted-by: OpenAI GPT-5
Assisted-by: GitHub Copilot
Assisted-by: OpenAI GPT-5
- Print a concise MH/s estimate per batch size in microbatch_bench for familiar throughput units.
- Reduce verbosity:
  -Default batch sizes: 1, 8, 32, 128 (override via MINING_DEVICE_BATCH_SIZES).
  - Criterion timings: sample_size=10, warm_up=100ms, measurement=1s.
- README: note MH/s output, document env override and concise defaults.

Assisted-by: GitHub Copilot
Assisted-by: OpenAI GPT-5
Assisted-by: GitHub Copilot
Assisted-by: OpenAI GPT-5
Assisted-by: GitHub Copilot
Assisted-by: OpenAI GPT-5
Assisted-by: GitHub Copilot
Assisted-by: OpenAI GPT-5
Previously it would measure one core and extrapolate, but not all cores are equal.

Assisted-by: GitHub Copilot
Assisted-by: OpenAI GPT-5
Co-authored-by: plebhash <plebhash@proton.me>
Co-authored-by: Gabriele Vernetti <62447440+GitGab19@users.noreply.github.com>
@GitGab19
GitGab19 merged commit 2ebc142 into GitGab19:main Sep 24, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants