This release improves reliability of message publishing over gossip, improves DONTWANT control message usage.
WARNING: This release introduces a breaking change in GossipParams by replacing floodPublish param with floodPublishMaxMessageSizeThreshold, which allow to configure flood publish behaviour based on the message size.
floodPublish = falsecan be configured asrefloodPublishMaxMessageSizeThreshold = NEVER_FLOOD_PUBLISH(0)floodPublish = truecan be configured asrefloodPublishMaxMessageSizeThreshold = ALWAYS_FLOOD_PUBLISH(Int.MAX_VALUE)
What's Changed
- Don't throw
NoPeersForOutboundMessageExceptionif peersDONTWANTmessage by @StefanBratanov in #385 - Send
IDONTWANTprior to publish by @StefanBratanov in #386 - [BREAKING] Replace
floodPublishparam withfloodPublishMaxMessageSizeThresholdby @tbenr in #391 - Logging and other small warnings removal by @tbenr in #392
- Gossip: more reliable publishing by @Nashatyrev in #387
New Contributors
Full Changelog: 1.2.0...1.2.1