diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-03-27 21:04:22 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-03-27 21:22:36 +0200 |
| commit | 534b8fa560a700c0641e2700b92e40dc1a0066aa (patch) | |
| tree | 6a2ca3e48623d16c33ebca8507af17d0a0c894dc /src/httpserver.cpp | |
| parent | Merge #12778: RPC: Add username and ip logging for RPC method requests (diff) | |
| parent | -blocksdir: keep blockindex leveldb database in datadir (diff) | |
| download | discoin-534b8fa560a700c0641e2700b92e40dc1a0066aa.tar.xz discoin-534b8fa560a700c0641e2700b92e40dc1a0066aa.zip | |
Merge #12653: Allow to optional specify the directory for the blocks storage
a192636 -blocksdir: keep blockindex leveldb database in datadir (Jonas Schnelli)
f38e4fd QA: Add -blocksdir test (Jonas Schnelli)
386a6b6 Allow to optional specify the directory for the blocks storage (Jonas Schnelli)
Pull request description:
Since the actual block files taking up more and more space, it may be desirable to have them stored in a different location then the data directory (use case: SSD for chainstate, etc., HD for blocks).
This PR adds a `-blocksdir` option that allows one to keep the blockfiles and the blockindex external from the data directory (instead of creating symlinks).
I fist had an option to keep the blockindex within the datadir, but seems to make no sense since accessing the index will (always) lead to access (r/w) the block files.
Tree-SHA512: f8b9e1a681679eac25076dc30e45e6e12d4b2d9ac4be907cbea928a75af081dbcb0f1dd3e97169ab975f73d0bd15824c00c2a34638f3b284b39017171fce2409
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions