Skip to content

Conversation

@ErakhtinB
Copy link
Contributor

No description provided.


#include <libp2p/peer/stream_protocols.hpp>

namespace {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
namespace {
namespace libp2p::protocol {

host_, conn_manager_, id_manager_, key_marshaller_);
identify_ = std::make_shared<Identify>(host_, id_msg_processor_, bus_);
IdentifyConfig config;
config.protocols = {kIdentifyProto};
Copy link
Contributor

Choose a reason for hiding this comment

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

May use default

Suggested change
config.protocols = {kIdentifyProto};

Comment on lines +13 to +15
} // namespace

namespace libp2p::protocol {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
} // namespace
namespace libp2p::protocol {

The change completes the previous

@ErakhtinB ErakhtinB force-pushed the 2217-identify-config-protocols branch from e0184fb to f51b471 Compare September 30, 2024 04:40
@kamilsa kamilsa merged commit 859a249 into libp2p:master Oct 7, 2024
4 checks passed
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.

5 participants