Inconsistent interaction between datadir and blocksdir in conf files
If datadir
is outside of the net sections in bitcoin.conf ([main], [test] etc) then an unspecified blocksdir
would follow it as expected. However, if datadir
is inside the net section in conf file, unspecified blocksdir
would unexpectedly remain on default unless specified itself. Tested on Linux x86_64 with v27.0.0, both mainnet and testnet3.
There's no obvious reason why the behavior should not be made consistent, i.e. unspecified blocksdir
should always follow datadir
both globally and in specific sections.