pool: increase blocktxn limit.
This commit is contained in:
parent
75f4e9616f
commit
604362effd
@ -2841,7 +2841,7 @@ Pool.prototype.handleCmpctBlock = co(function* handleCmpctBlock(peer, packet) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.options.blockMode === 1) {
|
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());
|
this.logger.warning('Compact block DoS attempt (%s).', peer.hostname());
|
||||||
peer.destroy();
|
peer.destroy();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user