Skip to content

Validate replacement_nonce #90

Description

@mempirate

Description

We could store a mapping from replacement_uuid => replacement_nonce in an LRU cache to drop stale trades for specific submission patterns (bundles with same replacement_uuid but different transactions and lower (or equal) replacement_nonce sent to all proxies directly). This would ensure we don't submit any but the first one (received over user API) to rbuilder, and theoretically decrease the load caused by these submission patterns by 5x.

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