pool: increase blocktxn limit.

This commit is contained in:
Christopher Jeffrey 2017-03-07 22:43:46 -08:00
parent 75f4e9616f
commit 604362effd
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -2841,7 +2841,7 @@ Pool.prototype.handleCmpctBlock = co(function* handleCmpctBlock(peer, packet) {
}
if (this.options.blockMode === 1) {
if (peer.compactBlocks.size >= 10) {
if (peer.compactBlocks.size >= 15) {
this.logger.warning('Compact block DoS attempt (%s).', peer.hostname());
peer.destroy();
return;