sat/b values aren’t validated to be in-range #20534

issue MarcoFalke openend this issue on November 30, 2020
  1. MarcoFalke commented at 3:55 pm on November 30, 2020: member

    values smaller than 0.001 sat/B can’t be represented by CFeeRate, but they are not rejected.

    0./src/bitcoin-cli -named sendtoaddress address=bcrt1qwkmhqum095zau5rf2velq55cq938vrd7uw8m4r amount=1.23 fee_rate=0.0009
    1
    2error code: -6
    3error message:
    4Fee rate (0.000 sat/vB) is lower than the minimum fee rate setting (1.000 sat/vB)
    
    0./src/bitcoin-cli -named sendtoaddress address=bcrt1qwkmhqum095zau5rf2velq55cq938vrd7uw8m4r amount=1.23 fee_rate=0.000000000009
    1
    2error code: -3
    3error message:
    4Invalid amount
    
  2. MarcoFalke added the label Bug on Nov 30, 2020
  3. jonatack commented at 4:23 pm on November 30, 2020: member
    @MarcoFalke I’ll look at this, unless you’re on it already.
  4. MarcoFalke commented at 4:27 pm on November 30, 2020: member
    Not working on this right now
  5. jonatack commented at 1:19 pm on December 2, 2020: member
    Proposed fix in #20546.
  6. jonatack commented at 3:57 pm on April 27, 2021: member
    Proposed a larger solution in #21786.
  7. MarcoFalke closed this on May 10, 2021

  8. DrahtBot locked this on Aug 18, 2022


MarcoFalke jonatack

Labels
Bug


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-21 18:12 UTC

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