Commit graph

803 commits

Author SHA1 Message Date
27407e75ba
add v0.12.1 release notes 2020-06-27 10:20:03 +00:00
2800efc9cb
help.py: whitespace fixes 2020-06-27 10:16:38 +00:00
bb76e1e3fa
addrimport: display token info; TrackingWallet: token import fix 2020-06-13 17:42:11 +00:00
6ef77e1724
CoinProtocol: remove 'daemon_family' attr 2020-06-13 14:35:53 +00:00
82001409f5
parity -> openethereum 2020-06-13 11:08:54 +00:00
b27da5d90e
CoinProtocol: remove 'daemon_name' attr 2020-06-13 10:21:01 +00:00
af3e6fee34
move RPC port and data dir info from CoinProtocol to Daemon 2020-06-12 13:56:08 +00:00
5be132a84c
mmgen-tool: Monero wallet ops fix 2020-06-12 11:59:30 +00:00
cfa8d19cd0
LTC support/testing fixes
- examples/halving-calculator.py: support LTC and BCH
- test/test.py regtest: support Litecoin Core v0.18.1
- test/unit_tests.py: add LTC test
2020-06-11 14:36:32 +00:00
d1d7132a7c
PubKey: add privkey attribute, perform pubkey_type matching checks 2020-06-09 14:17:46 +00:00
08406665bf
test.py seedsplit: add color support
Testing:

    $ test/test.py -e seedsplit
2020-06-09 10:08:53 +00:00
c7dbdfe756
rewrite tool API test 2020-06-09 09:20:17 +00:00
7412bf56ef
tool.py: fix tool API; test.py: add tool_api test, minor fixes 2020-06-08 17:03:21 +00:00
777f4201a5
test.py regtest: support Bitcoin Core v0.20.0 2020-06-07 17:32:03 +00:00
38ade95f23
test.py ethdev: add color support 2020-06-04 19:22:15 +00:00
53cffc64db
test.py regtest: add color support 2020-06-04 16:50:25 +00:00
797d5cfe03
tool.py: remove global vars at,kg,ag 2020-06-04 12:40:17 +00:00
7d9e4bce00
tool.py: options annotation cleanups 2020-06-04 12:12:03 +00:00
29f553e5f9
test.py: bogus tracking wallet data fixes 2020-06-04 11:45:22 +00:00
685cbbc360
mn_entry.py: select default entry mode with ENTER at prompt 2020-06-03 14:09:21 +00:00
6bc80580e0
test-release.sh: 'noalt' fixes; test.py: ref_altcoin fix 2020-06-03 12:47:55 +00:00
d2055c93da
test.py: allow color for some test groups; minor fixes, cleanups 2020-06-03 12:29:50 +00:00
c27c464a87
obj.py: InitErrors: allow selected exceptions to be passed through 2020-06-02 19:33:15 +00:00
2f6e5f1fc2
test.py: add test for halving calculator 2020-06-02 13:00:18 +00:00
5f22ded095
unit_tests.py: add --no-altcoin-deps option; update in test-release.sh 2020-06-02 11:05:52 +00:00
bc439e0b3d
tw.py: get_tw_label() bugfix 2020-06-01 21:34:11 +00:00
9d8b90f705
modified: examples/halving-calculator.py 2020-06-01 20:59:34 +00:00
b78d7671fd
obj.py: string formatting, whitespace, minor cleanups 2020-06-01 12:01:14 +00:00
0852321c21
obj.py: remove 'on_fail' keyword arg
- During initialization, data objects now invariably raise an exception on
  failure (ObjectInitError by default, configurable via the 'exc' attribute).

- For callers that need to handle the exception, the new get_obj() wrapper is
  provided.

Testing:

    $ test/objtest.py -S
    $ test/objtest.py -S --getobj
2020-06-01 09:59:04 +00:00
5e745f2a08
string formatting, whitespace, minor fixes throughout 2020-06-01 09:25:56 +00:00
1f7cfafd96
add_user_random(): minor cleanups 2020-06-01 09:09:45 +00:00
c2dc09cbf3
get_passphrase,get_hash_preset,get_label: new test, cleanups, fixes 2020-05-30 17:49:22 +00:00
5a5f88b75d
a few minor fixes and cleanups 2020-05-30 17:30:52 +00:00
4c2410e0d6
new Lockable class; lock global vars after initialization (amended) 2020-05-29 16:10:12 +00:00
973c7be78d
string formatting, whitespace, minor fixes and cleanups throughout 2020-05-28 10:13:37 +00:00
c3f185e8b0
eliminate use of global vars g.proto, g.coin, g.rpc and others
This patch eliminates nearly all the global variables that changed during the
execution of scripts.  With a few minor exceptions, global vars are now used
only during initialization or reserved for cfg file / cmdline options and other
unchanging values.

The result is a code base that's much more maintainable and extensible and less
error-prone.  The autosigning code, which supports signing of transactions for
multiple protocols and networks, has been greatly simplified.

Doing away with globals required many changes throughout the code base, and
other related (and not so related) changes and cleanups were made along the
way, resulting in an enormous patch.

Additional code changes include:

    - tx.py: complete reorganization of TX classes and use of nesting

    - protocol.py: separation of Regtest and Testnet into distinct subclasses
      with separate address and transaction files and file extensions

    - new module help.py for the help notes, loaded on demand

    - addr.py: rewrite of the address file label parsing code

    - tx.py,tw.py: use of generators to create formatted text

User-visible changes include:

    - importing of addresses for tokens not yet in the user's tracking wallet
      is now performed with the `--token-addr` option instead of `--token`

Testing:

    Testing this patch requires a full run of the test suite as described on the
    Test-Suite wiki page.
2020-05-28 09:53:34 +00:00
9489b1cb2d
string formatting, whitespace, minor cleanups throughout 2020-05-26 14:53:44 +00:00
7825a6021c
ImmutableAttr: move conversion logic from __set__() to __init__() 2020-05-20 11:09:42 +00:00
8ce3e3c7b1
protocol.py: new class: Secp256k1; formatting, whitespace 2020-05-19 09:14:13 +00:00
9f1d647f07
new class: MMGenTxFile 2020-05-18 13:25:00 +00:00
dda43d9dad
minor changes 2020-05-18 13:24:28 +00:00
144612c6fc
global rename: MMGenTXLabel -> MMGenTxLabel 2020-05-18 10:20:27 +00:00
7a0d4bf298
tx.py: string formatting, whitespace; minor code rewrites 2020-05-18 08:34:36 +00:00
be6a7ef2f5
ImmutableAttr,ListItemAttr: minor cleanups 2020-05-17 20:42:27 +00:00
28b4f56919
coin protocol, txview: minor cleanups 2020-05-16 18:46:40 +00:00
4204a32311
coin protocol: minor cleanups 2020-05-16 16:07:28 +00:00
43432327c7
global change: init_coin() -> g.proto = init_proto() 2020-05-16 12:44:43 +00:00
17ce9e54b5
opts.py: minor cleanups 2020-05-16 12:01:04 +00:00
c2cdfa429f
rpc: add BCH unit test; Daemon: move list attrs from class to instance 2020-05-16 10:47:54 +00:00
94e3b1c0b0
CoinProtocol: use capitalized 'name' attr; related cleanups, fixes 2020-05-16 10:04:03 +00:00