You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement DNS Discovery as per EIP-1459,
with ENR records as defined in 31/WAKU2-ENR;
Available by passing { bootstrap: { enrUrl: enrtree://... } } to Waku.create.
When using addDecryptionKey,
it is now possible to specify the decryption method and the content topics of the messages to decrypt;
this is to reduce the number of decryption attempt done and improve performance.
Changed
Test: Upgrade nim-waku node to v0.6.
Breaking: Renamed getBootstrapNodes to getNodesFromHostedJson.
Minimum node version changed to 16.
Breaking: Changed Waku.create bootstrap option from { bootstrap: boolean } to { bootstrap: BootstrapOptions }.
Replace { boostrap: true } with { boostrap: { default: true } } to retain same behaviour.
Breaking: WakuMessage.decode and WakuMessage.decodeProto now accepts method and content topics for the decryption key. WakuMessage.decode(bytes, [key]) becomes WakuMessage.decode(bytes, [{key: key}]).