Commit graph

2,768 commits

Author SHA1 Message Date
44eb299442
py3port: revert some changes made by 2to3 2018-11-01 20:34:29 +03:00
b558d7bcb0
py3port complete
When the Python 3 port has received sufficient testing, it will be merged into
the master branch.  From then on, MMGen will no longer support Python 2.

Users who wish to run current MMGen versions should upgrade their systems with
Python 3 versions of the prerequisite libraries listed on the
Install-MMGen-on-Debian-or-Ubuntu-Linux wiki page.
2018-10-31 22:12:29 +03:00
0eff2811e1
py3port: update tests 2018-10-31 21:20:59 +03:00
66be913d5d
py3port: update setup.py 2018-10-31 21:19:20 +03:00
9c4d7d725f
py3port: remaining changes to modules 2018-10-31 21:17:58 +03:00
59007ee697
py3port: rewrite secp256k1 extension module 2018-10-31 21:14:32 +03:00
9d694488d9
py3port: Ethereum-related changes 2018-10-31 21:13:27 +03:00
53189f4469
py3port: Zcash and Monero-related changes 2018-10-31 21:12:07 +03:00
66c01a9ed8
py3port: remove context arg from Decimal subclass methods 2018-10-31 21:11:00 +03:00
81548b9a35
py3port: exec, subprocess: 'python' -> 'python3' 2018-10-31 19:37:34 +03:00
af2bec1220
py3port: new HexBytes class 2018-10-31 19:32:03 +03:00
793c808797
py3port: binary, text-mode file reads and writes 2018-10-31 19:18:50 +03:00
a97995c6cb
py3port: use os.write() instead of sys.std{out,err}.write() for terminal output 2018-10-31 19:09:01 +03:00
cc3678619c
py3port: fix single-keypress terminal input 2018-10-31 19:00:13 +03:00
b41d6ae3eb
py3port: fix altcoin_subclass module loading magic 2018-10-31 18:52:05 +03:00
1ef18c4fdb
py3port: initialize coin amts with '0' (str), not 0 (int) 2018-10-31 18:47:56 +03:00
25c31e8c32
py3port: Exception as e: e.message -> e.args[0] 2018-10-31 18:44:10 +03:00
f6d5c5b465
py3port: replace s.encode('hex'), s.decode('hex') with hexlify(), unhexlify() 2018-10-31 18:30:11 +03:00
46438767af
py3port: a few more bytes literals 2018-10-31 18:02:29 +03:00
04329b6757
py3port: use encode() and decode() where applicable 2018-10-31 17:16:00 +03:00
46f44b645b
py3port: use floor division where applicable 2018-10-31 16:38:21 +03:00
2c253c0750
py3port: use bytes literals where applicable ('foo' -> b'foo') 2018-10-31 16:28:54 +03:00
949e42ebf4
py3port: 2to3 on all files
The result of running 2to3-2.7 on all Python files in the repository.
2018-10-30 19:31:14 +03:00
f0fea335eb
py3port: update hashbangs
This is the first commit of the MMGen Python 3 port.  Branch 'py3port', against
master branch commit ab06ca4

Commits are groupings of similar or related changes: automatic changes first,
followed by repetitive and global changes, followed by specific ones

All commits until the final one will leave the branch in a broken state
2018-10-30 19:23:12 +03:00
ab06ca4ea8
Rename traceback file; bump version to 0.9.999 2018-10-30 18:50:18 +03:00
abbdda0dcf
Add return codes to exception classes, handle on exit 2018-10-24 17:09:51 +03:00
3b7fbc1462
test-release.sh: minor changes 2018-10-24 17:05:04 +03:00
67c94010f6
txsign(): improve error handling, always return control to caller 2018-10-23 19:12:33 +03:00
cf78183786
XMR: update wallet syncing tool for 0.13.0.2, add balance summary 2018-10-22 14:39:04 +03:00
92e6d77779
test.py ethdev: support UTF8 filenames, improve balance checks 2018-10-20 22:13:51 +03:00
87a865b9e8
Version 0.9.9a v0.9.9a 2018-10-19 12:06:46 +03:00
0408c4e304
Bitcoin Core v0.17.0 compatibility patch
- support new label API
- support new signrawtransactionwithkey RPC method
2018-10-19 03:30:04 +03:00
b00c11b578
confirm_or_exit() -> confirm_or_raise() 2018-10-16 19:28:33 +03:00
7ebe50dc0b
Use Exception attributes: e.message, e.code 2018-10-16 18:39:33 +03:00
bc3a3db877
Version 0.9.9 v0.9.9 2018-10-16 16:50:49 +03:00
9a89fa0a03
tw view: additional cleanups 2018-10-16 15:50:17 +03:00
084b493b7f
tw view: cleanups, interactive address removal for ETH 2018-10-15 18:58:57 +03:00
80e2530c98
Version 0.9.9rc1 v0.9.9rc1 2018-10-13 19:52:25 +03:00
da9af7fe89
ETH: add coin identifier to tracking wallet 2018-10-13 19:46:51 +03:00
a603f020e2
Add release notes for v0.9.9 2018-10-13 18:53:07 +03:00
ac64ad8b2f
Documentation updates 2018-10-13 18:06:37 +03:00
d9b344d1f5
eth: listaddresses, twview display fixes; add tests
- remove confirmations and days columns in address lists for eth
2018-10-13 18:00:03 +03:00
d4eb8f6ac0
Full Ethereum Classic (ETC) + ERC20 token support
As with ETH transacting support, this feature is in beta phase

All key functionality works, for both ETC and ETC tokens:
- Tracking wallet: getbalance, twview, listaddresses
- TX create, send, sign
- TX bumping
- ERC20 token creation, deployment

For usage details, see https://github.com/mmgen/mmgen/wiki/Altcoin-and-Forkcoin-Support

Differences from ETH:
- Start Parity with --jsonrpc-port=8555 (or --ports-shift=10) and --chain=classic
- Launch MMGen commands with --coin=etc
2018-10-02 21:09:48 +03:00
5eb0bea794
modified: README.md 2018-10-02 20:13:23 +03:00
254412b84d
test.py: eth_args -> eth_args() (minor change) 2018-10-02 10:26:47 +03:00
581ae5c8b2
addr.py: class KeyGeneratorPython cleanups
- move initialization of curve to __init__()
2018-09-30 18:27:01 +03:00
0d77a78a4c
protocol.py: check that private key is within allowable range
- if pk == 0 or pk == secp256k1_ge: FAIL
- if pk > secp256k1_ge: pk = pk % secp256k1_ge
2018-09-29 17:38:50 +03:00
610d0dd243
mmgen-tool: add ‘hextob58chk’ and ‘b58chktohex’ cmds 2018-09-29 13:57:32 +03:00
29933ce0bf
README: edit BIP32 section 2018-09-29 13:46:23 +03:00
dae04b206f
main_addrimport.py: improve error handling 2018-07-31 21:44:36 +03:00