Skip to content

Allow to publish same message to multiple topics #272

Open
@dapplion

Description

@dapplion

Ethereum beacon chain requires to publish the same SyncCommitteeSignature to multiple topics on small networks.

Currently gossipsub prevents doing that by throwing PublishError.Duplicate

throw Error('PublishError.Duplicate')

Signature of async publish(topic: TopicStr, data: Uint8Array) could be changed to topics: TopicStr[] to publish to multiple topics. Or add an option to disable checking for duplicate messages

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions