Skip to content

Tag relay hops in relay implementations#1188

Merged
vyzo merged 4 commits into
masterfrom
feat/relay-tags
Sep 21, 2021
Merged

Tag relay hops in relay implementations#1188
vyzo merged 4 commits into
masterfrom
feat/relay-tags

Conversation

@vyzo
Copy link
Copy Markdown
Contributor

@vyzo vyzo commented Sep 15, 2021

On top of #1186
In both relay v1 and v2 implementations, with a fixed value of 2. The value is purposefully very low, serving as an indicator to distinguish idle connections from connections with hop circuits during connection manager prunes.

Comment thread p2p/protocol/circuitv1/relay/relay.go
Comment thread p2p/protocol/circuitv1/relay/relay.go Outdated
@vyzo vyzo force-pushed the feat/circuitv1-relay branch from 8e5996b to 243d07b Compare September 17, 2021 10:39
Base automatically changed from feat/circuitv1-relay to master September 20, 2021 15:24
@vyzo
Copy link
Copy Markdown
Contributor Author

vyzo commented Sep 21, 2021

rebased on master to resolve the (trivial) conflict; also made the hop tag constants private.

@vyzo vyzo merged commit 8a70f70 into master Sep 21, 2021
@vyzo vyzo deleted the feat/relay-tags branch September 21, 2021 10:51
@aschmahmann aschmahmann mentioned this pull request Dec 1, 2021
80 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants