Increase block cache size to 400k for faster wallet sync

- Increase default cache-size from 40,000 to 400,000 blocks
- Add Python gRPC protobuf bindings for testing
This commit is contained in:
2026-03-21 03:50:55 -05:00
parent aae94a4f3c
commit ec1c479156
10 changed files with 574 additions and 2 deletions

View File

@@ -258,6 +258,12 @@ func GetBlockRange(rpcClient *rpcclient.Client, cache *BlockCache,
return
}
if block == nil {
errOut <- errors.New(
fmt.Sprintf("Block %d was nil without error", i))
return
}
blockOut <- *block
}