From 384a8ecfef1001c92f1f8803612378cac5a45c85 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Tue, 30 Aug 2022 11:49:39 +0000 Subject: [PATCH] Version 13.2.0 --- Install-MMGen-on-Microsoft-Windows.md | 43 +++++++++++---------------- Test-Suite.md | 15 ++++------ addrgen-[MMGen-command-help].md | 2 +- addrimport-[MMGen-command-help].md | 2 +- autosign-[MMGen-command-help].md | 2 +- keygen-[MMGen-command-help].md | 2 +- msg-[MMGen-command-help].md | 2 +- passchg-[MMGen-command-help].md | 2 +- passgen-[MMGen-command-help].md | 2 +- regtest-[MMGen-command-help].md | 2 +- seedjoin-[MMGen-command-help].md | 2 +- seedsplit-[MMGen-command-help].md | 2 +- subwalletgen-[MMGen-command-help].md | 2 +- tool(detail)-[MMGen-command-help].md | 16 +++++----- tool(usage)-[MMGen-command-help].md | 4 +-- tool-[MMGen-command-help].md | 2 +- txbump-[MMGen-command-help].md | 2 +- txcreate-[MMGen-command-help].md | 2 +- txdo-[MMGen-command-help].md | 2 +- txsend-[MMGen-command-help].md | 2 +- txsign-[MMGen-command-help].md | 2 +- walletchk-[MMGen-command-help].md | 2 +- walletconv-[MMGen-command-help].md | 2 +- walletgen-[MMGen-command-help].md | 2 +- xmrwallet-[MMGen-command-help].md | 2 +- 25 files changed, 55 insertions(+), 65 deletions(-) diff --git a/Install-MMGen-on-Microsoft-Windows.md b/Install-MMGen-on-Microsoft-Windows.md index 1ce5100..8b39448 100644 --- a/Install-MMGen-on-Microsoft-Windows.md +++ b/Install-MMGen-on-Microsoft-Windows.md @@ -77,12 +77,11 @@ Save your changes and double click the icon to launch your MSYS2-enabled PowerShell. From now on, all your work will be done in this terminal. Note that the root of your MSYS2 installation is located in `C:\\msys64`, so the -following commands, for example: +following commands, for example, will produce a listing of the same directory: $ ls /etc # the path as seen within MSYS2 $ ls 'C:\\msys64\etc' # the path as seen by Windows -will produce a listing of the same directory. ### 3. Upgrade MSYS2 @@ -113,9 +112,10 @@ will produce a listing of the same directory. > The server that’s listed first in these files is the one that will used by > default, so you may wish to edit them and place the server you wish to use -> first in the list. For this you may use a text editor such as Notepad: +> first in the list. For this you may use a text editor such as Notepad or +> Nano: - $ notepad /etc/pacman.d/mirrorlist.msys + $ nano /etc/pacman.d/mirrorlist.msys ... repeat for remaining mirrorlist files ... > You need to update your database files as well. The database files and their @@ -133,6 +133,8 @@ will produce a listing of the same directory. >> >> >> +>> +>> >> >> @@ -150,9 +152,6 @@ will produce a listing of the same directory. > trick using '>' works for most shell commands, by the way). Copy `urls.txt` > to your online machine and download the URLs listed in it. -> *NOTE: as of 01.05.2022, files in the `clang64` directory were found under -> `mingw64` instead, so these URLS may have to be edited accordingly.* - > Create a new folder on your offline machine: $ mkdir packages1 @@ -213,11 +212,11 @@ Install the MMGen requirements and their dependencies: Create the `/usr/local/bin` directory. This is where you’ll place various binaries required by MMGen: - $ mkdir -p /usr/local/bin # seen by Windows as C:\\msys64\usr\local\bin + $ mkdir -p /usr/local/bin # seen by Windows as 'C:\\msys64\usr\local\bin' Open your shell’s runtime configuration file in a text editor: - $ notepad ~/.bashrc + $ nano ~/.bashrc Add the following two lines to the end of the file (if this is a Bitcoin-only installation, you may omit the Litecoin and Bitcoin Cash Node components of the @@ -255,27 +254,21 @@ On your offline machine, unpack and enter the archive: $ tar fax scrypt-0.8.20.tar.gz $ cd scrypt-0.8.20 -Open the file `setup.py` in your text editor. Right before the line beginning -with: +Open the file `setup.py` in your text editor. Right before the line reading: - scrypt_module = Extension( + elif sys.platform.startswith('win32'): -add the following line (with no indentation): +insert the following lines, carefully preserving indentation: - includes = ['/mingw64/include'] - -Also change the line: - - libraries = ['libcrypto_static'] - -to read: - - libraries = ['libcrypto'] + elif os.environ.get('MSYSTEM') == 'MSYS': + define_macros = [] + includes = ['/mingw64/include'] + libraries = ['libcrypto'] + CFLAGS.append('-O2') Save the file and exit the editor. Now build and install: - $ python3 setup.py build --compiler=mingw32 - $ python3 setup.py install + $ python3 setup.py install --user ### 8. Clone and copy the secp256k1 library (offline install only) @@ -371,7 +364,7 @@ Congratulations, your installation is now complete, and you can proceed to MMGen on Linux, except for [autosigning][ax], are now supported on MSYS2 too. Please be aware of the following, however: -+ Non-ASCII filenames cannot be used with the Monero wallet syncing tool. This ++ Non-ASCII filenames cannot be used with the `mmgen-xmrwallet` utility. This is an issue with the Monero wallet RPC daemon rather than MMGen. + The Bitcoin Cash Node daemon cannot handle non-ASCII pathnames. This is an diff --git a/Test-Suite.md b/Test-Suite.md index 4a2addf..aea97c2 100644 --- a/Test-Suite.md +++ b/Test-Suite.md @@ -128,19 +128,15 @@ may also be started and stopped manually at the DOS or MSYS2 prompt as follows #### Ethkey -On Arch Linux systems, ethkey is included in the OpenEthereum package: +On Arch Linux and ArchLinuxArm systems, the ‘ethkey’ utility is included in the +OpenEthereum package: $ pacman -S openethereum -For other systems, you may have to build ethkey from source: +For 64-bit Windows and Linux systems, ‘ethkey’ can be found in the zip archives +distributed with [this release][oz]. - $ sudo apt-get install rustc # skip this if Rust is already installed - $ git clone https://github.com/openethereum/openethereum - $ cd openethereum - $ git checkout v2.6.6 # this version builds on ARM boards - your mileage may vary - $ cargo build -p ethkey-cli --release - $ sudo install --strip ./target/release/ethkey /usr/local/bin - $ cd .. +For other systems (i.e. Debian/Ubuntu ARM), tests involving ‘ethkey’ are skipped. #### Monero note @@ -191,3 +187,4 @@ commands’ output on the screen as they’re being run. [ld]: https://download.litecoin.org/litecoin-0.17.1/ [oe]: Altcoin-and-Forkcoin-Support#a_oe [sc]: Altcoin-and-Forkcoin-Support#a_dt +[oz]: https://github.com/openethereum/openethereum/releases/tag/v3.1.0 diff --git a/addrgen-[MMGen-command-help].md b/addrgen-[MMGen-command-help].md index 80b8811..39ec92a 100644 --- a/addrgen-[MMGen-command-help].md +++ b/addrgen-[MMGen-command-help].md @@ -114,4 +114,4 @@ MMGenWallet .mmdat wallet,w PlainHexSeedFile .hex hex,rawhex,plainhex - MMGEN v13.2.dev13 August 2022 MMGEN-ADDRGEN(1) + MMGEN v13.2.0 August 2022 MMGEN-ADDRGEN(1) diff --git a/addrimport-[MMGen-command-help].md b/addrimport-[MMGen-command-help].md index 958779c..5b17ebe 100644 --- a/addrimport-[MMGen-command-help].md +++ b/addrimport-[MMGen-command-help].md @@ -30,4 +30,4 @@ It’s recommended to use ‘--rpc-backend=aio’ with ‘--rescan’. - MMGEN v13.2.dev13 August 2022 MMGEN-ADDRIMPORT(1) + MMGEN v13.2.0 August 2022 MMGEN-ADDRIMPORT(1) diff --git a/autosign-[MMGen-command-help].md b/autosign-[MMGen-command-help].md index 0988c58..132314d 100644 --- a/autosign-[MMGen-command-help].md +++ b/autosign-[MMGen-command-help].md @@ -71,4 +71,4 @@ This command is currently available only on Linux-based platforms. - MMGEN v13.2.dev13 August 2022 MMGEN-AUTOSIGN(1) + MMGEN v13.2.0 August 2022 MMGEN-AUTOSIGN(1) diff --git a/keygen-[MMGen-command-help].md b/keygen-[MMGen-command-help].md index 4de38df..6a4fbf3 100644 --- a/keygen-[MMGen-command-help].md +++ b/keygen-[MMGen-command-help].md @@ -118,4 +118,4 @@ MMGenWallet .mmdat wallet,w PlainHexSeedFile .hex hex,rawhex,plainhex - MMGEN v13.2.dev13 August 2022 MMGEN-KEYGEN(1) + MMGEN v13.2.0 August 2022 MMGEN-KEYGEN(1) diff --git a/msg-[MMGen-command-help].md b/msg-[MMGen-command-help].md index 8829042..9890b08 100644 --- a/msg-[MMGen-command-help].md +++ b/msg-[MMGen-command-help].md @@ -103,4 +103,4 @@ Verify and display the exported JSON signature data: $ mmgen-msg verify signatures.json - MMGEN v13.2.dev13 August 2022 MMGEN-MSG(1) + MMGEN v13.2.0 August 2022 MMGEN-MSG(1) diff --git a/passchg-[MMGen-command-help].md b/passchg-[MMGen-command-help].md index ae0a0d2..7c5a4ff 100644 --- a/passchg-[MMGen-command-help].md +++ b/passchg-[MMGen-command-help].md @@ -50,4 +50,4 @@ MMGenWallet .mmdat wallet,w PlainHexSeedFile .hex hex,rawhex,plainhex - MMGEN v13.2.dev13 August 2022 MMGEN-PASSCHG(1) + MMGEN v13.2.0 August 2022 MMGEN-PASSCHG(1) diff --git a/passgen-[MMGen-command-help].md b/passgen-[MMGen-command-help].md index 9245e7f..3273637 100644 --- a/passgen-[MMGen-command-help].md +++ b/passgen-[MMGen-command-help].md @@ -99,4 +99,4 @@ MMGenWallet .mmdat wallet,w PlainHexSeedFile .hex hex,rawhex,plainhex - MMGEN v13.2.dev13 August 2022 MMGEN-PASSGEN(1) + MMGEN v13.2.0 August 2022 MMGEN-PASSGEN(1) diff --git a/regtest-[MMGen-command-help].md b/regtest-[MMGen-command-help].md index 3d56b79..1e51c43 100644 --- a/regtest-[MMGen-command-help].md +++ b/regtest-[MMGen-command-help].md @@ -24,4 +24,4 @@ is first argument) - MMGEN v13.2.dev13 August 2022 MMGEN-REGTEST(1) + MMGEN v13.2.0 August 2022 MMGEN-REGTEST(1) diff --git a/seedjoin-[MMGen-command-help].md b/seedjoin-[MMGen-command-help].md index 100a38d..9b7012c 100644 --- a/seedjoin-[MMGen-command-help].md +++ b/seedjoin-[MMGen-command-help].md @@ -60,4 +60,4 @@ MMGenWallet .mmdat wallet,w PlainHexSeedFile .hex hex,rawhex,plainhex - MMGEN v13.2.dev13 August 2022 MMGEN-SEEDJOIN(1) + MMGEN v13.2.0 August 2022 MMGEN-SEEDJOIN(1) diff --git a/seedsplit-[MMGen-command-help].md b/seedsplit-[MMGen-command-help].md index 63d555e..7dc0ee1 100644 --- a/seedsplit-[MMGen-command-help].md +++ b/seedsplit-[MMGen-command-help].md @@ -141,4 +141,4 @@ MMGenWallet .mmdat wallet,w PlainHexSeedFile .hex hex,rawhex,plainhex - MMGEN v13.2.dev13 August 2022 MMGEN-SEEDSPLIT(1) + MMGEN v13.2.0 August 2022 MMGEN-SEEDSPLIT(1) diff --git a/subwalletgen-[MMGen-command-help].md b/subwalletgen-[MMGen-command-help].md index 2e882ca..1db6208 100644 --- a/subwalletgen-[MMGen-command-help].md +++ b/subwalletgen-[MMGen-command-help].md @@ -94,4 +94,4 @@ MMGenWallet .mmdat wallet,w PlainHexSeedFile .hex hex,rawhex,plainhex - MMGEN v13.2.dev13 August 2022 MMGEN-SUBWALLETGEN(1) + MMGEN v13.2.0 August 2022 MMGEN-SUBWALLETGEN(1) diff --git a/tool(detail)-[MMGen-command-help].md b/tool(detail)-[MMGen-command-help].md index 178e0c9..d7dda90 100644 --- a/tool(detail)-[MMGen-command-help].md +++ b/tool(detail)-[MMGen-command-help].md @@ -893,14 +893,14 @@ Optional KEYWORD ARGS (type and default value shown in square brackets): - mmgen_addrs [str=''] Hyphenated range or comma-separated list of addresses - minconf [int=1] Minimum number of confirmations - pager [bool=False] Send output to pager - showbtcaddr [bool=True] Display coin addresses in addition to MMGen IDs - showempty [bool=True] Show addresses with no balances - all_labels [bool=False] Show all addresses with labels - age_fmt [str='confs'] Format for the Age/Date column (valid choices: 'confs','block','days','date','date_time') - sort [str=''] Address sort order (valid choices: 'reverse','age') + mmgen_addrs [str=''] Hyphenated range or comma-separated list of addresses + minconf [int=1] Minimum number of confirmations + pager [bool=False] Send output to pager + showbtcaddrs [bool=True] Display coin addresses in addition to MMGen IDs + showempty [bool=True] Show addresses with no balances + all_labels [bool=False] Show all addresses with labels + age_fmt [str='confs'] Format for the Age/Date column (valid choices: 'confs','block','days','date','date_time') + sort [str=''] Address sort order (valid choices: 'reverse','age') ### `mmgen-tool remove_address` diff --git a/tool(usage)-[MMGen-command-help].md b/tool(usage)-[MMGen-command-help].md index e68692b..c764801 100644 --- a/tool(usage)-[MMGen-command-help].md +++ b/tool(usage)-[MMGen-command-help].md @@ -142,7 +142,7 @@ daemon_version getbalance minconf [int=1] quiet [bool=False] pager [bool=False] listaddress mmgen_addr [str] minconf [int=1] showbtcaddr [bool=True] age_fmt [str='confs'] - listaddresses mmgen_addrs [str=''] minconf [int=1] pager [bool=False] showbtcaddr [bool=True] showempty [bool=True] all_labels [bool=False] age_fmt [str='confs'] sort [str=''] + listaddresses mmgen_addrs [str=''] minconf [int=1] pager [bool=False] showbtcaddrs [bool=True] showempty [bool=True] all_labels [bool=False] age_fmt [str='confs'] sort [str=''] remove_address mmgen_or_coin_addr [str] remove_label mmgen_or_coin_addr [str] rescan_address mmgen_or_coin_addr [str] @@ -183,4 +183,4 @@ Same as above, but supply input via STDIN: $ echo "deadbeefcafe" | mmgen-tool hexreverse - - MMGEN v13.2.dev13 August 2022 MMGEN-TOOL(USAGE)(1) + MMGEN v13.2.0 August 2022 MMGEN-TOOL(USAGE)(1) diff --git a/tool-[MMGen-command-help].md b/tool-[MMGen-command-help].md index 2d0521d..495fd06 100644 --- a/tool-[MMGen-command-help].md +++ b/tool-[MMGen-command-help].md @@ -195,4 +195,4 @@ Type ‘mmgen-tool help ’ for help on a particular command - MMGEN v13.2.dev13 August 2022 MMGEN-TOOL(1) + MMGEN v13.2.0 August 2022 MMGEN-TOOL(1) diff --git a/txbump-[MMGen-command-help].md b/txbump-[MMGen-command-help].md index 6a68485..3e34b39 100644 --- a/txbump-[MMGen-command-help].md +++ b/txbump-[MMGen-command-help].md @@ -85,4 +85,4 @@ MMGenWallet .mmdat wallet,w PlainHexSeedFile .hex hex,rawhex,plainhex - MMGEN v13.2.dev13 August 2022 MMGEN-TXBUMP(1) + MMGEN v13.2.0 August 2022 MMGEN-TXBUMP(1) diff --git a/txcreate-[MMGen-command-help].md b/txcreate-[MMGen-command-help].md index 43ca786..eae4c10 100644 --- a/txcreate-[MMGen-command-help].md +++ b/txcreate-[MMGen-command-help].md @@ -53,4 +53,4 @@ a plain decimal number, or as satoshis per byte, using an integer followed by 's', for satoshi. - MMGEN v13.2.dev13 August 2022 MMGEN-TXCREATE(1) + MMGEN v13.2.0 August 2022 MMGEN-TXCREATE(1) diff --git a/txdo-[MMGen-command-help].md b/txdo-[MMGen-command-help].md index e543b56..c236a19 100644 --- a/txdo-[MMGen-command-help].md +++ b/txdo-[MMGen-command-help].md @@ -116,4 +116,4 @@ MMGenWallet .mmdat wallet,w PlainHexSeedFile .hex hex,rawhex,plainhex - MMGEN v13.2.dev13 August 2022 MMGEN-TXDO(1) + MMGEN v13.2.0 August 2022 MMGEN-TXDO(1) diff --git a/txsend-[MMGen-command-help].md b/txsend-[MMGen-command-help].md index bbb9b3c..bc318fc 100644 --- a/txsend-[MMGen-command-help].md +++ b/txsend-[MMGen-command-help].md @@ -8,4 +8,4 @@ -s, --status Get status of a sent transaction -y, --yes Answer 'yes' to prompts, suppress non-essential output - MMGEN v13.2.dev13 August 2022 MMGEN-TXSEND(1) + MMGEN v13.2.0 August 2022 MMGEN-TXSEND(1) diff --git a/txsign-[MMGen-command-help].md b/txsign-[MMGen-command-help].md index 3e421d1..73508ca 100644 --- a/txsign-[MMGen-command-help].md +++ b/txsign-[MMGen-command-help].md @@ -78,4 +78,4 @@ MMGenWallet .mmdat wallet,w PlainHexSeedFile .hex hex,rawhex,plainhex - MMGEN v13.2.dev13 August 2022 MMGEN-TXSIGN(1) + MMGEN v13.2.0 August 2022 MMGEN-TXSIGN(1) diff --git a/walletchk-[MMGen-command-help].md b/walletchk-[MMGen-command-help].md index f8d1344..31116f8 100644 --- a/walletchk-[MMGen-command-help].md +++ b/walletchk-[MMGen-command-help].md @@ -49,4 +49,4 @@ MMGenWallet .mmdat wallet,w PlainHexSeedFile .hex hex,rawhex,plainhex - MMGEN v13.2.dev13 August 2022 MMGEN-WALLETCHK(1) + MMGEN v13.2.0 August 2022 MMGEN-WALLETCHK(1) diff --git a/walletconv-[MMGen-command-help].md b/walletconv-[MMGen-command-help].md index a98724a..390d83f 100644 --- a/walletconv-[MMGen-command-help].md +++ b/walletconv-[MMGen-command-help].md @@ -59,4 +59,4 @@ MMGenWallet .mmdat wallet,w PlainHexSeedFile .hex hex,rawhex,plainhex - MMGEN v13.2.dev13 August 2022 MMGEN-WALLETCONV(1) + MMGEN v13.2.0 August 2022 MMGEN-WALLETCONV(1) diff --git a/walletgen-[MMGen-command-help].md b/walletgen-[MMGen-command-help].md index a139aa7..c575200 100644 --- a/walletgen-[MMGen-command-help].md +++ b/walletgen-[MMGen-command-help].md @@ -52,4 +52,4 @@ MMGenWallet .mmdat wallet,w PlainHexSeedFile .hex hex,rawhex,plainhex - MMGEN v13.2.dev13 August 2022 MMGEN-WALLETGEN(1) + MMGEN v13.2.0 August 2022 MMGEN-WALLETGEN(1) diff --git a/xmrwallet-[MMGen-command-help].md b/xmrwallet-[MMGen-command-help].md index 0b54786..8afd832 100644 --- a/xmrwallet-[MMGen-command-help].md +++ b/xmrwallet-[MMGen-command-help].md @@ -159,4 +159,4 @@ Create a new address in account 1 of wallet 2, with label: $ mmgen-xmrwallet new *.akeys.mmenc 2:1,"from ABC exchange" - MMGEN v13.2.dev13 August 2022 MMGEN-XMRWALLET(1) + MMGEN v13.2.0 August 2022 MMGEN-XMRWALLET(1)