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
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,18 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: "dig-gossip v${{ steps.extract_version.outputs.VERSION }}"
release_name: "dig-peer-protocol v${{ steps.extract_version.outputs.VERSION }}"
body: |
## dig-gossip v${{ steps.extract_version.outputs.VERSION }}
## dig-peer-protocol v${{ steps.extract_version.outputs.VERSION }}

DIG Network P2P gossip — peer discovery, connection management, and message routing with Plumtree, ERLAY, priority lanes, compact blocks, Dandelion++, and relay fallback.
DIG Network L2 protocol types — a superset of chia-protocol.

### Installation
```toml
[dependencies]
dig-gossip = "${{ steps.extract_version.outputs.VERSION }}"
dig-peer-protocol = "${{ steps.extract_version.outputs.VERSION }}"
```

See the [README](https://github.com/DIG-Network/dig-gossip/blob/main/README.md) for usage instructions.
See the [README](https://github.com/DIG-Network/dig-peer-protocol/blob/main/README.md) for usage instructions.
draft: false
prerelease: false
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project are documented here.
This project adheres to [Semantic Versioning](https://semver.org) and
[Conventional Commits](https://www.conventionalcommits.org).

## [0.2.1] - 2026-07-21

### Changed
- Renamed crate `dig-protocol` → `dig-peer-protocol` (#1383). API unchanged; consumers must switch their dependency name.

## [0.2.0] - 2026-07-19

### Features
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
name = "dig-protocol"
version = "0.2.0"
name = "dig-peer-protocol"
version = "0.2.1"
edition = "2021"
authors = ["Michael Taylor <michael@berkeleycompute.com>"]
description = "DIG Network L2 protocol types extending Chia's wire protocol (opcodes 200+)"
license = "Apache-2.0"
repository = "https://github.com/DIG-Network/dig-protocol"
repository = "https://github.com/DIG-Network/dig-peer-protocol"
readme = "README.md"
keywords = ["chia", "dig", "protocol", "p2p", "gossip"]
categories = ["network-programming", "cryptography::cryptocurrencies"]

[dependencies]
# Chia ecosystem — dig-protocol re-exports all of these so consumers only need one import.
# Chia ecosystem — dig-peer-protocol re-exports all of these so consumers only need one import.
chia-protocol = "0.26"
chia-traits = "0.26"
chia_streamable_macro = "0.26"
Expand All @@ -26,7 +26,7 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1"

[features]
# TLS backend forwarding — consumers enable these on dig-protocol instead of chia-sdk-client.
# TLS backend forwarding — consumers enable these on dig-peer-protocol instead of chia-sdk-client.
native-tls = ["chia-sdk-client/native-tls"]
rustls = ["chia-sdk-client/rustls"]

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# dig-protocol
# dig-peer-protocol

DIG Network L2 protocol types — superset of [`chia-protocol`](https://crates.io/crates/chia-protocol) with extension opcodes **200–219**.

Expand All @@ -10,7 +10,7 @@ One dependency replaces five: `chia-protocol`, `chia-sdk-client`, `chia-ssl`, `c

```toml
[dependencies]
dig-protocol = { version = "0.1", features = ["rustls"] }
dig-peer-protocol = { version = "0.2", features = ["rustls"] }
```

### Features
Expand Down Expand Up @@ -311,7 +311,7 @@ pub use chia_streamable_macro::streamable; // #[streamable] / #[streamable(mes
## Encode / decode example

```rust
use dig_protocol::{DigMessage, DigMessageType, NodeType, RegisterPeer, RegisterAck};
use dig_peer_protocol::{DigMessage, DigMessageType, NodeType, RegisterPeer, RegisterAck};

// --- Encode outbound RegisterPeer ---
let rp = RegisterPeer::new("1.2.3.4".into(), 9444, NodeType::FullNode);
Expand Down
Loading
Loading