mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
The current ledger index minus 256 must be greater than the account Sequence number
This commit is contained in:
@@ -95,7 +95,7 @@ Makes it possible to delete [accounts](accounts.html).
|
||||
|
||||
Without this amendment, new accounts always start with their `Sequence` numbers at 1, and there is no way to remove accounts from the state data of the ledger.
|
||||
|
||||
With this amendment, new accounts start with their `Sequence` numbers equal to the `Sequence` number matching the [index of the ledger][Ledger Index] in which the account is created. This change protects accounts that are deleted and later re-created from having their old transactions executed again. Adds a new `AccountDelete` transaction type, which deletes an account and certain objects that the account owns in the ledger. Certain types of objects cannot be deleted this way, so an account that is linked to any such objects cannot be deleted. Additionally, an account cannot be deleted if the current ledger index minus 256 is greater than the account's current `Sequence` number. See [XRP Community Standards Draft 7](https://github.com/xrp-community/standards-drafts/issues/8) for a detailed discussion of this amendment.
|
||||
With this amendment, new accounts start with their `Sequence` numbers equal to the `Sequence` number matching the [index of the ledger][Ledger Index] in which the account is created. This change protects accounts that are deleted and later re-created from having their old transactions executed again. Adds a new `AccountDelete` transaction type, which deletes an account and certain objects that the account owns in the ledger. Certain types of objects cannot be deleted this way, so an account that is linked to any such objects cannot be deleted. Additionally, an account cannot be deleted if the current ledger index minus 256 is less than the account's current `Sequence` number. See [XRP Community Standards Draft 7](https://github.com/xrp-community/standards-drafts/issues/8) for a detailed discussion of this amendment.
|
||||
|
||||
|
||||
## DepositAuth
|
||||
|
||||
Reference in New Issue
Block a user