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
af0bfc342c
obj.py: new CoinAmt abstract class
2021-09-01 16:56:47 +00:00
8e457707f0
BTCAmt: remove 'min_coin_unit' attribute
2021-09-01 16:56:47 +00:00
73c3a06e29
util.py: add check_binary(), shred_file()
2021-09-01 16:56:47 +00:00
fcc75b65e5
minor fixes and cleanups
2021-09-01 16:56:34 +00:00
84aadc284f
Support Python 3.9
2021-08-26 17:30:22 +00:00
43bf6d0029
daemon.py: support Bitcoin Cash Node v23.1.0, minor changes
2021-08-26 17:29:25 +00:00
3a15e62bbe
Daemon: reimplement flags and opts using ClassFlags,ClassOpts
2021-08-10 19:38:21 +00:00
f379cde0fc
new ClassFlags,ClassOpts classes
2021-08-10 19:38:20 +00:00
d7b0133bf4
AttrCtrl,Lockable: forbid relocking, perform additional check
2021-08-10 19:38:20 +00:00
92ebb62490
minor changes and fixes
2021-08-08 19:14:52 +00:00
1c5a9de89b
CoinDaemon: improve port allocation logic, add 'p2p_port' arg
2021-08-08 11:59:20 +00:00
21c9690069
aInitMeta -> AsyncInit
2021-08-07 19:49:45 +00:00
d00dc7987b
unit_tests.py rpc: test all configured daemon_ids
2021-08-07 15:33:43 +00:00
ca86da1c1b
AttrCtrl,Lockable: add autolocking
2021-08-07 15:33:28 +00:00
dda845c943
unit_tests.py rpc: add testnet tests for Bitcoin and forks
2021-08-06 18:34:49 +00:00
b14cbb1764
daemon.py: minor fixes and cleanups
2021-08-06 18:34:42 +00:00
ca8b4dc31f
CoinDaemon: init fixes and cleanups
2021-08-05 22:15:47 +00:00
ac7bced579
ETH: support Geth
...
- Select with --daemon-id=geth
- Geth is not tested on mainnet yet
Testing:
$ test/test.py -e --coin=eth --daemon-id=geth ethdev
2021-08-05 14:25:16 +00:00
8965c30aff
add oneshot_warning class, daemon_warning subclass
2021-08-05 14:11:46 +00:00
8de120b667
minor fixes and cleanups
2021-08-05 14:11:45 +00:00
25b0a0c995
test/start-coin-daemons.py: import daemon module after opts.init()
2021-08-04 11:34:28 +00:00
b88c4bbd48
ETH: add experimental support for Erigon
...
https://github.com/ledgerwatch/erigon
- Support is for testing/development only
- Enable with MMGEN_ENABLE_ERIGON environmental var
- Specify with --daemon-id=erigon
2021-08-04 10:47:20 +00:00
9f24236188
minor fixes and cleanups
2021-08-04 10:47:20 +00:00
08ea12b8e5
Daemon: enable attribute locking
2021-08-04 10:47:19 +00:00
6c4ca8ad52
Lockable: allow all non-int attrs to be considered unset
2021-08-04 10:47:19 +00:00