rpc/JSON-RPC method
p2p.Protect
**Protect adds a peer to the list of peers who have a bidirectional peering agreement that they are protected from being trimmed, dropped or negatively scored. **
Auth level: admin
Params:
[{"name":"id","description":"peer.ID","summary":"","schema":{"examples":["CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo"],"type":["string"]},"required":true,"deprecated":false},{"name":"tag","description":"string","summary":"","schema":{"examples":["string value"],"type":["string"]},"required":true,"deprecated":false}]
Result:
{"name":"Null","description":"Null","schema":{"type":["null"]},"required":true,"deprecated":false}