zeekay and Hanzo Dev
980fcf65b4
go 1.26.8
...
One toolchain across the estate. The tree carried 1.26.0, .1, .3, .4 and .5
at once, so which compiler built a binary depended on which repo it came
from.
Co-authored-by: Hanzo Dev <[email protected] >
2026-09-08 23:59:21 -07:00
zeekay
7ca0f79686
Pin past the versions the proxy can no longer serve
...
The bulk retag moved published tags. go.sum and sum.golang.org hold the
original bytes, proxy.golang.org answers not-found, and the direct fetch
disagrees, so builds stopped at a checksum before reaching a compiler.
Pin forward to versions the proxy still serves.
2026-09-01 13:10:20 -07:00
zooqueen
d01dcfa1c1
feat(quasar): ConsensusCert envelope — policy-gated threshold certification
...
Canonical finality cert: one policy-gated envelope (VerifyConsensusCert) with
per-leg evidence modes — ThresholdSig (lattice O(1)), WeightedSigSet (independent
FIPS sigs + weighted-Merkle quorum; the only mode for SLH-DSA, never
seed-reconstructed), StarkCompressedSigSet (P3Q, same predicate, audit-gated),
ClassicalAggregate (BLS, never satisfies a PQ leg). Required legs are
policy-derived (CertPolicy.RequiredLegs), never cert bytes (Red H3 anti-downgrade);
full-tuple domain binding. WeightedQuorumCert foundation: policy-as-parameter,
message recomputed internally, strictly-increasing IDs, checked weight.
27 named envelope tests + F1-F5 + 6 CTO attacks PASS; verifier total (fuzz, zero
panics); a fuzz-found threshold-sig flags-byte malleability fixed. Fixed go.sum
[email protected] to canonical transparency-log hashes. Scrubbed ~54MB tracked binaries.
2026-06-21 20:39:11 -07:00
zeekay
efa2676bb6
go: 1.26.3 → 1.26.4 (security: crypto/x509, mime, net/textproto)
2026-06-06 22:04:55 -07:00
zeekay
b6a0f15f4f
go.mod: bump go directive to 1.26.3 (security advisory)
2026-05-12 20:54:59 -07:00
zeekay
faf3f78756
gofmt: cleanup after Corona purge identifier renames
2026-05-12 14:53:30 -07:00
zeekay
f651395f50
Wire consensus PQ end-to-end: real BLS+Corona+ML-DSA
...
- protocol/quasar/types.go: QuasarCert MarshalBinary/UnmarshalBinary
(length-prefixed wire layout, leading byte CertSchemeQuasar=0x04),
VerifyWithRealKeys cryptographic verification, EncodeMLDSASigs helper
- protocol/quasar/corona_gob.go: gob serializer for pulsar/threshold
Signature
- protocol/quasar/engine.go: Certifier.AttachSigner; generateCert drives
signer.TripleSignRound1 (real BLS share + MLDSAProof). Falls back to
legacy SHA-256 only when no signer attached
- engine/pq/engine.go: AttachSigner/AttachVerifyKeys; VerifyQuantumSignature
decodes QuasarCert + runs VerifyWithRealKeys; GenerateQuantumProof
emits serialized QuasarCert
- engine/pq/crypto.go: ML-DSA-65 keypair; real GeneratePQSignature
- engine/pq/consensus.go: PQMode field; resolves via config.PQModeFromEnv
- config/pq_mode.go: PQMode enum (BLSOnly | BLSPlusMLDSA | BLSPlusCorona
| BLSPlusGroth16 | TripleQuantum), LUX_CONSENSUS_PQ_MODE env support
- pkg/wire/policies.go: QuantumPolicy serializes real QuasarCert into
cert.Proof; Verify decodes via UnmarshalBinary; VerifyWithKeys does
cryptographic verification
- engine/gpu_batch_pipeline.go: gpuAvailable() wired to accel.Available();
verifyBLSBatchGPU calls accel.BLSBatchVerify
- bench/pq_modes_bench_test.go: 5 PQ mode benches with real BLS aggregate,
real ML-DSA-65, real Corona 2-round threshold. Storage projection
comparison.
1237 tests pass.
Bench results (Apple M1, n=21):
Mode Sign Agg Verify Cert Storage 10K
bls 312µs 8.6ms 714µs 123 B 1.17 MB
bls-mldsa 369µs 8.5ms 3.4ms 69 KB 665 MB
bls-rt 39ms 3.3s 1.6ms 33 KB 318 MB
triple 40ms 3.3s 4.3ms 102 KB 981 MB
2026-05-05 10:14:09 -07:00
zeekay
299fa7336f
clean: remove deprecated aliases, AI slop, backwards compat code
...
- Delete DeprecatedConfig/NewFromDeprecated in syncer (49 lines)
- Delete ChainVMWithNetwork/ChainVMWithHealth type aliases
- Delete QBlock, newSignerWithThreshold, VMState aliases
- Delete GetNetID (returned empty string)
- Remove all "In production" / "For now" / "placeholder" comments
- Fix examples: NewSimpleModel API, big.NewInt overflow
- Published deps for all examples (consensus v1.22.84, dex v1.4.1)
2026-02-15 14:08:02 -08:00
zeekay
ad92e773f8
chore: bump Go 1.26.0 → 1.26.1
...
Fixes 5 stdlib CVEs (html/template, os, net/url, crypto/x509 x2).
2026-03-12 01:08:04 -07:00
zeekay
9830a1b1ec
chore: update Go module dependencies
2026-03-03 15:28:57 -08:00
zeekay
257cacb84a
chore: sync dependencies and format code
2026-02-04 15:44:47 -08:00
zeekay
4e046cf50d
refactor: update dependencies and engine improvements
2026-01-05 01:28:53 -08:00
zeekay
641bc4f4a9
feat(quasar): add GPU orchestrator for consensus acceleration
...
Add GPU orchestrator to quasar protocol for hardware-accelerated consensus:
GPU Orchestrator (protocol/quasar/gpu*.go):
- gpu.go: Pure Go stub implementation (default, !cgo build tag)
- gpu_cgo.go: CGO implementation integrating crypto/gpu and corona/gpu
- gpu_test.go: Comprehensive test suite for GPU operations
Features:
- BLS batch verification and signature aggregation
- ML-DSA post-quantum signature operations
- Threshold signature context (keygen, partial sign, combine)
- Batch hashing (SHA3-256, SHA3-512, BLAKE3)
- Corona GPU operations (NTT, polynomial ops, sampling)
- Block verification combining BLS and threshold signatures
The GPU orchestrator follows the composable architecture:
- gpu.go (pure Go default) / gpu_cgo.go (CGO opt-in)
- Integrates with corona/gpu for post-quantum threshold signatures
- Works seamlessly with and without CGO enabled
Also includes dependency updates and minor fixes.
2025-12-30 14:38:53 -08:00
zeekay
e8e0251f16
Add DAG bootstrap and state types for consensus package
...
- Add state.SerializerConfig and state.NewSerializer for vertex serialization
- Add state.Manager interface extending State with DAG operations
- Add bootstrap.Config with all required interfaces (Blocker, Halter, LinearizableVM)
- Add bootstrap.Bootstrapper implementing BootstrapableEngine
- Add bootstrap/queue.Queue for job processing
- Add getter.Handler and getter.Getter interfaces
This enables the DAG consensus engine to be properly wired up in the node.
2025-12-25 20:19:13 -08:00
zeekay
b433ac3c53
fix: resolve all build and test issues
...
- Fixed cmd tools to use new consensus API (NewChain instead of NewChainEngine)
- Removed deprecated Rust tests that use old API
- Fixed golangci-lint configuration
- Applied gofmt formatting to all Go files
- All Go tests passing
- All Python tests passing
- Basic Rust tests passing
2025-11-13 00:42:20 -08:00
zeekay
1fae7f63c4
fix: remove incomplete code and add working examples
...
- Remove ai/integration.go.wip (incomplete, undefined types)
- Remove examples/ai-marketplace (incomplete, build failures)
- Remove examples/03-qzmq-networking (undefined types)
- Add working examples: simple-bridge, ai-payment, python-client
- Fix test/integration: remove unused import
All tests passing ✅
2025-11-06 10:40:59 -08:00