v0.19.0: Problem with variable nAbsurdFee #17475

issue fujicoin opened this issue on November 14, 2019
  1. fujicoin commented at 8:44 AM on November 14, 2019: none

    A RAW transaction with a fee exceeding DEFAULT_TRANSACTION_MAXFEE was created and tested. The tests were compared using windows Core v0.18.0 and v0.19.0. Core v0.19.0 was built on Ubuntu 18.04 by gitian build. The response was confirmed using the sendrawtransaction command on the console. The variable with the following code is displayed in the response.

    validation.cpp: L717
    if (nAbsurdFee && nFees> nAbsurdFee)
    return state.Invalid (ValidationInvalidReason :: TX_NOT_STANDARD, false,
    REJECT_HIGHFEE, "absurdly-high-fee",
    strprintf ("% d>% d", nFees, nAbsurdFee));
    

    In the case of v0.18.0, the setting value of DEFAULT_TRANSACTION_MAXFEE or -maxtxfee was reflected in nAbsurdFee. However, in the case of v0.19.0, the value of "v-size * x" was reflected. I did not know what x was. However, the values ​​reflected in nAbsurdFee are certainly different between v0.18.0 and v0.19.0. For this reason, sendrawtransaction may fail in v0.19.0.

  2. fujicoin added the label Bug on Nov 14, 2019
  3. MarcoFalke closed this on Nov 14, 2019

  4. MarcoFalke commented at 1:35 PM on November 14, 2019: member

    the static -maxtxfee has been replaced by a fee rate per call (passed in as rpc argument)

  5. fujicoin commented at 2:10 AM on November 15, 2019: none

    Thank you for answering. I understand. I should have read the release notes properly. (^^;

  6. DrahtBot locked this on Dec 16, 2021
Contributors
Labels

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-29 03:15 UTC

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