v0.7.0
Full Changelog: v0.6.0...v0.7.0
New features
- New flags
--resource-scaling-memory-percentage
and--resource-scaling-file-descriptors-percentage
available to setup the percentage of total accessible memory and total file descriptors for go-waku --ext-ip
and--dns4-domain-name
flags can be used at the same time to define additional multiaddresses- Support for GossipSub scoring parameters added to WakuRelay
- Limit inbound connections to 10 connections per IP
- Store peer's ENR and origin (DiscV5, DNSDiscovery, PeerExchange, Rendezvous) into peer store
- Added FilterV2 functions to c-bindings
waku_discv5_update_bootnodes
is available in the c-bindings to update the DiscoveryV5 bootnodes- Added functions to find peers in a shard, and peers using a predicate in DiscoveryV5
- New utils functions to setup the relay shard fields in a node's ENR
Fixes:
- Dead loop after calling
WakuNode.Stop()
- Updated rendezvous to latest spec to achieve interop with
nwaku
- Handle IPv6 addresses correctly
IsOnline
will take into account when the node only is running light protocols- Use nanoseconds instead of seconds in c-bindings example
Code changes
- Update protobuf and libp2p dependencies
- Remove unneeded
Connect
as dns4 addresses are being resolved automatically by libp2p
Breaking changes:
- FilterV1 functions in c-bindings were renamed from
waku_filter_
towaku_legacy_filter_