Commit graph

212 commits

Author SHA1 Message Date
philemon
978565f5bf
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.
2016-11-21 19:59:03 +03:00
philemon
456cc1f76c
Long (common) opts added for setting global vars; display with '--longhelp'.
Datadir '~/.mmgen' and config file 'mmgen.cfg' added:
  * Global vars are now overriden in this order:
    1) config file
    2) environmental variables beginning with 'MMGEN_' (listed in globalvars.py)
    3) command line

Always get user entropy, even for non-critical randomness, unless '-r0'.

rpcuser,rpcpassword now override cookie authentication, as with Core.

RPC to remote daemon now supported with '--rpc-host' option.
2016-11-17 18:10:27 +03:00
philemon
3897ec3297
Version 0.8.7a
--testnet option added to all relevant scripts
  utility scripts under scripts/ updated
2016-11-14 14:45:08 +03:00
philemon
680ea8a5fc OO rewrite mostly done
Colored output
2016-07-26 22:16:25 +03:00
philemon
5ca6412b23 object-oriented tracking wallet code
updates for oo tx code
updates for test/test.py
2016-07-12 22:25:53 +03:00
philemon
3f2a866c47 New object-oriented TX code 2016-07-04 21:47:32 +03:00
philemon
a3c4bd8731 New feature: export wallet to incognito format
Incognito wallet is 48, 56 or 64 bytes of apparently random data.

  Allows user to hide wallet data in a pre-existing file or on a disk
  partition (preferably filled in advance with random data).

  Can be used to hide wallet securely in unencrypted cloud storage or
  on paper, without revealing the nature of the data.

  Data may be written at a user-specified offset into the file or
  partition, in which case user must remember the offset.

  Each export operation uses a new random init vector to create different
  data each time.  This allows the user to hide wallets at different
  locations on the Net without detection.

  User must remember hash preset in addition to passphrase (though trial
  and error can be used if it's forgotten).

  Fully integrated with address generation and tx signing operations.
2014-07-14 18:31:00 +04:00
philemon
afa3fe609a Code cleanups 2014-03-15 23:03:24 +04:00
philemon
e18c75eb36 renamed: scripts/pywallet.py -> mmgen-pywallet 2014-02-02 22:53:47 +04:00
philemon
d801580b76 Added custom pywallet.py in scripts/
Features: prompt for password; dump keys to flat list
2014-01-30 23:56:38 +04:00
philemon
aa66a44066 TX scripts updates; import address feature added
new file:   mmgen-addrimport
	new file:   mmgen/connection.py
	new file:   mmgen/proxy.py
2013-12-08 07:36:49 +04:00
philemon
35ddbc029c Added transaction creation/signing scripts
modified:   MANIFEST
	new file:   mmgen-txcreate
	new file:   mmgen-txsign
	modified:   mmgen/__init__.py
	modified:   mmgen/bitcoin.py
	modified:   mmgen/config.py
	modified:   mmgen/license.py
	new file:   mmgen/tx.py
	modified:   mmgen/utils.py
	new file:   scripts/bitcoind-walletunlock.py
	modified:   setup.py
2013-12-05 00:10:05 +04:00