This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CBR-454] Correct window size when streaming blocks
When a node syncs with mainnet it maintains a window which controls how many blocks the peer it syncs with is permitted to have outstanding. The client incorrectly increased the window which, when the server manages to send faster than the client was able to write to disk, would lead to a very large memory consumption until all blocks where written.
- Loading branch information