Commit graph

815 commits

Author SHA1 Message Date
cb7f38370b
Update copyright dates 2021-02-19 20:09:06 +03:00
b183682e57
Support Bitcoin Cash Node (BCH,BCHN), update documentation
Support the majority chain after the Nov. 15 BCH -> BCHA,BCHN split
2020-12-16 22:35:00 +03:00
15a5de5e94
tooltest2.py: minor fix 2020-12-16 22:31:43 +03:00
ac45bddca0
tool: add 'to_bytespec' command; minor changes 2020-10-23 14:26:47 +00:00
15876f4e37
Minor changes 2020-10-19 18:29:57 +00:00
52d26ded5f
rpc.py: support Bitcoin Core v0.20.1; tx.py: minor fix, cleanups 2020-09-28 09:04:13 +00:00
474dd0df20
setup.py: fix module paths 2020-09-21 14:40:50 +00:00
2f3819ef9e
mmgen-tool syncmonerowallets: display total wallet balance correctly 2020-09-21 14:37:00 +00:00
1fa4f601d0
Version bump; minor changes, fixes 2020-07-29 14:39:32 +00:00
4c7944e5b7
Version 0.12.1 v0.12.1 2020-06-27 10:26:38 +00:00
fe88ca8ed3
update documentation from wiki 2020-06-27 10:25:00 +00:00
1ff7f3e5ba
various build and testing fixes 2020-06-27 10:22:01 +00:00
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