Commit graph

1,468 commits

Author SHA1 Message Date
8a750259b9
mmgen-xmrwallet: new dump-json operation 2025-11-22 09:04:08 +00:00
fd65ae6660
whitespace, minor fixes 2025-11-22 09:04:04 +00:00
851335106f
cmdtest.py xmr_autosign: support compat mode testing
Testing:

    # Compat mode is now enabled by default:
    $ test/cmdtest.py -ne xmr_autosign

    # The old testing behavior is also supported:
    $ test/cmdtest.py -ne xmr_autosign_nocompat
2025-11-15 09:50:21 +00:00
967d17c06e
cmdtest.py ethdev, rune: add user component to tw path 2025-11-15 09:50:21 +00:00
4a24d2153c
minor whitespace, cleanups 2025-11-15 09:50:21 +00:00
f0dfb8e4c1
cmdtest.py xmr_autosign: whitespace, variable renames 2025-11-15 09:50:21 +00:00
81ece1ff3b
support Bitcoin Core v30.0
As of Core v30, legacy BDB wallets are no longer supported.  Users with legacy
tracking wallets must convert them to descriptor wallets.  See `bitcoin-cli
migratewallet` for details.

The maximum OP_RETURN data size has been increased to 4096 bytes, while the one
data output per transaction limitation has been retained.  This seems like a
reasonable compromise.  The MMGen Project discourages the use of MMGen Wallet
to spam the blockchain.
2025-10-26 10:35:54 +00:00
5529e7ed9f
minor fixes and cleanups 2025-10-26 10:35:54 +00:00
797912283c
addr.py: support extended MMGen IDs 2025-10-26 10:35:49 +00:00
c409b1b9a6
reth: minor testing fix; use clang from more recent nixpkgs in Nix build 2025-10-06 09:40:52 +00:00
09e70c4bf3
whitespace (82 files) 2025-10-06 09:40:47 +00:00
62b360bb7d
daemontest_d.msg: make test methods async (bugfix) 2025-10-03 10:34:04 +00:00
2b7080c227
subprocess.run(): use text arg (10 files) 2025-10-03 10:34:04 +00:00
89c3e0e8a9
cmdtest.py: various cleanups (4 files) 2025-10-03 10:34:04 +00:00
6ef0aef487
whitespace, minor cleanups (5 files) 2025-10-03 10:34:04 +00:00
f44ca874ec
cmdtest_d.httpd: initialize with cfg 2025-10-03 10:34:04 +00:00
e9aeb9d8cd
cmdtest.list_cmds(): cleanup, move to CmdGroupMgr 2025-10-03 10:34:04 +00:00
6d74059489
cmdtest.py unify is3seed cmd_group format 2025-10-03 10:34:04 +00:00
f62f89ce31
new CmdGroupMgr:get_cmd_groups() method 2025-10-03 10:34:04 +00:00
e049111110
CmdGroupMgr:list_cmd_groups(): cleanups 2025-10-03 10:34:04 +00:00
a127ec4363
cmdtest_d.include.cfg: new cmd_groups_data namedtuple 2025-10-03 10:34:04 +00:00
23ca4a9733
daemontest.py rpc: reimplement using async_run() 2025-10-01 15:30:57 +00:00
4749fe660b
test suite: minor cleanups (async_run) 2025-10-01 15:30:56 +00:00
f8d352df33
cmdtest.py: use isAsync() 2025-10-01 15:30:56 +00:00
8d314c6abe
cmdtest.py rune, runeswap: make txid mismatches into warnings 2025-10-01 15:30:56 +00:00
dc3df437ab
cmdtest.py: make test methods async where applicable 2025-10-01 15:30:56 +00:00
6ccf29fb21
util.py: new isAsync() function 2025-10-01 15:30:56 +00:00
e379926042
txbump: display outputs in raw order [bugfix]
- required when user manually chooses output to deduct the fee from
2025-09-29 23:09:17 +00:00
4b55f1158e
btc.tx.base.decodeScriptPubKey(): reimplement, parse nulldata correctly 2025-09-29 23:09:17 +00:00
acffdda309
minor cleanups (2 files) 2025-09-29 23:09:17 +00:00
c88f2a9388
cmdtest.py main: txcreate_common(): cleanups 2025-09-29 23:09:17 +00:00
026e7f0c93
cmdtest.py main: variable renames 2025-09-29 23:09:17 +00:00
fa2b2e5cd0
led.py: reimplement binfo as dataclass 2025-09-29 23:09:17 +00:00
2e5ec4c9e8
str.split() + match statement (11 files) 2025-09-26 10:40:24 +00:00
d7423a9783
cmdtest.py regtest: add sort test group 2025-09-26 10:40:24 +00:00
3749ff4d7e
whitespace, variable renames (8 files) 2025-09-26 10:40:23 +00:00
d54ed9d427
modtest.py seedsplit, subseed: refactor 2025-09-26 10:40:23 +00:00
4c2df87e54
minor fixes and cleanups 2025-09-26 10:40:23 +00:00
8de9022c63
CoinAmt.fmt(): reimplement using match statement, add test 2025-09-26 10:40:23 +00:00
20734cc7bb
util2: new load_fake_cryptodome() function
The eth-key and monero-python packages used in the test suite require the
keccak256() function provided by the pycryptodome (pycryptodomex) package.

pycryptodome is used in the MMGen code base only by these packages, and only for
testing.

This monkey-patch function eliminates dependency on pycryptodome on systems that
provide keccak256() via hashlib (>=OpenSSL 3.2, >=Python 3.13, latest MSYS2).
2025-09-26 10:40:23 +00:00
587397f9c1
test suite: use match statement where practicable (2 files) 2025-09-23 09:20:54 +00:00
954ff01b41
test suite: ThornodeRPCServer: refactor 2025-09-23 09:20:54 +00:00
1ecde8880b
minor cleanups (9 files) 2025-09-23 09:20:53 +00:00
df5d6e3bce
whitespace (3 files) 2025-09-23 09:20:53 +00:00
4573e170ed
test suite: use match statement where practicable (21 files) 2025-09-23 09:20:53 +00:00
2d01fbc45c
use hashlib keccak256() function if available
Available if Python compiled with OpenSSL 3.2 or greater (Python >= 3.13)
2025-09-23 09:20:53 +00:00
d13baa1a07
isinstance(): use type union operator (11 files changed) 2025-09-23 09:20:53 +00:00
3a967b46dc
minor testing/build fixes 2025-09-17 09:33:04 +00:00
7980ddcdb6
minor testing fixes 2025-09-15 09:28:41 +00:00
a3eef0128a
Windows/MSYS2 build and testing fixes 2025-09-15 09:28:41 +00:00