Merge pull request #4849 from filecoin-project/feat/conngater
Connection Gater support
This commit is contained in:
@@ -53,6 +53,9 @@
|
||||
* [NetBandwidthStats](#NetBandwidthStats)
|
||||
* [NetBandwidthStatsByPeer](#NetBandwidthStatsByPeer)
|
||||
* [NetBandwidthStatsByProtocol](#NetBandwidthStatsByProtocol)
|
||||
* [NetBlockAdd](#NetBlockAdd)
|
||||
* [NetBlockList](#NetBlockList)
|
||||
* [NetBlockRemove](#NetBlockRemove)
|
||||
* [NetConnect](#NetConnect)
|
||||
* [NetConnectedness](#NetConnectedness)
|
||||
* [NetDisconnect](#NetDisconnect)
|
||||
@@ -798,6 +801,58 @@ Response:
|
||||
}
|
||||
```
|
||||
|
||||
### NetBlockAdd
|
||||
|
||||
|
||||
Perms: admin
|
||||
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
{
|
||||
"Peers": null,
|
||||
"IPAddrs": null,
|
||||
"IPSubnets": null
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Response: `{}`
|
||||
|
||||
### NetBlockList
|
||||
|
||||
|
||||
Perms: read
|
||||
|
||||
Inputs: `null`
|
||||
|
||||
Response:
|
||||
```json
|
||||
{
|
||||
"Peers": null,
|
||||
"IPAddrs": null,
|
||||
"IPSubnets": null
|
||||
}
|
||||
```
|
||||
|
||||
### NetBlockRemove
|
||||
|
||||
|
||||
Perms: admin
|
||||
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
{
|
||||
"Peers": null,
|
||||
"IPAddrs": null,
|
||||
"IPSubnets": null
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Response: `{}`
|
||||
|
||||
### NetConnect
|
||||
|
||||
|
||||
|
||||
@@ -110,6 +110,9 @@
|
||||
* [NetBandwidthStats](#NetBandwidthStats)
|
||||
* [NetBandwidthStatsByPeer](#NetBandwidthStatsByPeer)
|
||||
* [NetBandwidthStatsByProtocol](#NetBandwidthStatsByProtocol)
|
||||
* [NetBlockAdd](#NetBlockAdd)
|
||||
* [NetBlockList](#NetBlockList)
|
||||
* [NetBlockRemove](#NetBlockRemove)
|
||||
* [NetConnect](#NetConnect)
|
||||
* [NetConnectedness](#NetConnectedness)
|
||||
* [NetDisconnect](#NetDisconnect)
|
||||
@@ -2639,6 +2642,58 @@ Response:
|
||||
}
|
||||
```
|
||||
|
||||
### NetBlockAdd
|
||||
|
||||
|
||||
Perms: admin
|
||||
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
{
|
||||
"Peers": null,
|
||||
"IPAddrs": null,
|
||||
"IPSubnets": null
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Response: `{}`
|
||||
|
||||
### NetBlockList
|
||||
|
||||
|
||||
Perms: read
|
||||
|
||||
Inputs: `null`
|
||||
|
||||
Response:
|
||||
```json
|
||||
{
|
||||
"Peers": null,
|
||||
"IPAddrs": null,
|
||||
"IPSubnets": null
|
||||
}
|
||||
```
|
||||
|
||||
### NetBlockRemove
|
||||
|
||||
|
||||
Perms: admin
|
||||
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
{
|
||||
"Peers": null,
|
||||
"IPAddrs": null,
|
||||
"IPSubnets": null
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Response: `{}`
|
||||
|
||||
### NetConnect
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user