Data directory, config file and default wallet support:

* Under Linux, data directory is '~/.mmgen'; config file is 'mmgen.cfg'.
 * If default wallet is enabled, specifying the wallet on the command line is
   no longer necessary.  If not, all MMGen commands behave as previously.
 * The datadir structure mirrors that of Bitcoin Core: mainnet and testnet
   share a common config file, but testnet puts its other files including its
   default wallet in a separate subdirectory 'testnet3'.

New routines have been added to the test suite to test these features.
Tested only under Linux.
This commit is contained in:
philemon 2016-11-21 19:59:03 +03:00
commit 978565f5bf
Signed by untrusted user who does not match committer: mmgen
GPG key ID: 62DBE9E5212F05BE
22 changed files with 533 additions and 397 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
CMD='rm -rf /usr/local/bin/mmgen-* /usr/local/lib/python2.7/dist-packages/mmgen*'
CMD='rm -rf /usr/local/share/mmgen /usr/local/bin/mmgen-* /usr/local/lib/python2.7/dist-packages/mmgen*'
if [ "$EUID" = 0 ]; then
set -x; $CMD