Skip to content

v0.6.0

Compare
Choose a tag to compare
@richard-ramos richard-ramos released this 15 May 15:52
· 379 commits to master since this release
30b9fac

New features

  • DoS protected topics are available by using relay.AddSignedTopicValidator and relay.SignMessage functions
  • Added webtransport to the list of available transports
  • Update go-libp2p and go-libp2p-pubsub to fix memory leak
  • Added seenMessagesTTLSeconds to gossipsub parameters in c-bindings
  • Added waku_relay_topics to c-bindings to get the list of subscribed pubsub topics
  • Go-waku can now act as a libp2p rendezvous client
  • Circuit relay and hole punching is available in service node
  • Nix can be used to build go-waku
  • Added store protocol to REST server
  • --ext-ip can be used to setup a custom IP address
  • Added the WithConnectionNotification option to register a channel in which peer connections / disconnections are pushed
  • New utils for handling shards and building ENRs
  • Added new metrics to protocols
  • Update RLN logic to match nwaku

Fixes:

  • Node private key can be set via GOWAKU_NODEKEY environment variable
  • The number of content topics in filter protocol was limited to 10, and a timeout was added to message push
  • Filter protocol will ignore messages received if they were sent by a node we are not subscribed to
  • Handle chain forks in RLN
  • Handle max number of smart contract logs exceeded when retrieving the full membership history from the RLN contract
  • Fixed an issue that occurred when shutting down the node while attempting to connect to a discovered peer
  • In c-bindings, removing a duplicated filter will not crash
  • Only the last discovered nodes was being set while using DNS discovery.

Code changes

  • Broadcaster was completely revamped and it is now initialized when the node is started
  • Host is injected in the Waku Node when it is started (previously it was done as soon as a node was created)
  • Peer Exchange's peer cache uses an LRU for storing peers
  • Discv5 is now lock free

Breaking changes:

  • Swap protocol was removed
  • Renamed Filter protocol to LegacyFilter, and FilterV2 to Filter