Skip to content

Create a configurable minimum value (in sats) that an order must have. #710

@Luquitasjeffrey

Description

@Luquitasjeffrey

Is your feature request related to a problem? Please describe.
There are often many orders with extremely small amounts (e.g., 1 sat) posted in the p2plightning channel. In my opinion, this behaves like spam, as it clutters the channel and makes it harder to find “real” orders that are actually likely to be executed.

Describe the solution you'd like
The bot should support a configurable environment variable, for example MIN_TRADE_IN_SATS (or any more appropriate name), that defines the minimum allowed order size in sats. If a user attempts to post an order below this threshold (e.g., below 1000 sats), the bot should reject it. This would prevent the p2plightning channel from being flooded with tiny, low-value orders.

Image

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