Coder Social home page Coder Social logo

Comments (7)

MonsieurNicolas avatar MonsieurNicolas commented on July 21, 2024

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.

jedmccaleb avatar jedmccaleb commented on July 21, 2024

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.

MonsieurNicolas avatar MonsieurNicolas commented on July 21, 2024

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.

jedmccaleb avatar jedmccaleb commented on July 21, 2024

How are you imagining changing manageOffer? You could still get stuck by sending away too many lumens

from stellar-protocol.

MonsieurNicolas avatar MonsieurNicolas commented on July 21, 2024

I opened an issue and a PR that explains the changes to manage offer see stellar/stellar-core#1431

from stellar-protocol.

 avatar commented on July 21, 2024

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.

jedmccaleb avatar jedmccaleb commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.