-
Notifications
You must be signed in to change notification settings - Fork 352
Open
Labels
CAPRepresents an issue that requires a CAP.Represents an issue that requires a CAP.enhancementCAP that adds or changes functionality as opposed to a fix.CAP that adds or changes functionality as opposed to a fix.help wantedOpen especially for those who want to write a CAP/SEP!Open 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.This an issue that has no corresponding draft, and as such has not entered the CAP/SEP process.
Description
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
Labels
CAPRepresents an issue that requires a CAP.Represents an issue that requires a CAP.enhancementCAP that adds or changes functionality as opposed to a fix.CAP that adds or changes functionality as opposed to a fix.help wantedOpen especially for those who want to write a CAP/SEP!Open 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.This an issue that has no corresponding draft, and as such has not entered the CAP/SEP process.