NDNts

    Interface Options

    interface Options {
        cpOpts?: ConsumerOptions & ProducerOptions;
        describe?: string;
        p: FullSync.Parameters;
        producerBufferLimit?: number;
        signer?: Signer;
        syncInterestInterval?: [min: number, max: number];
        syncInterestLifetime?: number;
        syncPrefix: Name;
        syncReplyFreshness?: number;
        verifier?: Verifier;
    }
    Index

    Properties

    Consumer and producer options.

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

    Description for debugging purpose.

    FullSync + syncPrefix

    Algorithm parameters.

    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.

    32

    signer?: Signer

    Signer of sync reply Data packets.

    digestSigning

    syncInterestInterval?: [min: number, max: number]

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

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

    syncInterestLifetime?: number

    Sync Interest lifetime in milliseconds.

    1000

    syncPrefix: Name

    Sync group prefix.

    syncReplyFreshness?: number

    FreshnessPeriod of sync reply Data packet.

    1000

    verifier?: Verifier

    Verifier of sync reply Data packets.

    no verification

    MMNEPVFCICPMFPCPTTAAATR