Skip to content

Should OutputTooSmall and FeeTooHigh be treated as separate errors? #1871

Open

Description

@benalleng

This question came from a bunch of fee related work in #1845 (comment)

Activity

  1. wslcb commented on Sep 29, 2026

    @wslcb

    Makes sense to use FeeTooHigh if there is room to go lower in that scenario. As far as I understand, the case from #1845 always calculate the fee at min_fee_rate already, so theres no rate left to go lower. In that case OutputTooSmall seems like the more appropriate error. In cases where the fee is higher than what it is being compared to (other than the upper fee bound itself) and has no room to go lower, OutputTooSmall would be the correct error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions