5a7bb6850f
fixes, cleanups, comments (minor)
2026-09-15 10:51:04 +00:00
f95e8f7f50
move test_suite_autosign_led_simulate cfg var to test suite
2026-09-15 10:51:04 +00:00
e41b2d58a9
pylint fixes
2026-09-15 10:51:04 +00:00
b2cec385ac
remove MMGEN_TEST_SUITE env var
2026-09-15 10:51:04 +00:00
6f4dbcbf9c
Config: remove test_suite key from initializer dict
2026-09-15 10:51:04 +00:00
a84a0613d2
Daemon: clean up handling of test_suite param
2026-09-15 10:51:03 +00:00
253a104e8c
whitespace (hanging closing curly bracket [22 files])
2026-09-15 10:51:03 +00:00
7df22cecd9
whitespace (hanging closing parenthesis [100 files])
2026-09-15 10:51:03 +00:00
75b881a6d3
keygen: move unsafe pubkey generation backends to test suite
...
Though the unsafe implementations in this commit and the preceding ones
are/were only used for testing, their presence in the code base triggers
certain code vulnerability checkers, so best to move them out of harm’s way.
2026-09-15 10:51:03 +00:00
d34f36e4c3
crypto: move pyaes backend to test suite
2026-09-15 10:51:03 +00:00
5b95f47a53
proto.cosmos.tx.protobuf: move ecdsa verify_sig() backend to test suite
2026-09-15 10:51:03 +00:00
cde987efd3
use startswith() instead of string indexing where feasible
2026-09-15 10:51:03 +00:00
9482ecc705
new CR global constant
2026-09-15 10:50:57 +00:00
b036207b86
remove test-related env vars from production code
...
The associated config vars are removed where possible as well.
Attempting to run a non-test script with one of these vars set in the
environment now raises an exception.
2026-09-13 15:50:14 +00:00
c514ce4f6b
remove use of env var MMGEN_TEST_SUITE from production code
2026-09-13 15:50:14 +00:00
9104df0926
add scripts dir to pylint check
2026-09-13 15:50:14 +00:00
41e763c894
cfg: remove some test-related env vars
2026-09-13 15:50:14 +00:00
550b1437ff
cmdtest.py: set command-specific Config attrs in script
2026-09-13 15:50:14 +00:00
53b4429525
minor cleanups
2026-09-13 15:50:14 +00:00
d1db9317fc
opts.py: new --ignore-env global cmdline option
2026-09-13 15:50:14 +00:00
e3138a70f4
cfg.py: rename some test-related env vars
2026-09-13 15:50:14 +00:00
545a685e30
cmdtest_d.base: new utf8_suf property
2026-09-13 15:50:13 +00:00
21060b2c92
add scripts dir to ruff check
2026-09-13 15:50:13 +00:00
4a667873d1
whitespace, comments, formatting (minor)
2026-09-13 15:50:13 +00:00
49a60657ed
proto.btc.tx.info: improve display of swap recv asset and data output
2026-09-13 15:50:13 +00:00
6d98620bfb
xmrwallet: addr_w -> addr_col_w
2026-09-13 15:50:13 +00:00
d6975cac62
xmrwallet: new short_addr_width, hdr_addr_width global vars
2026-09-13 15:50:13 +00:00
0338b3aef2
test suite: more granular testing of legacy and bad version transaction files
...
Disable the exception handler for legacy/bad version TX files on an as-needed
basis only.
2026-09-11 14:10:56 +00:00
0ef7a58487
CmdTestRunner: remove spawn_env_override param
2026-09-11 14:10:56 +00:00
b36ba55303
cmdtest.py: zero cfg file for each test group
2026-09-11 14:10:56 +00:00
8847af9410
support BCH transaction display with multiple TX files
2026-09-11 14:10:56 +00:00
673da14a9f
test suite: add autosign_data_dir
2026-09-11 14:10:56 +00:00
6b4841e760
test suite: data_dir, trash_dir fixups
2026-09-11 14:10:56 +00:00
bf983222d8
test suite: whitespace
2026-09-11 14:10:55 +00:00
728e32a6cd
test suite: rename *BOGUS* environment variables
2026-09-11 14:10:55 +00:00
106da66351
improve setting of is_signing, is_sending; cmdtest.py ref_tx: add test
2026-09-11 14:10:55 +00:00
9f762bb750
cfg: support option setting via ‘overrides’
2026-09-11 14:10:55 +00:00
02d43ef227
cmdtest.py autosign_automount: check mmgen-txsend --status with legacy TX files
2026-09-11 14:10:55 +00:00
034c3a7355
tx.completed, cmdtest.py autosign_automount: minor fixes, param renames
2026-09-11 14:10:55 +00:00
7bd098fd61
cmdtest.py autosign_automount: add XMR TX file to removable device
2026-09-11 14:10:55 +00:00
7f13c85805
cmdtest.py autosign_automount: add legacy TX files to removable device
2026-09-11 14:10:55 +00:00
9666e6871b
XMR compat: support viewing of transaction files
2026-09-11 14:10:55 +00:00
a68a87397b
cmdtest.py autosign: new autosign_txview() method
2026-09-11 14:10:55 +00:00
390fed1a4c
cmdtest.py autosign: cleanups, relocate some methods
2026-09-11 14:10:50 +00:00
b07f41960a
new is_signing and is_sending configuration options
2026-09-10 02:23:39 +00:00
33773ecfd6
new allow_legacy_tx_files and forbid_version_mismatched_tx_files options
...
These options may be set in the cfg file only.
`allow_legacy_tx_files` - allow non-signing and non-sending operations with
legacy non-JSON transaction files (disabled by default)
`forbid_version_mismatched_tx_files` - forbid all operations with transaction
files with missing or mismatched version number (disabled by default)
Refer to the cfg file sample for more details.
2026-09-09 18:33:59 +00:00
7e2aa8088b
transaction versioning
...
Transaction versioning provides a mechanism to require the user to keep
online and offline installations in sync.
2026-09-09 18:33:59 +00:00
650f1902f8
tx.completed: new legacy_fmt_chk() method
...
See dd714815 , 852cdeda
Reject Ethereum transaction files with double-encoded serialized data as well.
2026-09-09 18:33:59 +00:00
2d84015e5e
led.py: add ‘on’ state
2026-09-09 18:33:59 +00:00
d28a767609
cmdtest.py main: create a single-output transaction
2026-09-09 18:33:59 +00:00