Commit graph

2,768 commits

Author SHA1 Message Date
0493f8077b
test suite: use getrand() instead of os.urandom() 2021-10-02 17:54:12 +00:00
ffa6d44834
test suite: add end_msg() 2021-10-02 17:54:11 +00:00
e957b84def
init_color(): allow disabling of color with num_colors=0 2021-10-02 17:54:11 +00:00
ea5eedcff3
minor changes, whitespace 2021-10-02 17:54:11 +00:00
579226ee7d
AddrList: display checksum only where relevant 2021-10-02 17:54:10 +00:00
8c45829682
add remove_dups() function, use lists instead of sets to preserve order 2021-10-02 17:54:10 +00:00
6692a43d59
f-strings, whitespace (test files) [44 files patched] 2021-09-29 21:17:57 +00:00
2872d4b683
f-strings, whitespace (program files) [43 files patched] 2021-09-29 21:17:56 +00:00
a093075fd5
test.py: add --no-timings option 2021-09-29 21:17:56 +00:00
e91b139c99
test.py: begin implementing TEST_SUITE_DETERMINISTIC 2021-09-29 21:17:56 +00:00
565dd6da62
scripts/traceback_run.py: improve color initialization code 2021-09-29 21:17:55 +00:00
fe756f7303
minor test suite fixes 2021-09-29 21:17:55 +00:00
c82eb9d149
setup.py,setup.cfg: Windows build fixes 2021-09-26 21:16:55 +00:00
eccc48b37f
minor fixes and cleanups 2021-09-26 21:16:55 +00:00
877be3f877
test.py ethdev: support Erigon (WIP) 2021-09-26 21:16:54 +00:00
db4c0158fb
test.py: clean tmpdirs before initializing test groups 2021-09-26 21:16:54 +00:00
229107a8a9
CoinProtocol.Ethereum: generate checksummed addresses 2021-09-26 21:16:21 +00:00
395d3c1a20
test.py: whitespace, remove 'non_mmgen_inputs' parameter 2021-09-26 21:16:20 +00:00
50d8fc8422
test.py ethdev: variable renames 2021-09-26 21:16:20 +00:00
b400b26029
test suite: improve handling of BOGUS_SEND environment var 2021-09-26 21:16:20 +00:00
4c35218fc2
unit_tests.py: new testdep test 2021-09-26 21:16:20 +00:00
cd7e6595ea
unit_tests.py: new 'win_skip' attribute 2021-09-26 21:16:19 +00:00
e9b0c9e325
unit_tests.py daemon: refactor to use subtest API 2021-09-26 21:16:19 +00:00
5afa3f5118
ts_main.py: f-strings 2021-09-26 21:16:19 +00:00
d75ffea985
test suite: whitespace 2021-09-26 21:16:18 +00:00
25fb862390
setup.py: fully automate secp256k1 extension module build
The secp256k1 library is now cloned from Github and built automatically.  It’s
linked statically to the extension mod, so that the resulting wheel can run on
a system without libsecp256k1 installed.
2021-09-24 20:07:06 +00:00
1b1b511a09
finish dependency unit test 2021-09-24 20:07:06 +00:00
8559b9c668
do_hashlib_scrypt(): cleanups 2021-09-24 20:07:05 +00:00
33a576a969
addr.py: KeyGeneratorPython: clean up code 2021-09-24 20:07:05 +00:00
43684c8283
unit_tests.py: add --exclude option 2021-09-24 20:07:05 +00:00
86f263d2d4
minor cleanups 2021-09-24 20:07:04 +00:00
4a9571424e
setuptools: migrate from setup.py to setup.cfg
The preferred way to install MMGen is now:

    # cd to repository root
    $ python3 -m build --no-isolation
    $ pip3 install --user dist/*.whl

A user install eliminates reliance on superuser privileges and prevents
conflicts with Python packages that may already be installed on the system.

Python dependencies are automatically installed by pip.
2021-09-23 21:28:06 +00:00
f6d313dbcb
{start,stop}-coin-daemons.py: reimplement to eliminate use of symlink 2021-09-23 21:15:33 +00:00
511aa79fc8
add dependency unit test (WIP) 2021-09-23 21:15:33 +00:00
906f0320d1
minor fixes and cleanups 2021-09-23 21:15:32 +00:00
ea81d466a8
move data files to package directory
- The former location of the data files, /usr/local/share/mmgen, is no longer
  used and may be safely deleted.
2021-09-23 21:15:32 +00:00
9c5f4de936
scripts/create-token.py, test.py oneshot_warning; minor fixes 2021-09-05 18:40:44 +00:00
016f83f0d7
require >= Python 3.7
This means that Ubuntu Bionic (Python 3.6.9) is no longer supported
2021-09-05 18:40:43 +00:00
8d1eff7eed
util.py: remove unused functions 2021-09-05 18:40:43 +00:00
af710a9c82
util.py: minor cleanups, function renames 2021-09-05 18:40:43 +00:00
cf1f179fbf
util.py: f-strings, whitespace, minor cleanups 2021-09-05 18:40:42 +00:00
530571f610
scripts/create-token.py: cleanups, sanity checks 2021-09-04 18:34:09 +00:00
7e2ef3a059
subclass pwfile_reuse_warning from oneshot_warning 2021-09-04 18:34:09 +00:00
eaeeef97c0
test.py ethdev: update solc to v0.8.7, update precompiled contract data 2021-09-03 20:17:25 +00:00
4742255ad2
test.py ethdev, scripts/create-token.py: cleanups 2021-09-03 20:17:25 +00:00
d2d2ce2ef7
cfg.py: improve missing file warning 2021-09-03 20:17:25 +00:00
7be1114f3b
new oneshot_warning_group class 2021-09-03 20:17:24 +00:00
424c9f1593
minor fixes and cleanups 2021-09-03 20:17:24 +00:00
7f5a1c666d
setup.py: distutils -> setuptools 2021-09-03 20:17:23 +00:00
e719b5eb88
CoinAmt: improve delegation of arithmetic ops, cleanups, add unit test
Testing:

    $ test/unit_tests.py -v obj.coinamt
2021-09-01 16:56:47 +00:00