Skip to content

feat(pqc): Phases 1-3 — hybrid/PQC keystore, Type 4, metrics#2

Open
Moskyera wants to merge 6 commits into
hip-23-draftfrom
feature/pqc-phases-1-3
Open

feat(pqc): Phases 1-3 — hybrid/PQC keystore, Type 4, metrics#2
Moskyera wants to merge 6 commits into
hip-23-draftfrom
feature/pqc-phases-1-3

Conversation

@Moskyera

@Moskyera Moskyera commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Summary

Post-quantum cryptography support for Hacash fullnode (Phases 1–3). Required by hacash-wallet#1 quantum v0.4.

Base: \hip-23-draft\ (single commit on top)

Phase deliverables

SDK (\sdk/)

  • \hybrid.rs\ PQC (v6) and Hybrid (v7) account creation
  • \keystore.rs\ keystore v3 encrypt/decrypt/export
  • \create_coin_transfer_v4, \CoinTransferV4Param\ Type 4 signed transfers

Core (\sys/, \protocol/, \ ield/, \�asis/)

  • \HybridAccount\ ML-DSA (MlDsa65) + optional secp256k1
  • Transaction Type 4 builder + hybrid signature verification
  • Address versions v6 (PQC) / v7 (Hybrid)

Node / Mint APIs

  • /create/coin/transfer/v4\ endpoint
  • Metrics: hybrid/pqc tx counts

Tests

\\�ash
cargo test -p sdk keystore
cargo test pqc_hybrid_integration
cargo test pqc_mempool_metrics_integration
\\

Consumers

Account kinds

Kind Version Signing
\pqckey\ v6 ML-DSA only
\hybrid\ v7 ML-DSA + secp (Type 4)

Note

Upstream \hacash/fullnodedev\ does not include these APIs wallet quantum features depend on this fork until upstream merge.

Moskyera added 6 commits June 26, 2026 05:35
- SDK: hybrid.rs, keystore v3, create_coin_transfer_v4, CoinTransferV4Param

- sys: HybridAccount (PQC v6 / hybrid v7), ML-DSA signing

- protocol: Transaction Type 4, hybrid_util, mempool metrics

- mint/node: v4 transfer API, metrics endpoint

- Integration tests: pqc_hybrid, pqc_mempool_metrics
- Add scripts/mining-amd for build, device listing, HAC/HACD launch
- Add list_opencl binary and docs/MINING-AMD.md
- Enable amd_bfe fast path on AMD GPUs at kernel compile time
- Cache AMD-optimized OpenCL binaries with _amd suffix
- Run Ryzen CPU assist threads alongside OpenCL when cpu_assist=true
- Add gpu_profile presets (amd_balanced/performance/max)
- Reuse GPU input buffer; faster OpenCL compile flags
- Adaptive nonce batch sizing for GPU miners
- TUNE-AMD-EFFICIENCY.bat and updated config examples
- miner-panel GUI with dashboard, i18n, AMD/NVIDIA presets

- OpenCL miner fixes, efficiency module, GPU autotune

- SETUP.bat (full) + SETUP-MINER.bat (workers only)

- GitHub Actions: build full + miner-only Windows ZIPs on tag v*
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.

1 participant