Unable use replace-by-fee if i use my own address for change #15331

issue bekman1 opened this issue on February 2, 2019
  1. bekman1 commented at 11:56 PM on February 2, 2019: none

    <!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

    <!-- Describe the issue -->

    <!--- What behavior did you expect? -->

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    <!-- For the GUI-related issue on Linux provide names and versions of a distro, a desktop environment and a graphical shell (if relevant). -->

    <!-- Any extra information that might be useful in the debugging process. -->

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

  2. bekman1 commented at 12:02 AM on February 3, 2019: none

    I try to increase a transaction fee for transaction wich was made with flag replace-by-fee and cant do it. For this transaction i have set explicit address for change. Bitcoin Core QT ver. 0.17 Mac OS High Siera 10.13.6

  3. bekman1 renamed this:
    Unable use replace-be-fee if i use my own address for change
    Unable use replace-by-fee if i use my own address for change
    on Feb 3, 2019
  4. promag commented at 2:38 PM on February 4, 2019: member

    Do you get this error?

    Transaction does not have a change output (code -4)
    
  5. bekman1 commented at 5:22 PM on February 4, 2019: none

    Do you get this error?

    Transaction does not have a change output (code -4)
    

    yes

  6. jonasschnelli commented at 7:16 PM on February 4, 2019: contributor

    If you have set a manual change address (with fundrawtransaction, etc.) unknown to your wallet as change, the bumpfee call has no clue which output to reduce in order to increase the fee.

    bumpfee currently isn't very clever. I think it won't work with transaction without a change output.

    Try to manually create a replacement-transaction with createrawtransaction.

  7. MarcoFalke commented at 3:31 PM on April 26, 2020: member

    I think you'll have to use an address from getrawchangeaddress

  8. MarcoFalke closed this on Apr 26, 2020

  9. MarcoFalke locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me