FundRawTransaction select inputs which can be rejected by the mempool #9874

issue NicolasDorier openend this issue on February 27, 2017
  1. NicolasDorier commented at 9:44 am on February 27, 2017: contributor

    Will write tests and fix, just putting as memo.

    Describe the issue

    Input selected by FundRawTransaction might be rejected by too-long-mempool-chain when actually broadcasted.

    Expected behaviour

    FundRawTransaction should not select input that would not be accepted in the mempool

    Actual behaviour

    FundRawTransaction select inputs that can be rejected by sendrawtransaction.

  2. jonasschnelli commented at 9:19 am on February 28, 2017: contributor
    Can you retest this with #9262 on top (if you haven’t done this already) and with -walletrejectlongchains? I think this problem is not specific for fundrawtransaction (it’s the coin selection part).
  3. jonasschnelli added the label Wallet on Feb 28, 2017
  4. NicolasDorier commented at 12:08 pm on March 1, 2017: contributor

    I am already on top of this PR, I will take a look deeper, as it can come from other PR I am using.

    From what I see: coin will too long chain are took as last resort instead of just being ignored. Will make a test.

  5. SoraKohaku commented at 10:33 am on March 4, 2017: none
    still it’s not unconfirmed tough and long. have this long problem and bitcoin not back @_@
  6. kouloumos commented at 1:59 pm on August 4, 2022: contributor
    As mentioned in #10015 (comment) changing default value of -walletrejectlongchains to true solves this issue. That PR lacked consensus but #24502 was merged thus this should now be solved.
  7. MarcoFalke closed this on Aug 4, 2022

  8. bitcoin locked this on Aug 4, 2023

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: 2024-11-17 09:12 UTC

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