ab41b78863
new platform global constant
2026-05-17 18:03:32 +00:00
f840069ecb
update copyright dates
2026-02-11 13:02:12 +00:00
6ccf29fb21
util.py: new isAsync() function
2025-10-01 15:30:56 +00:00
587397f9c1
test suite: use match statement where practicable (2 files)
2025-09-23 09:20:54 +00:00
1ecde8880b
minor cleanups (9 files)
2025-09-23 09:20:53 +00:00
4573e170ed
test suite: use match statement where practicable (21 files)
2025-09-23 09:20:53 +00:00
d13baa1a07
isinstance(): use type union operator (11 files changed)
2025-09-23 09:20:53 +00:00
e54f039690
update copyright dates
2025-02-16 14:42:27 +00:00
74bc49f973
whitespace: tests, top level
2024-10-18 10:32:12 +00:00
5150ca586b
update file header
2024-10-18 10:32:06 +00:00
66521a07f2
update --longhelp text
2024-10-08 12:55:58 +00:00
cb113ffc82
test suite: cleanups
2024-09-29 11:59:56 +00:00
3b4e9ebc1e
pylint: test suite, examples
2024-09-20 09:36:06 +00:00
6d87cb3980
minor fixes
2024-08-26 13:47:01 +00:00
a0eb2871f9
minor fixes and cleanups throughout
2024-07-27 09:56:20 +00:00
659b4d2343
tooltest2: de-async main()
2024-07-27 09:56:15 +00:00
ad4505f149
Config: add _set_quiet() method
2024-07-27 09:16:42 +00:00
79f1bac97f
main.py, exec_wrapper.py: improve error output
2024-02-22 12:48:14 +00:00
8e46932475
update copyright dates
2024-01-19 11:05:10 +00:00
4c49a6e59c
launch test and helper scripts with main.launch()
2023-12-12 10:19:51 +00:00
3f9a0455d1
tooltest2.py: move test vectors to test.tooltest2_d.data
2023-12-12 10:19:50 +00:00
63a529845a
main.py, test suite: minor cleanups
2023-12-12 10:19:50 +00:00
5b02ceb87c
minor cleanups
2023-12-07 16:48:01 +00:00
32b3558581
BTC-only testing fixes
2023-11-21 15:48:10 +00:00
a7e816f98e
test suite: make test scripts importable as modules
2023-10-13 09:51:14 +00:00
6a21044127
test suite: improve initialization of sys.path and repo_root
2023-10-13 09:51:14 +00:00
60ce46c768
test rename: test.py -> cmdtest.py
2023-10-13 09:51:14 +00:00
0a1e3c3c98
pylint integration: gc.platform -> sys.platform
2023-10-13 09:51:12 +00:00
2076c0308b
pylint (test suite) - various cleanups
2023-10-11 12:58:53 +00:00
775e596dda
pylint (test suite) - unused variables
2023-10-11 12:58:52 +00:00
9a8f6216f7
pylint (test suite) - f-strings
2023-10-11 12:58:52 +00:00
033822f565
pylint (test suite) - use "is" for bool,None,type equality
2023-10-11 12:58:52 +00:00
07d2d6dcb9
pylint (test suite) - type comparison with isinstance()
2023-10-11 12:58:51 +00:00
7b32c412d5
pylint (test suite) - imports
2023-10-11 12:58:51 +00:00
01430166e5
whitespace, comments, docstrings (test suite)
2023-10-11 12:58:51 +00:00
e99950373a
delete mmgen/common.py; import fixes and cleanups throughout (deglob)
2023-10-03 14:27:57 +00:00
f626fc2e05
missing import fixes throughout
2023-10-03 14:27:57 +00:00
aff850d1c8
test suite: import cleanups
2023-10-03 14:27:57 +00:00
31a6e62a24
test suite: sys.path, overlay, PYTHONPATH cleanups
2023-09-26 10:23:40 +00:00
845470302d
test suite: remove --system option, minor cleanups
2023-09-26 10:23:40 +00:00
dc685e9ced
mmgen-keygen: new viewkey-address file type
...
Generate using the --viewkeys option
Testing:
$ test/unit_tests.py --verbose addrlist.viewkeyaddr
$ test/tooltest2.py --fork --verbose --coin=xmr viewkeyaddrfile_chksum
$ test/test.py -e ref_viewkeyaddrfile_gen_xmr ref_viewkeyaddrfile_chk_xmr
2023-04-18 18:35:53 +00:00
9e1935ad19
opts.init() -> Config()
2023-04-04 16:04:10 +00:00
c7adb56e38
Config API, Part I
...
This patch eliminates the global configuration variables `opt` and `g`, making
all functions and class instances locally configurable. Configuration data is
passed to functions and constructors via the `cfg` parameter and made available
to methods in `self.cfg`.
Local configuration free from dependence on the command line will enable the
creation of multiple, independently configured instances of MMGen’s data
objects within a single process.
Potential applications include testing (tracking wallets configured to interact
with spawned processes, for example) and the use of MMGen as a library for
other projects.
This patch completes most of the work required to enable the API. The full
implementation will appear in a forthcoming commit.
2023-03-28 18:14:37 +00:00
c3ce1ab8e3
globalvars.py: new GlobalConstants (gc), GlobalVars (gv) classes
...
- The attributes of GlobalConstants are non-configurable. They’re constant
for a given machine, user, executable and MMGen release.
- The attributes of GlobalVars, `stderr` and `stdout`, are used by the test
suite to redirect msg() and friends to /dev/null.
- All the aforementioned attributes formerly belonged to GlobalConfig.
2023-03-28 18:14:36 +00:00
1aeefd64ae
update copyright dates
2023-01-03 10:36:07 +00:00
20f4b12832
module docstring cleanups [134 files]
2022-11-14 09:54:07 +00:00
4b9d79fabd
int2bytespec(): add strip, add_space args
2022-10-27 16:45:57 +00:00
c74e15669b
util.py: run_session() -> async_run()
2022-10-17 18:37:23 +00:00
8184fe195d
mmgen-tool: relocate ETH chksum and Geth wallet key commands
2022-05-08 10:07:16 +00:00
af65676db5
tool pubhex2addr: support non-Bitcoin protocols, add test vectors
...
- Prior to this patch, the command produced incorrect output for ETH, XMR
and ZEC-Z protocols.
2022-04-28 11:00:52 +00:00