Skip to content

Implementation of Price Change Threshold for Transaction Delivery #22

@arishm01

Description

@arishm01

Currently, price feeders send price update transactions with every new block, regardless of whether there has been a significant price change. This can lead to unnecessary gas costs and excessive resource usage. I proposes adding a configurable price change threshold. Price update transactions will only be sent if the calculated price has changed beyond this threshold since the last update.

Update location primarily in oracle/oracle.go,

Benefit: Reduces gas costs, reduces load on blockchain nodes, and optimizes resource usage.

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