Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade identify protocols with smaller size for Signed records #955

Closed
wants to merge 1 commit into from

Conversation

aarshkshah1992
Copy link
Contributor

For #954.

@Stebalien
Why don't we combine ID & ID Push while we are doing this ?


// ok give the response to our handler.
if err = msmux.SelectProtoOrFail(ID, s); err != nil {
// TODO This might cause us an extra roundtrip if the remote peer does not not support
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Stebalien Either we "disable" ID_1_1_0 for now(since we don't really need signed records anywhere) or we pay this cost. I don't there's any other clean solution till we have multistream2.0.

Lmk what you think.

Copy link
Contributor

Choose a reason for hiding this comment

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

(since we don't really need signed records anywhere)

That's decisively not true. Both lotus and (especially) drand rely on signed peer records to bootstrap pubsub through Peer Exchange without a DHT.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vyzo I get what you mean. I'll make the configuration changed discussed in #954 .

@Stebalien
Copy link
Member

Why don't we combine ID & ID Push while we are doing this ?

ID -> who are you?
ID Push -> Hi, I'm X.

@Stebalien Stebalien requested a review from raulk June 1, 2020 07:10
@Stebalien
Copy link
Member

Superseeded in #958. This will be a non-issue when we switch to ed25519.

@Stebalien Stebalien closed this Jun 3, 2020
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