interface Options {
    cpOpts?: ConsumerOptions & ProducerOptions;
    describe?: string;
    endpoint?: Endpoint;
    p: PSyncFull.Parameters;
    producerBufferLimit?: number;
    signer?: Signer;
    syncInterestInterval?: IntervalRange;
    syncInterestLifetime?: number;
    syncPrefix: Name;
    syncReplyFreshness?: number;
    verifier?: Verifier;
}

Properties

Consumer and producer options.

Remarks

  • .fw may be specified.
  • Most other fields are overridden.
describe?: string

Description for debugging purpose.

Default Value

FullSync + syncPrefix
endpoint?: Endpoint

Endpoint for communication.

Deprecated

Specify .cpOpts.

Algorithm parameters.

Remarks

They must be the same on every peer.

producerBufferLimit?: number

How many sync reply segmented objects to keep in buffer. This must be a positive integer.

Default Value

32
signer?: Signer

Signer of sync reply Data packets.

Default Value

digestSigning
syncInterestInterval?: IntervalRange

Interval between sync Interests, randomized within the range, in milliseconds.

Default Value

[syncInterestLifetime/2+100,syncInterestLifetime/2+500]

syncInterestLifetime?: number

Sync Interest lifetime in milliseconds.

Default Value

1000
syncPrefix: Name

Sync group prefix.

syncReplyFreshness?: number

FreshnessPeriod of sync reply Data packet.

Default Value

1000
verifier?: Verifier

Verifier of sync reply Data packets.

Default Value

no verification