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 = false
can be configured asrefloodPublishMaxMessageSizeThreshold = NEVER_FLOOD_PUBLISH
(0)floodPublish = true
can be configured asrefloodPublishMaxMessageSizeThreshold = ALWAYS_FLOOD_PUBLISH
(Int.MAX_VALUE)
What's Changed
- Don't throw
NoPeersForOutboundMessageException
if peersDONTWANT
message by @StefanBratanov in #385 - Send
IDONTWANT
prior to publish by @StefanBratanov in #386 - [BREAKING] Replace
floodPublish
param withfloodPublishMaxMessageSizeThreshold
by @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