go-libp2p icon indicating copy to clipboard operation
go-libp2p copied to clipboard

Protocol ID abbreviation

Open ppopth opened this issue 1 month ago • 0 comments

Implementing https://github.com/libp2p/specs/issues/700 and https://github.com/libp2p/specs/pull/701

  • [x] Add a max multistream-select version in Identify message
  • [x] If the peer's max version is at least 2, use protocol ID abbreviation when opening a stream (aka multistream-select v2)
  • [x] If not, use the old multistream-select v1 when opening a stream

IMPORTANT: Remove the dependency replacement in go.mod before merging the PR

ppopth avatar Nov 16 '25 22:11 ppopth