diff --git a/node/src/main/resources/application.conf b/node/src/main/resources/application.conf index b696cfeabd..82ece8dec3 100644 --- a/node/src/main/resources/application.conf +++ b/node/src/main/resources/application.conf @@ -93,7 +93,7 @@ waves { # If yes the node requests peers and sends known peers enable-peers-exchange = yes - # If yes the node can blacklist others + # If yes the node can blacklist incoming and outgoing connections to other nodes enable-blacklisting = yes # How often connected peers list should be broadcast @@ -105,6 +105,7 @@ waves { # respond in a timely manner, it gets blacklisted. handshake-timeout = 30s + # The node can't connect to suspended nodes suspension-residence-time = 1m # When a new transaction comes from the network, we cache it and doesn't push this transaction again when it comes diff --git a/node/src/main/scala/com/wavesplatform/state/diffs/invoke/InvokeDiffsCommon.scala b/node/src/main/scala/com/wavesplatform/state/diffs/invoke/InvokeDiffsCommon.scala index 3a699ca72f..5c7b7c5726 100644 --- a/node/src/main/scala/com/wavesplatform/state/diffs/invoke/InvokeDiffsCommon.scala +++ b/node/src/main/scala/com/wavesplatform/state/diffs/invoke/InvokeDiffsCommon.scala @@ -347,11 +347,6 @@ object InvokeDiffsCommon { private def checkDataEntries(blockchain: Blockchain, tx: InvokeScriptLike, dataEntries: Seq[DataEntry[?]], stdLibVersion: StdLibVersion) = for { - _ <- Either.cond( - dataEntries.length <= ContractLimits.MaxWriteSetSize, - (), - s"WriteSet can't contain more than ${ContractLimits.MaxWriteSetSize} entries" - ) _ <- Either.cond( tx.enableEmptyKeys || dataEntries.forall(_.key.nonEmpty), (), {