Skip to content

Commit

Permalink
fix!: explictly close rpc connections when changing base node (#6662)
Browse files Browse the repository at this point in the history
Description
---
fix!: explictly close rpc connections when changing base node
establish relay quickly
fix wallet connectivity logic

Motivation and Context
---

How Has This Been Tested?
---

What process can a PR reviewer use to test or verify this change?
---

<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release
notes? The title, excluding the conventional commit
tag, will be included exactly as is in the CHANGELOG, so please think
about it carefully. -->


Breaking Changes
---

- [ ] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [x] Other - Please specify

BREAKING CHANGE: RPC protocol adds the "check bytes" periodically sent
by the server. These bytes will cause errors in older clients.

---------

Co-authored-by: Hansie Odendaal <pluto@tari.com>
  • Loading branch information
sdbondi and hansieodendaal authored Nov 8, 2024
1 parent 753b137 commit 50bd9ae
Show file tree
Hide file tree
Showing 66 changed files with 1,531 additions and 695 deletions.
92 changes: 47 additions & 45 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ tari_shutdown = { path = "infrastructure/shutdown" }
tari_metrics = { path = "infrastructure/metrics" }

# Use Tari's libp2p fork that adds support for Schnorr-Ristretto
libp2p-identity = { git = "https://github.com/tari-project/rust-libp2p.git", rev = "3d918ccbf5ae1cbec0815a2156079b0fba4ba558" }
libp2p = { git = "https://github.com/tari-project/rust-libp2p.git", rev = "3d918ccbf5ae1cbec0815a2156079b0fba4ba558", default-features = false }
multiaddr = { git = "https://github.com/tari-project/rust-libp2p.git", rev = "3d918ccbf5ae1cbec0815a2156079b0fba4ba558" }
libp2p-identity = { git = "https://github.com/tari-project/rust-libp2p.git", rev = "ed117cac06f99aa2a85b1bad8c911b155f4b4f5d" }
libp2p = { git = "https://github.com/tari-project/rust-libp2p.git", rev = "ed117cac06f99aa2a85b1bad8c911b155f4b4f5d", default-features = false }
multiaddr = { git = "https://github.com/tari-project/rust-libp2p.git", rev = "ed117cac06f99aa2a85b1bad8c911b155f4b4f5d" }

anyhow = "1.0.89"
async-trait = "0.1.83"
Expand Down
Loading

0 comments on commit 50bd9ae

Please sign in to comment.