Commit graph

22 commits

Author SHA1 Message Date
93bb5ebcb5
global rename: Daemon -> CoinDaemon 2020-02-08 17:58:56 +00:00
6f0e51d566
Daemon: handle path and RPC port selection logic in class 2020-02-08 17:43:59 +00:00
12e742fb00
global rename: TestDaemon -> Daemon 2019-12-10 18:27:19 +00:00
ac02cf66a6
file rename: test_daemon.py -> daemon.py 2019-12-10 18:16:56 +00:00
3d9bcd7876
test.py ethdev: auto-use precompiled contract data if solc not available 2019-12-08 18:38:31 +00:00
ebe21cf8d8
TestDaemon: support ETH; test.py: start/stop parity automatically 2019-12-08 18:36:40 +00:00
69890d831b
TestDaemon: use non-standard RPC ports 2019-12-08 18:29:46 +00:00
fe8fdabdab
test_daemon.py,rpc.py: various cleanups 2019-12-08 18:19:12 +00:00
57682dce3f
test.py: cleanups and fixes throughout 2019-10-24 16:21:09 +00:00
6cf4fcc7e4
Use subprocess.run() throughout, related cleanups 2019-10-23 09:31:21 +00:00
d49159a92b
various changes and fixes 2019-10-10 22:53:43 +03:00
d0f8c44b20
TrackingWallet: balance caching, Parity light client optimizations
- activated for Ethereum only, but framework exists for all coins
- both session caching and persistent caching in the wallet are supported
- network-destined RPC calls are never repeated in a given invocation
- RPC balance lookups can be suppressed entirely with --cached-balances
2019-07-05 16:03:03 +03:00
d7bfc8307e
support 80-screen-width tracking wallet labels
Labels with double-wide CJK characters can already occupy 80 terminal cells.
Extend the same privilege to all labels.
2019-05-28 17:49:45 +03:00
11cca53660
test suite: minor fixes and additions 2019-05-25 18:04:14 +03:00
13ab25764f
[msys2]: test suite fixes and additions 2019-05-20 18:44:32 +03:00
dcab10949e
Support MSWin via MSYS2
This is a work in progress.  Currently, basic operations for BTC and ETH are
supported.

The successor to the MinGW64 project, MSYS2 features package management via
`pacman` and support for Python 3:

    https://sourceforge.net/projects/msys2
    https://www.msys2.org
2019-03-25 13:07:04 +03:00
66d0f76635
Eliminate dependencies on all ethereum packages except py_ecc
The rationale for this patch is similar to that of commit a7126ed:

- Many packages were imported for the sake of just a few trivial conversion
  functions.  These functions have been copied into the local pyethereum.utils.

- rlp has been locally copied and its import statements modified to import
  the locally-copied functions.  Unneeded classes and functions have been
  removed.

- As a result, dependencies on the following external packages have been
  eliminated:

  + rlp
  + eth-hash
  + eth-utils
  + eth-typing
  + toolz
  + cytoolz
  + setuptools
2019-03-25 12:38:49 +03:00
122ac43573
minor changes 2019-03-23 17:30:47 +03:00
b5f1ebc640
py3port: make hexadecimal values be strings instead of bytes type
- binascii.hexlify(b'foo') -> b'foo'.hex()
- binascii.unhexlify('aabb') -> bytes.fromhex('aabb')
- replace HexBytes class with HexStr

This change has led to a ≈10% speedup in the full test-release.sh run
2019-03-17 13:33:55 +03:00
0879e53e74
tooltest2.py - add BTC test vectors
tooltest.py  - bugfixes, remove some commands covered in tooltest2.py
mmgen-tool   - bugfixes, cleanups, rename some commands, change some command
               options
			 - all commands taking binary input can now receive it from file
			   or stdin

+ numerous minor fixes throughout
2019-03-06 23:58:59 +03:00
78176a0833
test.py: tx*_ui_common(): make 'caller' a keyword arg 2019-03-04 10:02:57 +03:00
91410dd96c
test.py: refactor, modularize, cleanup code, make fully OO
- test groups are now separate classes in separate modules
- test data and code is loaded on an as-needed basis
- new TestSuiteRunner and CmdGroupMgr classes
- simplified invocation: if arguments are omitted, all default tests relevant
  for given network and option are run.  The following set of invocations
  provides nearly complete coverage of MMGen's core functionality:

    test/test.py
    test/test.py --segwit-random
    test/test.py --bech32

    test/test.py --coin=ltc
    test/test.py --coin=ltc --segwit-random
    test/test.py --coin=ltc --bech32

    test/test.py --coin=bch
    test/test.py --coin=eth
    test/test.py --coin=etc
2019-03-02 21:27:53 +03:00