Skip to content

nooschain v0.1.0


nooschain / peer-scoring/peer-score-store / getPeerScore

Function: getPeerScore()

getPeerScore(db, peerId): Promise<PeerScore | null>

Defined in: peer-scoring/peer-score-store.ts:30

Loads the current score snapshot for one peer.

Parameters

db

PeerScoreStoreDatabase

peerId

string

Returns

Promise<PeerScore | null>

Audience-first NOOSChain documentation.