Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Options

Index

Properties

Optional contentCompression

contentCompression?: Compression

Whether to use zlib compression on Data payload. Default is no compression. Use PSyncZlib to set zlib compression.

In PSync C++ library, default for FullSync depends on whether zlib is available at compile time. For PartialSync, it is always no compression. This must be set to match other peers.

Optional expectedEntries

expectedEntries?: number

Expected number of IBLT entries, i.e. expected number of updates in a sync cycle. This is irrelevant to PartialSync consumer.

default

80

Optional expectedSubscriptions

expectedSubscriptions?: number

Estimated number of subscriptions in PartialSync consumer.

default

16

Optional ibltCompression

ibltCompression?: Compression

Whether to use zlib compression on IBLT. Default is no compression. Use PSyncZlib to set zlib compression.

In PSync C++ library, default for FullSync depends on whether zlib is available at compile time, and default for PartialSync is no compression. This must be set to match other peers.

Optional keyToBufferLittleEndian

keyToBufferLittleEndian?: boolean

Whether to use little endian when converting uint32 key to Uint8Array. PSync C++ library behaves differently on big endian and little endian machines, https://github.com/named-data/PSync/blob/b60398c5fc216a1b577b9dbcf61d48a21cb409a4/PSync/detail/util.cpp#L126 This must be set to match other peers.

default

true

Generated using TypeDoc