CLI parameter for "blocks" dir ( not datadir ) #11998

issue php-wizard opened this issue on December 23, 2017
  1. php-wizard commented at 2:50 PM on December 23, 2017: none

    Hello, i am keeping my sensitive wallet data (i.e. wallet.dat) on a Veracrypt drive, so i launch my full node with -datadir=< veracrypt volume here >

    But in that same folder Bitcoin Core keeps the "blocks" subdirectory as well. The problem is that write operations on a Veracrypt volume are extremely slow due to real-time encryption, so the sync is taking ages.

    So i may want an additional parameter , say "-blocks-datadir" , to be able to download the blockchain on a non-Veracrypt drive , since the blockchain is not sensitive info, while wallet.dat is.

    Are you planning to add such a parameter? Or do you have other solutions to this?

    Thanks

    p.s. i have tried creating a folder junction ( hard link) with mklink /J ( i am under windows ) , in order to point the "blocks" folder to another drive. But folder junctions only work with NTFS volumes, and my Veracrypt volume is exFAT. A solution would be to create a new Veracrypt volume , this time NTFS.

    But if there is already a "blocks-datadir" wallet parameter it would be easier for me. Thanks!

  2. sipa commented at 2:52 PM on December 23, 2017: member

    Master (and 0.16) will have a -walletdir option.

  3. MarcoFalke closed this on Dec 23, 2017

  4. MarcoFalke locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 00:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me