📍admin.addTrustedPeer()

Description: Adds a remote peer to the trusted peer list and starts tracking it.

Parameters

Name

Type

Description

url

string

The enode URL of the remote peer to start tracking.

Returns

Type

Description

boolean

Indicates whether the peer was successfully added to the trusted peer list.

Last updated