mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-01 11:16:11 -04:00
Relax rule violations
This commit is contained in:
parent
77ae3a590f
commit
ad33d78fcb
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
package io.bitsquare.p2p.network;
|
package io.bitsquare.p2p.network;
|
||||||
|
|
||||||
public enum RuleViolation {
|
public enum RuleViolation {
|
||||||
INVALID_DATA_TYPE(0),
|
INVALID_DATA_TYPE(2),
|
||||||
WRONG_NETWORK_ID(0),
|
WRONG_NETWORK_ID(0),
|
||||||
MAX_MSG_SIZE_EXCEEDED(2),
|
MAX_MSG_SIZE_EXCEEDED(2),
|
||||||
THROTTLE_LIMIT_EXCEEDED(1),
|
THROTTLE_LIMIT_EXCEEDED(2),
|
||||||
TOO_MANY_REPORTED_PEERS_SENT(1);
|
TOO_MANY_REPORTED_PEERS_SENT(2);
|
||||||
|
|
||||||
public final int maxTolerance;
|
public final int maxTolerance;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue