Commit graph

146 commits

Author SHA1 Message Date
e982f7003a
new machine global constant 2026-05-17 18:03:36 +00:00
ab41b78863
new platform global constant 2026-05-17 18:03:32 +00:00
f840069ecb
update copyright dates 2026-02-11 13:02:12 +00:00
78bd55b3bb
CmdTestBase: new extra_daemons attribute 2025-12-01 16:54:35 +00:00
7edef50ed4
whitespace, string formatting 2025-11-27 11:34:09 +00:00
09e70c4bf3
whitespace (82 files) 2025-10-06 09:40:47 +00:00
2b7080c227
subprocess.run(): use text arg (10 files) 2025-10-03 10:34:04 +00:00
6ccf29fb21
util.py: new isAsync() function 2025-10-01 15:30:56 +00:00
4573e170ed
test suite: use match statement where practicable (21 files) 2025-09-23 09:20:53 +00:00
9e62934151
test suite: support ethkey as alternative to eth-keys 2025-09-15 09:28:41 +00:00
258f1b0236
various testing fixes 2025-09-11 17:37:04 +00:00
0952cc80a3
various testing fixes 2025-09-09 11:27:05 +00:00
bf783fc074
test.include.unit_test: improve altcoin test skipping code 2025-09-09 11:27:04 +00:00
8fde11eb46
modtest ecc: use ecdsa package for reference sig check 2025-07-19 10:21:06 +00:00
b12fd879bf
mmgen-autosign: support signing of TXs with non-MMGen inputs 2025-06-21 11:14:09 +00:00
ff28d39a3c
THORChain ERC20 token swap support
Examples:

    # List available assets:
    $ mmgen-swaptxcreate -S

    # Create a Tether-to-LTC swap transaction for autosigning, connecting to the
    # swap quote server via Tor:
    $ mmgen-swaptxcreate --autosign --proxy=localhost:9050 ETH.USDT 1000 LTC

    # After signing, send the transaction via public Etherscan proxy over Tor:
    $ mmgen-txsend --autosign --quiet --tx-proxy=etherscan --proxy=localhost:9050

    # After sending, check the transaction status and receipt:
    $ mmgen-txsend --autosign --verbose --status

    # Create a Tether-to-DAI swap transaction, with explicit destination account:
    $ mmgen-swaptxcreate ETH.USDT 1000 ETH.DAI E:01234ABC:3

Testing:

    $ test/cmdtest.py -e ethswap
2025-04-27 11:53:49 +00:00
6e5e32f148
test suite: relocate a module, delete a module 2025-03-30 10:20:21 +00:00
819202b584
minor cleanups 2025-03-29 09:30:15 +00:00
b2e210485f
test/cmdtest_d: remove prefixes on files 2025-03-29 09:30:15 +00:00
8b504c895a
modtest.py, daemontest.py: remove prefixes from test files 2025-03-23 10:14:31 +00:00
89ad0fd29b
keyword-only parameters throughout 2025-03-15 18:24:52 +00:00
809856c07d
fixes and cleanups 2025-03-04 09:51:05 +00:00
52f26202a8
write_data_to_file(): add no_stdout parameter 2025-02-16 14:42:32 +00:00
e54f039690
update copyright dates 2025-02-16 14:42:27 +00:00
92fc9fd462
fixes and cleanups throughout 2025-02-15 09:54:19 +00:00
1f1e0a1186
comments, whitespace, minor cleanups 2025-02-06 10:12:50 +00:00
487678bce9
Use Ruff static code analyzer for Github workflows 2024-12-30 13:59:03 +00:00
a3454c7248
disable rpc.stop_daemon() 2024-12-30 11:31:40 +00:00
3f5ce98fda
test suite: remove datadir after stopping daemons 2024-12-30 11:31:40 +00:00
353a4a1f4e
Nix compatibility fixes 2024-12-30 11:31:39 +00:00
866aa6035a
test suite: minor fixes and cleanups 2024-12-30 11:31:39 +00:00
13976084ab
test suite: use eth-keys instead of ethkey 2024-12-30 11:31:39 +00:00
5f3920b11a
unit_tests.py -> modtest.py, daemontest.py 2024-10-18 10:43:27 +00:00
926716090a
test suite: rename some directories
- cmdtest_py_d -> cmdtest_d
- objtest_py_d -> objtest_d
- objattrtest_py_d -> objattrtest_d
2024-10-18 10:32:15 +00:00
6130efcf0c
whitespace: test/include 2024-10-18 10:32:12 +00:00
5150ca586b
update file header 2024-10-18 10:32:06 +00:00
50fc415282
CoinAmt: improvements
- do strict type checking in initializer, forbid double initialization
- add dynamic decimal precision based on protocol
- dunder method fixes, cleanups
- JSON-RPC library now returns floats (i.e. amounts) as strings instead of Decimal,
  eliminating an extra conversion step
2024-10-18 10:32:05 +00:00
f6843a3fcd
opts.py: refactor usage(), version(), show_hash_presets() 2024-10-08 12:56:00 +00:00
66521a07f2
update --longhelp text 2024-10-08 12:55:58 +00:00
3b3d06fb51
cmdtest.py: remove unneeded opts from spawn cmdline 2024-10-08 12:55:58 +00:00
3b4e9ebc1e
pylint: test suite, examples 2024-09-20 09:36:06 +00:00
9ae8338253
minor cleanups 2024-09-04 13:08:50 +00:00
36814cc03c
minor fixes and cleanups 2024-09-02 09:43:48 +00:00
bcff2e4fa3
full macOS support
All coins and features supported on Linux are now supported on macOS

Testing:

    $ test/test-release.sh -F
2024-08-29 11:17:24 +00:00
67ed198d4a
test.include.common: reimplement VirtBlockDevice 2024-08-29 11:17:24 +00:00
0c2176371f
test suite: minor fixes and cleanups 2024-08-29 11:17:23 +00:00
945f15fe8f
test/clean.py: minor fix 2024-08-29 11:17:23 +00:00
a0eb2871f9
minor fixes and cleanups throughout 2024-07-27 09:56:20 +00:00
b12a2a08a4
test.common: new VirtBlockDevice class 2024-07-27 09:16:43 +00:00
bd63c36bee
new command: test/clean.py 2024-07-20 16:40:57 +00:00