Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HumbleNet/HumbleNet
/ connectToPeer
Function
connectToPeer
tests/hello_world.cpp:108–114 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
106
}
107
108
void connectToPeer(PeerId peer)
109
{
110
startPeerId = peer;
111
startPeerStatus = PeerStatus::CONNECTING;
112
113
send_message(peer, MessageType::HELLO,
""
, 0);
114
}
115
116
void main_loop()
117
{
Callers
1
main
Function · 0.70
Calls
1
send_message
Function · 0.85
Tested by
no test coverage detected