libp2p
    Preparing search index...

    Interface PeerScoreThresholds

    interface PeerScoreThresholds {
        acceptPXThreshold: number;
        gossipThreshold: number;
        graylistThreshold: number;
        opportunisticGraftThreshold: number;
        publishThreshold: number;
    }
    Index

    Properties

    acceptPXThreshold: number

    acceptPXThreshold is the score threshold below which PX will be ignored; this should be positive and limited to scores attainable by bootstrappers and other trusted nodes.

    gossipThreshold: number

    gossipThreshold is the score threshold below which gossip propagation is supressed; should be negative.

    graylistThreshold: number

    graylistThreshold is the score threshold below which message processing is supressed altogether, implementing an effective graylist according to peer score; should be negative and <= PublisThreshold.

    opportunisticGraftThreshold: number

    opportunisticGraftThreshold is the median mesh score threshold before triggering opportunistic grafting; this should have a small positive value.

    publishThreshold: number

    publishThreshold is the score threshold below which we shouldn't publish when using flood publishing (also applies to fanout and floodsub peers); should be negative and <= GossipThreshold.