command-help-txbump
The MMGen Project edited this page 1 month ago
  MMGEN-TXBUMP: Increase the fee on a replaceable (RBF) MMGen transaction,
                creating a new transaction, and optionally sign and send the
                new transaction
  USAGE:        mmgen-txbump [opts] [MMGen TX file] [seed source] ...
  OPTIONS:
  -h, --help             Print this help message
      --longhelp         Print help message for long options (common options)
  -a, --autosign         Bump the most recent transaction created and sent with
                         the --autosign option. The removable device is mounted
                         and unmounted automatically.  The transaction file
                         argument must be omitted.  Note that only sent trans-
                         actions may be bumped with this option.  To redo an
                         unsent --autosign transaction, first delete it using
                         ‘mmgen-txsend --abort’ and then create a new one
  -b, --brain-params l,p Use seed length 'l' and hash preset 'p' for
                         brainwallet input
  -c, --comment-file   f Source the transaction's comment from file 'f'
  -d, --outdir         d Specify an alternate directory 'd' for output
  -e, --echo-passphrase  Print passphrase to screen when typing it
  -f, --fee            f Transaction fee, as a decimal BTC amount or as
                         satoshis per byte (an integer followed by 's').
                         See FEE SPECIFICATION below.
  -H, --hidden-incog-input-params f,o  Read hidden incognito data from file
                        'f' at offset 'o' (comma-separated)
  -i, --in-fmt         f Input is from wallet format 'f' (see FMT CODES below)
  -l, --seed-len       l Specify wallet seed length of 'l' bits. This option
                         is required only for brainwallet and incognito inputs
                         with non-standard (< 256-bit) seed lengths.
  -k, --keys-from-file f Provide additional keys for non-MMGen addresses
  -K, --keygen-backend n Use backend 'n' for public key generation.  Options
                         for BTC: 1:libsecp256k1 [default] 2:python-ecdsa
  -M, --mmgen-keys-from-file f Provide keys for MMGen addresses in a key-
                         address file (output of 'mmgen-keygen'). Permits
                         online signing without an MMGen seed source. The
                         key-address file is also used to verify MMGen-to-BTC
                         mappings, so the user should record its checksum.
  -o, --output-to-reduce o Deduct the fee from output 'o' (an integer, or 'c'
                         for the transaction's change output, if present)
  -O, --old-incog-fmt    Specify old-format incognito input
  -p, --hash-preset    p Use the scrypt hash parameters defined by preset 'p'
                         for password hashing (default: '3')
  -P, --passwd-file    f Get MMGen wallet passphrase from file 'f'
  -q, --quiet            Suppress warnings; overwrite files without prompting
  -s, --send             Sign and send the transaction (the default if seed
                         data is provided)
  -v, --verbose          Produce more verbose output
  -y, --yes             Answer 'yes' to prompts, suppress non-essential output
  -z, --show-hash-presets Show information on available hash presets


                                 FEE SPECIFICATION

  Transaction fees, both on the command line and at the interactive prompt, may
  be specified as either absolute BTC amounts, using a plain decimal number, or
  as satoshis per byte, using an integer followed by 's', for satoshi.

  Transactions may contain both MMGen or non-MMGen input addresses.

  To sign non-MMGen inputs, a bitcoind wallet dump or flat key list is used
  as the key source (--keys-from-file option).

  To sign MMGen inputs, key data is generated from a seed as with the
  mmgen-addrgen and mmgen-keygen commands.  Alternatively, a key-address file
  may be used (--mmgen-keys-from-file option).

  Multiple wallets or other seed files can be listed on the command line in
  any order.  If the seeds required to sign the transaction’s inputs are not
  found in these files (or in the default wallet), the user will be prompted
  for seed data interactively.

  To prevent an attacker from crafting transactions with bogus MMGen-to-Bitcoin
  address mappings, all outputs to MMGen addresses are verified with a seed
  source.  Therefore, seed files or a key-address file for all MMGen outputs
  must also be supplied on the command line if the data can’t be found in the
  default wallet.

  Seed source files must have the canonical extensions listed in the 'FileExt'
  column below:

  FMT CODES:

    Format             FileExt   Valid codes
    ------             -------   -----------
    BIP39Mnemonic      .bip39    bip39
    Brainwallet        .mmbrain  mmbrain,brainwallet,brain,bw
    DieRollWallet      .b6d      b6d,die,dieroll
    IncogWallet        .mmincog  mmincog,incog,icg,i
    IncogWalletHex     .mmincox  mmincox,incox,incog_hex,ix,xi
    IncogWalletHidden  None      incog_hidden,hincog,ih,hi
    MMGenHexSeedFile   .mmhex    seedhex,hexseed,mmhex
    MMGenMnemonic      .mmwords  mmwords,words,mnemonic,mn,m
    MMGenSeedFile      .mmseed   mmseed,seed,s
    MMGenWallet        .mmdat    wallet,w
    PlainHexSeedFile   .hex      hex,rawhex,plainhex

  MMGEN v15.0.0                  September 2024                MMGEN-TXBUMP(1)