Open adklempner opened 7 months ago
issue description is empty. moving this back to triage
@adklempner could you, please, provide description and some examples of what this feature is about. If possible - link it to relevant epic or milestone
Moving to priority as it is better to finalize before the next release.
@weboko are we set on the proposed solution? do we want to triage it before we tackle it?
Proposed solution:
pubsubTopic
;shardInfo
and contentTopics
under new property network
or networkConfiguration
;shardParams
from @waku/*
package and make them default in case defaultBootstrap
is used;createEncoder
and createDecoder
as part of WakuNode to be used as follows:
const node = createLightNode({ defaultBootstrap: true });
const encoder = node.createEncoder({ ... }); // <- potentially by using some params asym/sym encoder/decoder can be instantiated
const decoder = node.createDecoder({ ... });
The library consumer has to set the content/pubsub topic in multiple places:
If the three don't match, then it can lead to unwanted behaviour
Proposed Solutions
Notes