• Preparing search index...
  • The search index is not available
@libp2p/pubsub - v7.0.3
  • @libp2p/pubsub - v7.0.3
  • utils
  • msgId

Function msgId

  • msgId(key: Uint8Array, seqno: bigint): Uint8Array
  • Generate a message id, based on the key and seqno

    Parameters

    • key: Uint8Array
    • seqno: bigint

    Returns Uint8Array

    • Defined in utils.ts:20

Settings

Member Visibility

Theme

Modules

  • @libp2p/pubsub - v7.0.3
    • errors
    • index
    • peer-streams
    • utils
  • anyMatch
  • bigIntFromBytes
  • bigIntToBytes
  • ensureArray
  • msgId
  • noSignMsgId
  • randomSeqno
  • toMessage
  • toRpcMessage