JS API Reference

Module: experimental/reputation/system

Table of contents

Classes

Variables

Variables

DEFAULT_PROPOSAL_MIN_SCORE

Const DEFAULT_PROPOSAL_MIN_SCORE: 0.8

Default minimum score for proposals.

Defined in

src/experimental/reputation/system.ts:23


DEFAULT_PROPOSAL_WEIGHTS

Const DEFAULT_PROPOSAL_WEIGHTS: ReputationWeights

Default weights used to calculate the score for proposals.

Defined in

src/experimental/reputation/system.ts:29


DEFAULT_AGREEMENT_WEIGHTS

Const DEFAULT_AGREEMENT_WEIGHTS: ReputationWeights

Default weights used to calculate the score for agreements.

Defined in

src/experimental/reputation/system.ts:38


DEFAULT_REPUTATION_URL

Const DEFAULT_REPUTATION_URL: "https://reputation.dev-test.golem.network/v2/providers/scores"

Default reputation service URL.

Defined in

src/experimental/reputation/system.ts:47


DEFAULT_AGREEMENT_TOP_POOL_SIZE

Const DEFAULT_AGREEMENT_TOP_POOL_SIZE: 2

The number of top scoring providers to consider when selecting an agreement.

Default for topPoolSize agreement selector option.

Defined in

src/experimental/reputation/system.ts:54


REPUTATION_PRESETS

Const REPUTATION_PRESETS: ReputationPresets

Predefined presets for reputation system.

Defined in

src/experimental/reputation/system.ts:59