aboutsummaryrefslogtreecommitdiff
path: root/src/rpcmining.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2012-08-16 02:21:28 +0200
committerPieter Wuille <[email protected]>2012-10-20 23:08:57 +0200
commitbba89aa82a80f0373dcb7288d96d5b0fcb453d73 (patch)
treef3b4fd8649021b52e19cfdf4620ffead5f30910e /src/rpcmining.cpp
parentMultiple blocks per file (diff)
downloaddiscoin-bba89aa82a80f0373dcb7288d96d5b0fcb453d73.tar.xz
discoin-bba89aa82a80f0373dcb7288d96d5b0fcb453d73.zip
Pre-allocate block and undo files in chunks
Introduce a AllocateFileRange() function in util, which wipes or at least allocates a given range of a file. It can be overriden by more efficient OS-dependent versions if necessary. Block and undo files are now allocated in chunks of 16 and 1 MiB, respectively.
Diffstat (limited to 'src/rpcmining.cpp')
0 files changed, 0 insertions, 0 deletions