Commit graph

3,143 commits

Author SHA1 Message Date
915699ec9d
ruff EXE002 (file is executable but no shebang is present) 2026-08-07 09:37:46 +00:00
52ea4cc554
ruff: remove ignores for E401, E402, E701, E713, E721, E731, E741 2026-08-07 09:37:46 +00:00
ac84dfe13a
ruff EXE001 (shebang is present but file is not executable) 2026-08-07 09:37:46 +00:00
09aee4b021
ruff C418, UP018 (unnecessary dict literal; bool, int, str call) 2026-08-07 09:37:46 +00:00
720feb60f6
ruff C414 (unnecessary list() call within set()) 2026-08-07 09:37:46 +00:00
f7d31b063c
ruff C409, C410 (unnecessary list literal) 2026-08-07 09:37:46 +00:00
de4937b82c
ruff C402 (unnecessary generator (rewrite as dict comprehension)) 2026-08-07 09:37:46 +00:00
adeb62b81d
ruff C401 (unnecessary generator (rewrite as set comprehension)) 2026-08-07 09:37:46 +00:00
a75234bb9e
ruff B023 (function definition in loop) 2026-08-07 09:37:46 +00:00
f311f46840
ruff B010 (setattr with constant attribute value) 2026-08-07 09:37:46 +00:00
69288c3cb0
ruff B009 (getattr with constant attribute value) 2026-08-07 09:37:46 +00:00
44bd8a33f9
ruff ignore minor cleanup 2026-08-07 09:37:46 +00:00
5e99d02027
ruff to per-file (ASYNC230, ASYNC251, B008) 2026-08-07 09:37:45 +00:00
f58f46ca85
ruff F401 (imported but unused) 2026-08-07 09:37:45 +00:00
fb1cb67810
ruff FURB177 2026-08-07 09:37:45 +00:00
81aeff6b4e
nix: add ruff.nix (v16.0.1) 2026-08-07 09:37:40 +00:00
39c9086472
wallet.dieroll: increase OS random bytes to 32 2026-08-05 18:32:05 +00:00
335214d388
pyproject.toml: ignore some ruff warnings
Ruff warnings have become errors, it seems
2026-08-05 18:28:11 +00:00
9bfef629d8
pyproject.toml: sort ruff ignores 2026-08-05 18:27:06 +00:00
63c45703ce
wallet.dieroll: minor display fixes 2026-08-05 17:24:56 +00:00
1fe733d159
add_user_random(): new osrand_bytes param 2026-08-05 17:24:56 +00:00
3836be8b31
tw: display daemon name in tracking wallet views 2026-08-05 17:24:56 +00:00
00c8ba38e5
mmgen-cli: support aiohttp backend 2026-08-05 17:24:56 +00:00
aedf230c30
keypress_confirm(): cleanups, new no_nl_on_false param 2026-08-05 17:24:56 +00:00
5383c4b367
cfg.py: perform incompatible opts check for user opts only 2026-08-05 17:24:51 +00:00
a09a6c6bbd
reenable THORChain swaps, RUNE transacting
RPC endpoints have been migrated from ninerealms to liquify.com.

Tested on mainnet (swaps and RUNE transacting). As always, swap and transact
small amounts at first.
2026-07-15 11:37:06 +00:00
98b7607e44
support Monero v0.18.5.1 2026-07-12 14:03:05 +00:00
2252ac2cdc
support Reth v2.3.0 2026-06-18 13:23:54 +00:00
c90b4c5917
Nix: update to nixpkgs 26.05 2026-06-18 13:23:54 +00:00
b79460339d
a couple minor cleanups 2026-06-18 13:23:54 +00:00
d61be9c9ec
tooltest2.py: modularize coin-specific tests 2026-06-18 13:23:48 +00:00
e322b4338c
Nostr key/address generation
Examples:

    # Generate 10 Nostr addresses from your default wallet:
    $ mmgen-addrgen --coin=nostr 1-10

    # Generate 10 Nostr key/address pairs from your default wallet:
    $ mmgen-keygen --coin=nostr 1-10

    # Generate a random Nostr key/address pair:
    $ mmgen-tool --coin=nostr randpair

    # Convert a Nostr address to a hexadecimal pubkey:
    $ mmgen-tool --coin=nostr addr2pubhex npub1r7m96hpfeegjcj8un2wjgkw4rwv36x9mtmtek5duv3uq29tcwqgq93nwkz

    # Convert a Nostr hexadecimal pubkey to an address:
    $ mmgen-tool --coin=nostr pubhex2addr 1fb65d5c29ce512c48fc9a9d2459d51b991d18bb5ed79b51bc64780515787010

Testing:

    $ test/modtest.py -v nostr
    $ test/cmdtest.py --coin=nostr ref3_addr
    $ test/tooltest2.py --coin=nostr
2026-06-04 10:41:42 +00:00
9a9627c8ed
mmgen-tool addr2pubhash: refactor 2026-06-04 10:41:42 +00:00
7e5f43941a
compatibility fix for Python < v3.13 2026-06-04 10:41:42 +00:00
8867e747af
CoinProtocol.Base: add default coin_amt attr 2026-06-04 10:41:42 +00:00
f20db2f74d
CmdTestRef3Addr: cleanups 2026-06-04 10:41:42 +00:00
eb943dded7
BipHDNode.from_path(): determine addr type from protocol 2026-06-04 10:41:42 +00:00
6f84ad7323
WifKey, PrivKey: add key length checks 2026-06-04 10:41:42 +00:00
bf08297ff7
proto.btc.params.decode_wif(): rewrite 2026-06-04 10:41:42 +00:00
0c8794ad35
whitespace, variable rename 2026-06-04 10:41:37 +00:00
191e8ec26b
update PGP signing keys 2026-05-23 13:32:37 +00:00
d63dd743f5
update README, documentation (minor) 2026-05-23 13:32:31 +00:00
8488755790
CoinAmt: Python 3.15 fix 2026-05-21 12:09:33 +00:00
b29b8b4b9c
cmdtest.py: new --dev-mode option 2026-05-21 12:09:33 +00:00
77a42a1df9
tool rand2file: use os.process_cpu_count() to set thread count 2026-05-21 12:09:33 +00:00
c4feeccb66
enable use of pyaes package for testing 2026-05-21 12:09:33 +00:00
75ced150ba
cfg: sort env vars 2026-05-21 12:09:33 +00:00
3d8e98f31e
crypto.Crypto: new encrypt_aes_ctr() method 2026-05-21 12:09:33 +00:00
b13acfa3b1
wallet.mmgen: increase salt length to 32 bytes 2026-05-21 12:09:33 +00:00
7ca2449306
cmdtest.py input: disable some tests for free-threaded Python builds 2026-05-21 12:09:32 +00:00