Skip to content

P2P: Update arti and fix issues with our Tor impl#640

Merged
Boog900 merged 2 commits into
mainfrom
update-fix-arti
Jun 13, 2026
Merged

P2P: Update arti and fix issues with our Tor impl#640
Boog900 merged 2 commits into
mainfrom
update-fix-arti

Conversation

@Boog900

@Boog900 Boog900 commented Jun 12, 2026

Copy link
Copy Markdown
Member

No description provided.

@github-actions github-actions Bot added A-p2p Area: Related to P2P. A-dependency Area: Related to dependencies, or changes to a Cargo.{toml,lock} file. A-workspace Area: Changes to a root workspace file or general repo file. A-consensus Area: Related to consensus. A-net Area: Related to networking. A-binaries Area: Related to binaries. labels Jun 12, 2026
let seeds = match network {
Network::Mainnet => [
"zbjkbsxc5munw3qusl7j2hpcmikhqocdf4pqhnhtpzw5nt5jrmofptid.onion:18083",
"qz43zul2x56jexzoqgkx2trzwcfnr6l3hbtfcfx54g4r3eahy3bssjyd.onion:18083",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seed node was updated upstream

// -------- Only in Arti mode
/// Arti bootstrapped [`TorClient`].
#[cfg(feature = "arti")]
pub bootstrapped_client: Option<TorClient<PreferredRuntime>>,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is no longer clone, so its now Arced

.iter()
.copied()
.all(|c| c.is_ascii_lowercase() || (b'2'..=b'7').contains(&c))
.all(|c| c.is_ascii_alphabetic() || (b'2'..=b'7').contains(&c))

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the thing causing issues with Tor, it prevents you from connecting to nodes that send upper case addresses.

@Boog900 Boog900 marked this pull request as ready for review June 12, 2026 20:11

@redsh4de redsh4de left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Boog900 Boog900 merged commit 6a129c3 into main Jun 13, 2026
19 checks passed
@Boog900 Boog900 deleted the update-fix-arti branch June 13, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-binaries Area: Related to binaries. A-consensus Area: Related to consensus. A-dependency Area: Related to dependencies, or changes to a Cargo.{toml,lock} file. A-net Area: Related to networking. A-p2p Area: Related to P2P. A-workspace Area: Changes to a root workspace file or general repo file.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants