Misbehaviors

Get the misbehaviors of peers

get
Responses
200
Ok
application/json
get
GET /infos/misbehaviors HTTP/1.1
Host: alephium.nownodes.io
Accept: */*
[
  {
    "peer": "1.2.3.4",
    "status": {
      "type": "Penalty",
      "value": 42
    }
  }
]

Ban/Unban given peers

post
Body
one ofOptional
or
Responses
200
Ok
post
POST /infos/misbehaviors HTTP/1.1
Host: alephium.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 36

{
  "type": "Unban",
  "peers": [
    "1.2.3.4"
  ]
}

No content