Increase getBlocks limit to 1000 (#1572)

This commit is contained in:
Ori Newman 2021-03-02 18:24:37 +02:00 committed by GitHub
parent 32cd643e8b
commit 1548ed9629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ import (
const (
// maxBlocksInGetBlocksResponse is the max amount of blocks that are
// allowed in a GetBlocksResult.
maxBlocksInGetBlocksResponse = 100
maxBlocksInGetBlocksResponse = 1000
)
// HandleGetBlocks handles the respectively named RPC command