You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the clients have to jump through a lot of hoops to prevent accounts from getting stuck: stellarterm/stellarterm#76
After stuck it is a really bad user experience to get the account usable again.
This mainly results from selling XLM for some other asset.
The proposal is to leave enough lumens in your account to pay the fee for 1000txs when:
an offer of yours selling XLM crosses.
you send lumens
This way the only way an account can get stuck is if they send/sell all the lumens they can and then do 1000 more txs.
Reacted by Iris Li, Sunny Gonnabathula and Rafał Malinowski
I think we need to think about this a bit more:
an account getting stuck because of an XLM offer is actually very unlikely as in the common case, the offer gets deleted as soon as it reaches the reserve balance, causing the reserve to get lowered.
I imagine that users are probably much more likely to lose their secret key than run into those edge cases - and I am not sure how we would solve that problem just yet (and solving this may give us an idea on how to solve this particular problem of account getting stuck because of the lack of funds).
For that particular class of problems, the solution may be in leveraging pre-signed transactions using new semantics on the requirement from the signers and bumpseq like operations.
an account getting stuck because of an XLM offer is actually very unlikely
actually happens all the time. For example the case where you are not placing an order but just consuming existing orders. You will be left sad with nary a spare stroop.
Oh you’re talking about manageOffer that has a buggy/unintuitive behavior right now when trying to create an offer to sell XLMs. When that is fixed it won’t let you get into more trouble than having outstanding offers.
Activity
MonsieurNicolas commentedon Nov 27, 2017
I think we need to think about this a bit more:
an account getting stuck because of an XLM offer is actually very unlikely as in the common case, the offer gets deleted as soon as it reaches the reserve balance, causing the reserve to get lowered.
I imagine that users are probably much more likely to lose their secret key than run into those edge cases - and I am not sure how we would solve that problem just yet (and solving this may give us an idea on how to solve this particular problem of account getting stuck because of the lack of funds).
For that particular class of problems, the solution may be in leveraging pre-signed transactions using new semantics on the requirement from the signers and bumpseq like operations.
jedmccaleb commentedon Nov 28, 2017
actually happens all the time. For example the case where you are not placing an order but just consuming existing orders. You will be left sad with nary a spare stroop.
MonsieurNicolas commentedon Nov 28, 2017
Oh you’re talking about manageOffer that has a buggy/unintuitive behavior right now when trying to create an offer to sell XLMs. When that is fixed it won’t let you get into more trouble than having outstanding offers.
jedmccaleb commentedon Nov 30, 2017
How are you imagining changing manageOffer? You could still get stuck by sending away too many lumens
MonsieurNicolas commentedon Dec 1, 2017
I opened an issue and a PR that explains the changes to manage offer see stellar/stellar-core#1431
jedmccaleb commentedon Aug 2, 2018
the changes from CAP3(https://github.com/stellar/stellar-protocol/blob/master/core/cap-0003.md) make this way less necessary so closing