Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
This repository follows the DUCP project Code of Conduct: **be rigorous with ideas and respectful of people.**

The canonical version is maintained in the spec repository:
<https://github.com/ducp-protocol/spec/blob/main/CODE_OF_CONDUCT.md>
<https://github.com/ducp-protocol/ducp-spec/blob/main/CODE_OF_CONDUCT.md>

Report concerns to Pawan Singh — mr.singhpawan@gmail.com.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Contributing to DUCP Node

Thanks for your interest in the DUCP reference implementation. This repository implements the protocol specified in [`ducp-protocol/spec`](https://github.com/ducp-protocol/spec).
Thanks for your interest in the DUCP reference implementation. This repository implements the protocol specified in [`ducp-protocol/ducp-spec`](https://github.com/ducp-protocol/ducp-spec).

## Before you start

- Read the spec (white paper v0.1.0) and open an issue to discuss substantial work first.
- **Protocol-level** changes belong in the [spec repo's proposals](https://github.com/ducp-protocol/spec/tree/main/proposals), not here — this repository *implements* the spec, it does not *define* it.
- **Protocol-level** changes belong in the [spec repo's proposals](https://github.com/ducp-protocol/ducp-spec/tree/main/proposals), not here — this repository *implements* the spec, it does not *define* it.

## Workflow

Expand All @@ -16,8 +16,8 @@ Thanks for your interest in the DUCP reference implementation. This repository i

## Contributor License Agreement

This repository is governed by the project's [DUCP CLA](https://github.com/ducp-protocol/spec/blob/main/CLA.md): contributions are accepted under the CLA, which assigns the contributed rights to the author and grants you a license back. You will be asked to agree before your first contribution is merged.
This repository is governed by the project's [DUCP CLA](https://github.com/ducp-protocol/ducp-spec/blob/main/CLA.md): contributions are accepted under the CLA, which assigns the contributed rights to the author and grants you a license back. You will be asked to agree before your first contribution is merged.

## Conduct & governance

All participation follows the [Code of Conduct](CODE_OF_CONDUCT.md). During the pre-1.0 phase the project is steered by its maintainer — see [GOVERNANCE](https://github.com/ducp-protocol/spec/blob/main/GOVERNANCE.md).
All participation follows the [Code of Conduct](CODE_OF_CONDUCT.md). During the pre-1.0 phase the project is steered by its maintainer — see [GOVERNANCE](https://github.com/ducp-protocol/ducp-spec/blob/main/GOVERNANCE.md).
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rust-version = "1.75"
license = "BUSL-1.1"
authors = ["Pawan Singh <mr.singhpawan@gmail.com>"]
repository = "https://github.com/ducp-protocol/ducp-node-rs"
homepage = "https://github.com/ducp-protocol/spec"
homepage = "https://github.com/ducp-protocol/ducp-spec"

[workspace.dependencies]
# Internal crates (path-based; shared so member manifests stay terse).
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The reference implementation of the **Decentralized Universal Compute Protocol (

## What this is

A node implementation of the DUCP protocol. The protocol itself — the white paper, normative specification, and reference-node binding — lives in [`ducp-protocol/spec`](https://github.com/ducp-protocol/spec). This repository is the **reference implementation** for **DUCP-SPEC v0.2.0**, conforming to the pinned choices in [`spec/bindings/`](https://github.com/ducp-protocol/spec/tree/main/spec/bindings).
A node implementation of the DUCP protocol. The protocol itself — the white paper, normative specification, and reference-node binding — lives in [`ducp-protocol/ducp-spec`](https://github.com/ducp-protocol/ducp-spec). This repository is the **reference implementation** for **DUCP-SPEC v0.2.0**, conforming to the pinned choices in [`spec/bindings/`](https://github.com/ducp-protocol/ducp-spec/tree/main/spec/bindings).

The reference-node binding pins the buildable choices — **WebAssembly** IR (wasmtime), **single-sequencer** devnet, **sampled re-execution** — while preserving every protocol invariant. The Quant (ℚ) efficiency observable is recorded as the reward-neutral **(𝕌, ℚ)** pair from genesis (ℚ null until energy attestation exists).

Expand Down Expand Up @@ -90,11 +90,11 @@ Out of scope for this binding, each represented by a trait so it is additive lat

## Specification <-> implementation

This implementation pins to a specification version; the current target is **DUCP spec v0.2.0**. Anything that would change the protocol belongs first as a proposal in the [spec repo](https://github.com/ducp-protocol/spec/tree/main/proposals) — this repository implements the spec, it does not define it.
This implementation pins to a specification version; the current target is **DUCP spec v0.2.0**. Anything that would change the protocol belongs first as a proposal in the [ducp-spec repo](https://github.com/ducp-protocol/ducp-spec/tree/main/proposals) — this repository implements the spec, it does not define it.

## Contributing

Contributions are welcome under the project's Contributor License Agreement — see [CONTRIBUTING](CONTRIBUTING.md) and the [CLA](https://github.com/ducp-protocol/spec/blob/main/CLA.md). All participation follows the [Code of Conduct](CODE_OF_CONDUCT.md).
Contributions are welcome under the project's Contributor License Agreement — see [CONTRIBUTING](CONTRIBUTING.md) and the [CLA](https://github.com/ducp-protocol/ducp-spec/blob/main/CLA.md). All participation follows the [Code of Conduct](CODE_OF_CONDUCT.md).

## License

Expand Down
2 changes: 1 addition & 1 deletion crates/conformance/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//! Regenerate the committed vector files with the generator binary:
//! `cargo run -p ducp-conformance --bin gen-vectors`.
//!
//! Specification: <https://github.com/ducp-protocol/spec>
//! Specification: <https://github.com/ducp-protocol/ducp-spec>

use serde::{Deserialize, Serialize};
use std::path::PathBuf;
Expand Down
2 changes: 1 addition & 1 deletion crates/consensus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//! (spec/bindings/04 §6). A BFT engine is a later `impl ConsensusEngine` with
//! no change to the ledger.
//!
//! Specification: <https://github.com/ducp-protocol/spec>
//! Specification: <https://github.com/ducp-protocol/ducp-spec>
//! Status: Reference implementation for DUCP-SPEC v0.2.0.

use ducp_governance::Params;
Expand Down
6 changes: 3 additions & 3 deletions crates/ducp-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
//! Canonical DUCP data model shared by every conforming node — identifiers, tasks,
//! on-ledger records, transactions, blocks, and the **Quant (ℚ)** efficiency
//! observable. Field shapes and encodings follow the reference-node binding specification
//! ([`spec/bindings/01`](https://github.com/ducp-protocol/spec)) and
//! [`spec/09`](https://github.com/ducp-protocol/spec) (DP-0001).
//! ([`spec/bindings/01`](https://github.com/ducp-protocol/ducp-spec)) and
//! [`spec/09`](https://github.com/ducp-protocol/ducp-spec) (DP-0001).
//!
//! ## Encoding & hashing (spec/bindings/01 §1)
//! - **Canonical bytes**: `borsh`, fields in declaration order; no floats in any
Expand All @@ -15,7 +15,7 @@
//! - **Wire form** (JSON-RPC): binary as hex strings, amounts as decimal strings
//! (see the `serde(with = ...)` field attributes).
//!
//! Specification: <https://github.com/ducp-protocol/spec>
//! Specification: <https://github.com/ducp-protocol/ducp-spec>
//! Status: Reference implementation for DUCP-SPEC v0.2.0.

use borsh::{BorshDeserialize, BorshSerialize};
Expand Down
2 changes: 1 addition & 1 deletion crates/dvm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//! same `{module, input, benchmark}`, every conforming DVM MUST produce the
//! identical `output`, `result_hash`, and `ucu_count`.
//!
//! Specification: <https://github.com/ducp-protocol/spec>
//! Specification: <https://github.com/ducp-protocol/ducp-spec>
//! Status: Reference implementation for DUCP-SPEC v0.2.0.

use borsh::{BorshDeserialize, BorshSerialize};
Expand Down
2 changes: 1 addition & 1 deletion crates/governance/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//! All rates are expressed in **parts-per-million** (ppm) so every computation is
//! exact integer arithmetic — no floats anywhere on a consensus path.
//!
//! Specification: <https://github.com/ducp-protocol/spec>
//! Specification: <https://github.com/ducp-protocol/ducp-spec>
//! Status: Reference implementation for DUCP-SPEC v0.2.0.

use ducp_types::{Sp, Ucu, UCU_SCALE};
Expand Down
2 changes: 1 addition & 1 deletion crates/ledger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//! Conservation (`I-LEDGER-CONSERVE`): after every transition,
//! `Σ(balance + escrowed + bonded) + fee_pool == minted − burned`.
//!
//! Specification: <https://github.com/ducp-protocol/spec>
//! Specification: <https://github.com/ducp-protocol/ducp-spec>
//! Status: Reference implementation for DUCP-SPEC v0.2.0.

use borsh::{BorshDeserialize, BorshSerialize};
Expand Down
2 changes: 1 addition & 1 deletion crates/verification/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//! with no change to the proof path. Verifiers validate attestations as evidence —
//! they never re-measure energy (`I-VERIFY-RUNONCE`).
//!
//! Specification: <https://github.com/ducp-protocol/spec>
//! Specification: <https://github.com/ducp-protocol/ducp-spec>
//! Status: Reference implementation for DUCP-SPEC v0.2.0.

use ducp_dvm::{Benchmark, Dvm};
Expand Down
2 changes: 1 addition & 1 deletion ducp-node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//!
//! "node" means a *network participant*; it is unrelated to Node.js.
//!
//! Specification: <https://github.com/ducp-protocol/spec>
//! Specification: <https://github.com/ducp-protocol/ducp-spec>
//! Status: Reference implementation for DUCP-SPEC v0.2.0.

use std::collections::BTreeMap;
Expand Down
2 changes: 1 addition & 1 deletion ducp-node/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//! the software you run to take part in DUCP (as a Provider, Validator, and so on).
//! It is unrelated to Node.js and contains no JavaScript.
//!
//! Specification: <https://github.com/ducp-protocol/spec>
//! Specification: <https://github.com/ducp-protocol/ducp-spec>
//! Status: Reference node for DUCP-SPEC v0.2.0 (reference-node binding).

use std::net::SocketAddr;
Expand Down
Loading