diff options
| author | Pieter Wuille <[email protected]> | 2011-06-30 23:29:44 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2011-07-01 09:39:44 +0200 |
| commit | 497317453422611a077f7f195eb193d3bb597a9c (patch) | |
| tree | 3063ec6de27084fd37a62d72bdefb8eee28558c7 /src/script.cpp | |
| parent | Merge pull request #367 from TheBlueMatt/dnsseed (diff) | |
| download | discoin-497317453422611a077f7f195eb193d3bb597a9c.tar.xz discoin-497317453422611a077f7f195eb193d3bb597a9c.zip | |
Limit response to getblocks to half of output buffer size
Introduce SendBufferSize() and ReceiveBufferSize(), and limit
the blocks sent as response to the "getblocks" message to
half of the active send buffer size.
Diffstat (limited to 'src/script.cpp')
0 files changed, 0 insertions, 0 deletions