[rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increase #6828

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:MarcoFalke-2015-fundrawtransactionTestFix changing 1 files +9 −1
  1. MarcoFalke commented at 12:33 PM on October 14, 2015: member

    minRelayTxFee was bumped in #6793 but the rpc test were not updated.

    Related to #6827. (@laanwj should decide which one to merge first)

  2. in qa/rpc-tests/fundrawtransaction.py:None in 372c2a9ac0 outdated
      27 | @@ -28,7 +28,10 @@ def setup_network(self, split=False):
      28 |  
      29 |      def run_test(self):
      30 |          print "Mining blocks..."
      31 | -        feeTolerance = Decimal(0.00000002) #if the fee's positive delta is higher than this value tests will fail, neg. delta always fail the tests
      32 | +
      33 | +        # if the fee's positive delta is higher than this value tests will fail, neg. delta always fail the tests
      34 | +        #            = 2 bytes * minRelayTxFeePerByte
      35 | +        feeTolerance = 2 * Decimal('0.00005000')/1000
    


    dexX7 commented at 4:32 PM on October 15, 2015:

    Maybe you could use the client's "relayfee" provided via "getnetworkinfo", so the test depends less on magic numbers?

  3. MarcoFalke force-pushed on Oct 15, 2015
  4. [rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increase 0d8b1759d2
  5. MarcoFalke force-pushed on Oct 20, 2015
  6. laanwj closed this on Oct 20, 2015

  7. laanwj merged this on Oct 20, 2015
  8. MarcoFalke deleted the branch on Oct 20, 2015
  9. furszy referenced this in commit 0724bbbad2 on Jun 28, 2020
  10. DrahtBot locked this on Sep 8, 2021

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-13 18:15 UTC

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