Skip to content

Shrink To Fit trustline #287

@JeremyRubin

Description

@JeremyRubin

This proposes a new operation which is equivalent of a shrink_to_fit for trustlines.

The core purpose of this operation is to avoid a situation where attempts at closing a trustline fail because someone sends a small amount of asset to a trustline which is not at the limit, preventing a change trust from decreasing it.

a shrink to fit operation should set the trust line's trust limit to the smallest size to accommodate liabilities and balances.

This should be easily backwards compatible as the behavior is an emulable interleaving of existing transactions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CAPRepresents an issue that requires a CAP.enhancementCAP that adds or changes functionality as opposed to a fix.help wantedOpen especially for those who want to write a CAP/SEP!needs draftThis an issue that has no corresponding draft, and as such has not entered the CAP/SEP process.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions