bitcoinjs/bitcoinjs-server — Issue #66: Default directory for testnet should be different
Author: jpierre
Created: 2012-03-03 15:48:02+00:00
State: open

The provided configuration file at settngs.example.js could well be renamed to settings.js. It contains sensible defaults that can be used as-is to provide a reasonable daemon setup. Nevertheless, changing the default network to testnet should always be accompanied with a corresponding change of the working directory, even when we're relying on default value. This makes the program go crazy when calling it with --testnet after having downloaded the blockchain for testnet, since it's using the same database for both.

I propose we use a different directory for Testnet by default, maybe a testnet subdir in .bitcoinjs, in the same vein as the official Bitcoin client.

What do you think?