battlmonstr fc3eecae5e
RPC: admin.peers() (#3960)
* RPC: admin.peers()

This RPC method returns information about the connected remote nodes.
https://geth.ethereum.org/docs/rpc/ns-admin#admin_peers

The peers are collected from all configured sentries.
See: https://github.com/ledgerwatch/interfaces/pull/102

Test with:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc": "2.0", "method": "admin_peers", "params": [], "id":1}' localhost:8545

* save

* liner fix

Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2022-04-25 14:40:04 +01:00
..
2022-03-22 17:49:12 +01:00
2022-04-25 14:40:04 +01:00
2022-03-26 18:21:31 +00:00
2022-03-26 18:21:31 +00:00
2022-03-22 10:33:15 +07:00
2022-01-20 15:34:00 +00:00