Skip to content

Replicate OfferCreate functionality in Payments to Self #5090

Open
@donovanhide

Description

@donovanhide

Summary

I want to use Payments to condense multiple OfferCreates into a single Payment to self, i.e. a Payment where Account and Destination are the same. To do this I need to have a LimitAmount which exceeds the Amount of the Payment. If I were to consume the same chain of offers using OfferCreate no such LimitAmount would be required and in fact, no existing TrustLine/RippleState is required.

Motivation

To reduce transaction counts for arbitrage, by using fewer Payment transactions than OfferCreate transactions and to avoid unnecessary TrustSet transactions.

Solution

Remove the check for a LimitAmount exceeding Amount for Payments to self.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestUsed to indicate requests to add new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions