Commit graph

2,887 commits

Author SHA1 Message Date
bd73cb07b8
test-release.sh: add lint test combining all available code checkers 2026-09-06 10:08:42 +00:00
256970f349
setup.py extmod: convert gcc warnings to errors; test-release.sh: add gcc test 2026-09-06 10:08:42 +00:00
7d31c25a20
proto.vm.tx.new: check data arg with DataOutput 2026-09-06 10:08:42 +00:00
f94fede3a2
new EthereumDataOutput class 2026-09-06 10:08:42 +00:00
8ebc9ac2de
proto.eth.params: new max_data_len attr 2026-09-06 10:08:41 +00:00
0b3982fcbf
tx.new, tx.new_swap, tx.info: minor cleanups 2026-09-06 10:08:41 +00:00
f6f56b9e1f
whitespace, variable renames 2026-09-06 10:08:41 +00:00
d4aaf70b30
new THORChainDataOutput class 2026-09-06 10:08:41 +00:00
4d1e17865b
new BitcoinDataOutput class 2026-09-06 10:08:41 +00:00
518b2f403f
proto.btc.tx.data_output -> tx.data_output 2026-09-06 10:08:41 +00:00
b794e26bd2
OpReturnData -> DataOutput 2026-09-06 10:08:41 +00:00
73cf5814cf
proto.vm.tx.new: improve cmd args processing 2026-09-06 10:08:41 +00:00
81c2a923a0
tx.new: cmd_args -> args 2026-09-06 10:08:41 +00:00
75dfdd4e94
help.txcreate: fix usage info; fix outputs info for THORChain 2026-09-06 10:08:41 +00:00
f2f0cc3959
cmdtest.py rune, swap: cleanups 2026-09-06 10:08:41 +00:00
c6d8839f9a
tx.new, tx.new_swap, tx.info: minor cleanups 2026-09-06 10:08:41 +00:00
08f3520566
tx.new_swap: new update_memo() method 2026-09-06 10:08:36 +00:00
33412d8a32
regtest: reduce premined blocks to 120 for descriptor wallet 2026-09-02 13:52:44 +00:00
4f607d224d
various fixes and cleanups 2026-09-02 13:52:44 +00:00
742825e62a
cmdtest.py: new op_return test 2026-09-02 13:52:44 +00:00
783ad11532
cmdtest.py runeswap: use LTC as dest coin instead of BTC 2026-09-02 13:52:44 +00:00
dd71481514
tx.file: refuse to parse legacy TX files for signing ops
See 852cdeda

Instead of checking before signing, check before parsing.
2026-09-02 13:52:44 +00:00
955fe5aa28
cfg, txsign, test suite: minor cleanups 2026-09-02 13:52:39 +00:00
852cdeda0b
tx.unsigned: refuse to sign legacy (non-JSON) TX files
Prevent signing of transactions from legacy TX files, which represent a
potential vector for deserialization attacks.

Since a normal up-to-date MMGen Wallet installation cannot create legacy TX
files, it indicates the online installation is compromised or broken, so exit
the signing loop as well and output a critical error message.
2026-08-29 15:04:29 +00:00
dab9d6bda9
tx.unsigned: new sign() method 2026-08-29 15:04:29 +00:00
b5c4b134c9
txcreate, txsign: enforce cfg.autosign if cfg.coin == 'XMR' 2026-08-29 15:04:29 +00:00
bbfa72c02e
cfg: add opts_data['requires'] 2026-08-29 15:04:29 +00:00
a904cb7853
cfg: opts_data['sets']: improve output, add tests 2026-08-29 15:04:24 +00:00
dd9c26ea23
Version 16.2.0 stable_msys2 stable_macos stable_linux v16.2.0 2026-08-23 09:14:00 +00:00
37d86489be
minor fixes and cleanups 2026-08-23 09:14:00 +00:00
414d2ce021
update documentation 2026-08-23 09:14:00 +00:00
58e4bfc8b2
update coin daemon support
DAEMON             VERSION
Bitcoin Core       31.1
Bitcoin Cash Node  29.1
Litecoin Core      0.21.5.6
Geth               1.17.5
Reth               2.5.1
2026-08-22 18:34:47 +00:00
a3f9676677
cmdtest.py regtest: enable deterministic testing with descriptor wallet 2026-08-22 18:34:47 +00:00
ba0bdb381c
regtest, cmdtest.py regtest: minor cleanups 2026-08-22 18:34:47 +00:00
c85dd68312
BipHDNode.from_path(): support initialization from xprv instead of seed 2026-08-22 18:34:47 +00:00
b8e47fd284
ignore cfg file for non-test-suite regtest 2026-08-22 18:34:47 +00:00
4cb1353fcb
add dev-requirements.txt 2026-08-22 18:34:47 +00:00
d5f6398da4
test suite: add workaround for Debian Trixie Python interpreter bug
The Debian Trixie Python interpreter (v3.13.5) crashes on exit after executing
scripts that write signed transactions (`mmgen-txsign` and `mmgen-txsend`) for
certain tests in the test suite.

This bug is unlikely to be observed under normal usage and in any case won’t
prevent users from signing and sending transactions.

Nonetheless, users running Debian Trixie may wish to compile Python from source
just to be safe and use the locally compiled Python to run MMGen Wallet.

For instructions on how to do this, see the ‘Build Python from Source’ wiki page.
2026-08-22 18:34:46 +00:00
7f0246e15e
doc: add Build Python from Source wiki page 2026-08-22 18:34:46 +00:00
bcd8255107
test suite: minor fixes and cleanups 2026-08-22 18:34:46 +00:00
458afa328b
cfg.py: process cmdline opts before cfgfile 2026-08-22 18:34:46 +00:00
771b6ba071
cmdtest.py main: method name cleanups 2026-08-22 18:34:46 +00:00
e1f236d241
MSWin: remove set_vt100() function 2026-08-22 18:34:41 +00:00
05b297efca
secp256k1 extmod: compile with -Wextra and static analyzer enabled 2026-08-18 14:21:25 +00:00
6f5484d82c
secp256k1 extmod: raise ValueError or RuntimeError as appropriate 2026-08-18 14:21:25 +00:00
748f9131f9
secp256k1 extmod: whitespace 2026-08-18 14:21:25 +00:00
93938d4f77
secp256k1 extmod: always raise exception on context init failure (bugfix) 2026-08-18 14:21:25 +00:00
8277c0d9a7
secp256k1 extmod: wrap unused params (gcc -Wextra) 2026-08-18 14:21:25 +00:00
62c342a3bf
secp256k1 extmod: initialize all struct members of sentinel (gcc -Wextra) 2026-08-18 14:21:20 +00:00
b4b0a6855e
update documentation 2026-08-18 09:18:09 +00:00