File tree Expand file tree Collapse file tree
main/kotlin/io/libp2p/pubsub/gossip
test/kotlin/io/libp2p/pubsub/gossip/extensions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -396,7 +396,7 @@ open class GossipRouter(
396396 ctrlExtensions : Rpc .ControlExtensions ,
397397 receivedFrom : PeerHandler
398398 ) {
399- logger.info (" Received control extension {}" , ctrlExtensions.toString())
399+ logger.trace (" Received control extension {}" , ctrlExtensions.toString())
400400
401401 if (peerExtensionSupportMap[receivedFrom.peerId] != null ) {
402402 // TODO Should downscore peers that send control extension multiple times? (https://github.com/libp2p/jvm-libp2p/issues/437)
@@ -413,7 +413,7 @@ open class GossipRouter(
413413 override fun processExtensions (msg : Rpc .RPC , receivedFrom : PeerHandler ) {
414414 val peerSupportedExtensions = peerExtensionSupportMap[receivedFrom.peerId]
415415 if (peerSupportedExtensions == null ) {
416- logger.info (
416+ logger.trace (
417417 " Ignoring extension messages from peer {} - did it send an extension control message?" ,
418418 receivedFrom.peerId
419419 )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class GossipExtensionsMessageHandlingTest : GossipTestsBase() {
3131 @Test
3232 fun `extension messages sent to peer prior to sending extension control messages are ignored` () {
3333 val test = TwoRoutersTest (
34- protocol = PubsubProtocol .Gossip_V_1_2
34+ protocol = PubsubProtocol .Gossip_V_1_3
3535 )
3636
3737 val rpcMessageWithTestExtension =
You can’t perform that action at this time.
0 commit comments