Skip to content

Commit 4fa7838

Browse files
committed
None to Permissive, new libp2p
1 parent 1154dd7 commit 4fa7838

File tree

3 files changed

+28
-28
lines changed

3 files changed

+28
-28
lines changed

Cargo.lock

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fastbloom-rs = "0.5.9"
4848
ollama-workflows = { git = "https://github.com/andthattoo/ollama-workflows", rev = "ba038f7" }
4949

5050
# peer-to-peer
51-
libp2p = { git = "https://github.com/anilaltuner/rust-libp2p.git", rev = "3c55e95", features = [
51+
libp2p = { git = "https://github.com/anilaltuner/rust-libp2p.git", rev = "007052d", features = [
5252
# libp2p = { version = "0.54.1", features = [
5353
"dcutr",
5454
"ping",

src/p2p/behaviour.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ fn create_gossipsub_behavior(author: PeerId) -> gossipsub::Behaviour {
9696

9797
/// We accept permissive validation mode, meaning that we accept all messages
9898
/// and check their fields based on whether they exist or not.
99-
const VALIDATION_MODE: ValidationMode = ValidationMode::None; // FIXME: change this to Permissive
99+
const VALIDATION_MODE: ValidationMode = ValidationMode::Permissive;
100100

101101
/// Heartbeat interval in seconds
102102
const HEARTBEAT_INTERVAL_SECS: u64 = 10;

0 commit comments

Comments
 (0)