nooschain / peer-scoring/peer-score-service / resetPeerScore
Function: resetPeerScore()
resetPeerScore(
db,peerId,reason):Promise<PeerScore|null>
Defined in: peer-scoring/peer-score-service.ts:189
Resets a peer's score to the initial healthy value and clears quarantine state.
Parameters
db
peerId
string
reason
string
Returns
Promise<PeerScore | null>