In geth using Mist I noticed that I have 2 keystores in two different places. One for the main blockchain in Users/<user>/Library/Ethereum/keystore/ (OS X) and on testnet in Users/<user>/Library/Ethereum/testnet/keystore/.
I also have a private chain that I am setting up in an entirely different directory.
I haven't mined yet because I want to create a new account, but when I did create one from the command line geth account new it placed it in the keystore for mainnet.
I would say this is potentially very confusingat best dangerous at worst, especially if you demo using private blockchains and backing them up.
I'm guessing I'm missing a command argument of some kind to force the creation of a different keystore. How do I do that?
--keystoreor does the inclusion of the--datadir "/path/to/chain/directory"do enough? – T9b Apr 15 '16 at 23:53--keystoreis no longer available ingeth version 1.3.5. – T9b Apr 16 '16 at 00:04geth --datadir "/path/to/chain/directory" account newnothing else is needed. – T9b Apr 16 '16 at 00:21--keystorein recent versions of Geth. If you also see--keystore, can we clean up these comments? – eth Aug 07 '16 at 08:50