Full Implementation of DUCP Reference Node in Rust#2
Merged
Conversation
Builds the full Profile 0 roadmap (M0-M6) end to end on the v0.2.0 scaffold: - ducp-types: borsh canonical codec, BLAKE3-256 hashing, Ed25519 keys, hex/decimal JSON wire form, and the (U, Q) / Power Seal types. - ducp-dvm: deterministic wasmtime runtime (NaN-canon, no ambient caps, fuel-metered), Profile 0 feature gate, ducp host ABI, calibrated benchmark. - ducp-ledger: pure state machine - settlement, the Q-ledger, Standing, fraud resolution, clawback/finality; enforces I-LEDGER-CONSERVE. - ducp-consensus: SingleSequencer (produce/commit/state_root) + replica replay. - ducp-verification: SampledReexecVerifier, seeded sampling, EnergyAttestor (NullAttestor live + tested SealedAttestor), reserved TEE/ZK seams. - ducp-governance: static devnet Params + on-chain ParamSource seam. - ducp-node: JSON-RPC server, mempool, keystore, blob store, Storage seam; ducp-worker beachhead driver; scripts/devnet.sh. - ducp-conformance: six golden-vector families (codec, metering, settlement, fraud, replication, q-observable), incl. the DP-0001 vector. ~90 tests pass; cargo fmt + clippy -D warnings clean; CI workflow added. Deferred tiers (TEE/ZK, BFT, trustless energy attestation, on-chain governance, multiple IRs, persistent state) sit behind documented traits. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete Profile 0 reference node for DUCP spec v0.2.0, end to end
(submit → execute → verify → settle) across milestones M0–M6.
ducphost ABI, calibrated benchmarkI-LEDGER-CONSERVEducp-workerbeachhead driver;scripts/devnet.shDeferred tiers (TEE/ZK, BFT, trustless energy attestation, on-chain governance, multiple IRs, persistent state) sit behind documented traits.
Test plan
cargo test --workspace(~90 tests)cargo fmt --all -- --checkcargo clippy --workspace --all-targets -- -D warningsPORT=8650 TASKS=5 scripts/devnet.sh(live sequencer + worker, submit→settle)cargo run -p ducp-conformance --bin gen-vectorsreproduces the committed vectors