Comments (7)
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.
from stellar-protocol.
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.
from stellar-protocol.
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.
from stellar-protocol.
How are you imagining changing manageOffer? You could still get stuck by sending away too many lumens
from stellar-protocol.
I opened an issue and a PR that explains the changes to manage offer see stellar/stellar-core#1431
from stellar-protocol.
I suppose it's not an option to make operations that release resources, such as canceling an offer and removing a data entry feeless? As these will not be propagated through the network without there first being a corresponding operation that sets the data and creates the offer it seems they cannot be used to spam the network for free.
from stellar-protocol.
the changes from CAP3(https://github.com/stellar/stellar-protocol/blob/master/core/cap-0003.md) make this way less necessary so closing
from stellar-protocol.
Related Issues (20)
- SEPs (6, 12, 24, 31): Update callback header from `X-Stellar-Signature` to `Signature` HOT 4
- SEP-9: define a generalized account identifier format HOT 4
- SEP-9: add `bank_account_type` field HOT 2
- SEP-6: /deposit and /withdraw IDs should map to list of transactions rather than a single transaction HOT 22
- SEP-24: make `account` for deposit request optional to match withdraw request
- Add SEP for Soroban token interface HOT 1
- Nice
- SEP-7: thoughts on using "web+stellar://" instead of "web+stellar:"? HOT 1
- SEP-6: standardize structured off-chain deposit instructions for users HOT 1
- SEP-6: Providing deposit instructions asynchronously
- security HOT 1
- SEP-24: Layered fee structure HOT 1
- SEP-24: Configure fees by payment method HOT 1
- SEP-9: support `organization.referrer`
- Add deviation parameter instead of pure uniform periods HOT 8
- Support for `memo` field in SEP-9 Financial Account Fields
- Prettier SEP CI workflow failing suddenly HOT 1
- Blog
- SEP-24 improvements HOT 3
- Prettier should output what the diff is required to make it pass HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stellar-protocol.