MCPcopy Create free account
hub / github.com/ceramicnetwork/rust-ceramic / local_peer_id

Method local_peer_id

p2p/src/node.rs:279–281  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

277 }
278
279 pub fn local_peer_id(&self) -> &PeerId {
280 self.swarm.local_peer_id()
281 }
282
283 /// Starts the libp2p service networking stack. This Future resolves when shutdown occurs.
284 #[instrument(skip_all)]

Callers 5

handle_rpc_messageMethod · 0.45
test_local_peer_idFunction · 0.45
test_two_nodesFunction · 0.45
test_three_nodesFunction · 0.45
in_sync_no_overlapFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_local_peer_idFunction · 0.36
test_two_nodesFunction · 0.36
test_three_nodesFunction · 0.36
in_sync_no_overlapFunction · 0.36