Changed NetStatus to depend on an enum instead of actual string.
This commit is contained in:
@ -100,7 +100,25 @@ Response:
|
||||
<li>**i2p.router.net.bw.inbound.15s – [double] The 15 second average inbound bandwidth in Bps.</li>
|
||||
<li>**i2p.router.net.bw.outbound.1s – [double] The 1 second average outbound bandwidth in Bps.</li>
|
||||
<li>**i2p.router.net.bw.outbound.15s – [double] The 15 second average outbound bandwidth in Bps.</li>
|
||||
<li>**i2p.router.net.status – [String] What the current netowrk status is.</li>
|
||||
<li>**i2p.router.net.status – [long] What the current network status is. According to the below enum:
|
||||
<ul>
|
||||
<li>9 – OK</li>
|
||||
<li>14 – TESTING</li>
|
||||
<li>8 – FIREWALLED</li>
|
||||
<li>13 – HIDDEN</li>
|
||||
<li>6 – WARN_FIREWALLED_AND_FAST</li>
|
||||
<li>5 – WARN_FIREWALLED_AND_FLOODFILL</li>
|
||||
<li>4 – WARN_FIREWALLED_WITH_INBOUND_TCP</li>
|
||||
<li>12 – WARN_FIREWALLED_WITH_UDP_DISABLED</li>
|
||||
<li>0 – ERROR_I2CP</li>
|
||||
<li>1 – ERROR_CLOCK_SKEW</li>
|
||||
<li>2 – ERROR_PRIVATE_TCP_ADDRESS</li>
|
||||
<li>3 – ERROR_SYMMETRIC_NAT</li>
|
||||
<li>7 – ERROR_UDP_PORT_IN_USE</li>
|
||||
<li>10 – ERROR_NO_ACTIVE_PEERS_CHECK_CONNECTION_AND_FIREWALL</li>
|
||||
<li>11 – ERROR_UDP_DISABLED_AND_TCP_UNSET</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>**i2p.router.net.tunnels.participating – [long] How many tunnels on the I2P net are we participating in.</li>
|
||||
<li>**i2p.router.netdb.activepeers – [long] How many peers have we communicated with recently.</li>
|
||||
<li>**i2p.router.netdb.fastpeers &ndasg; [long] How many peers are considered 'fast'.</li>
|
||||
|
Reference in New Issue
Block a user