Jump to content
JoelKatz

Suggestion: Deletable Accounts

Recommended Posts

18 hours ago, kanaas said:

Doesn't this hold a bit more risk of bloating the ledger? Easy delete invites to easy create....
As even after being deleted... the account forever will stay in the ledger.
Not? 

No, once a account is deleted it will only stay in the history, which as we know is not necessary in XRPL, it will disappear from the current of future ledgers.

Both, creating and deleting accounts, have a cost, so this new feature should not encourage bloating. I think even though it could make feasible new use cases that would temporally will create more accounts knowing that they will be able to delete them afterwards, in the long run a tendency to low cost should promote the use of the least accounts possible.

Share this post


Link to post
Share on other sites
21 hours ago, nikb said:

I appreciate the kind words, but most of the "deep 'scenario' thinking" is by my coworker, Scott Schurr.

Good work Scott Schurr, wherever you may be!  :viannen_89:

Share this post


Link to post
Share on other sites

Reminder: https://xrpl.org/reserves.html

Stellar peek-a-boo:

 

Share this post


Link to post
Share on other sites
7 hours ago, crypto_deus said:

 

  • https://stellar.expert/demolisher/public/
    • Automatically closes open offers.

    • Automatically sells owned assets on DEX at market price.

    • Automatically removes trustlines, returning all unsold assets to the issuers.

    • Automatically removes existing data entries.

    • Allows merging directly to exchanges and other destinations that do not support merge operations out of the box.

    • Works with multisig accounts.

    • you pay only for transaction fees to delete it

 

we can make a similar tool like this. 

Share this post


Link to post
Share on other sites

the dev net already allow to delete account

Quote

{
  "id": 1,
  "result": {
    "Account": "rHBppsxob3aLBQHEpLXpaDDM4NMiKvpmF5",
    "Destination": "rDf9B7oeALRMe6bZpxXC652FmsYCjSgbhi",
    "Fee": "5000000",
    "Flags": 2147483648,
    "LastLedgerSequence": 2251394,
    "Sequence": 2250629,
    "SigningPubKey": "02D7E45ADB4A2EC32F9B7BEF93B55A4BBA24E048B61C2399373C2E3146585D375A",
    "TransactionType": "AccountDelete",
    "TxnSignature": "3044022013237805AD022801C884448AA19EAB58FEAF26AA65B2293F4D330FDB70EB609E0220381D0238A3E279EB1C49CF9380806209C7A0A2149F36B22F4DE8E5B0465D9CDB",
    "date": 626942661,
    "hash": "C4554E0FEEAA4F51298A565941ADE2B6061D4BCC213397CABA85EF7FFCD867E1",
    "inLedger": 2251392,
    "ledger_index": 2251392,
    "meta": {
      "AffectedNodes": [
        {
          "ModifiedNode": {
            "FinalFields": {
              "Account": "rDf9B7oeALRMe6bZpxXC652FmsYCjSgbhi",
              "Balance": "19990000000",
              "Flags": 0,
              "OwnerCount": 0,
              "Sequence": 2251386
            },
            "LedgerEntryType": "AccountRoot",
            "LedgerIndex": "09DB73AE403A936CF878BC49E45FF6D70A0209E2D0E09AB8EADD12696FAAE8A2",
            "PreviousFields": {
              "Balance": "10000000000"
            },
            "PreviousTxnID": "9747E00D62FC4A6640A12B611D5B80878D3EFA6C626A6542DC78508835BB5F1C",
            "PreviousTxnLgrSeq": 2251386
          }
        },
        {
          "DeletedNode": {
            "FinalFields": {
              "Account": "rHBppsxob3aLBQHEpLXpaDDM4NMiKvpmF5",
              "Balance": "0",
              "Flags": 0,
              "OwnerCount": 0,
              "PreviousTxnID": "22F9CA6F0750FBEC21D13335FCB0F49D752C673177047FA3F36A8AEB95937612",
              "PreviousTxnLgrSeq": 2251377,
              "Sequence": 2250630
            },
            "LedgerEntryType": "AccountRoot",
            "LedgerIndex": "933465BF449E5689F195951AEDF4512AC664C4D974BAE77B193926B0EADDF2F5",
            "PreviousFields": {
              "Balance": "9995000000",
              "Sequence": 2250629
            }
          }
        }
      ],
      "DeliveredAmount": "9990000000",
      "TransactionIndex": 0,
      "TransactionResult": "tesSUCCESS",
      "delivered_amount": "9990000000"
    },
    "validated": true
  },
  "status": "success",
  "type": "response"
}

 

Share this post


Link to post
Share on other sites
18 hours ago, yxxyun said:

seems like validators in UNL will veto DeletableAccounts amendment.

 

Good for them. If they have concerns or they want time to evaluate the amendment on the devnet, or even the code itself they should absolutely veto it.

Notice too that Alloy says “at this time” which suggests to me that he wants the time to investigate this code and understand it and its implications.

I’d never more concerned if they blindly rubber-stamped code changes than I am by Wietse’s and Alloy’s choice to veto the amendment.

They are stewards of the XRP Ledger and should be careful about and weary of changes. Any change we make is a change that we are stuck with, potentially forever.

For some details about this amendment, check out my twitter thread:

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...