admin_addPeer: New node based on the enode

Description Usage Arguments Value See Also Examples

View source: R/admin.R

Description

admin_addPeer request to add a new remote node to the list of tracked static nodes.

Usage

1

Arguments

enode

String - URL of the remote peer to start tracking.

Value

Boolean - true the peer was accepted for tracking or false if some error occurred.

See Also

Other admin functions: admin_datadir, admin_nodeInfo, admin_peers, admin_setSolc, admin_startRPC, admin_startWS, admin_stopRPC, admin_stopWS, gethr

Examples

1
2
3
admin_addPeer('enode://c1a07558238c0b31657450dd34a558752d63150ce334f3e99b9187
262b612f48a713a083cd1601bfe3bba761a908264320885633fa81d6d6ca0ef7a6e84a2bcd
  @[127.0.0.1]:30301') 

gethr documentation built on May 2, 2019, 7:03 a.m.