Giter Site home page Giter Site logo

RFC-3: What does a receiver do if they receive a transfer where the conditions in the transfer frame and the ILP packet are different? about rfcs HOT 6 CLOSED

interledger avatar interledger commented on May 29, 2024
RFC-3: What does a receiver do if they receive a transfer where the conditions in the transfer frame and the ILP packet are different?

from rfcs.

Comments (6)

justmoon avatar justmoon commented on May 29, 2024

This is a bit of a closer call than #74, but I would still say:

Receivers SHOULD reject the incoming transfer with the error "condition mismatch". Reason here is more around - there is probably something fishy going on if the ILP packet doesn't match the transfer. Again, "SHOULD" in case they know more than we do.

from rfcs.

adrianhopebailie avatar adrianhopebailie commented on May 29, 2024

If they do fulfill one of these which would it be?

Also, do we recommend that if they can fulfill both that they SHOULD?

Is there a protocol where a payment could be split over multiple routes?

from rfcs.

sharafian avatar sharafian commented on May 29, 2024

If the receiver tries to fulfill a condition that matches the ILP packet but not any local transfers, then their ledger will just reject the fulfillment.

from rfcs.

adrianhopebailie avatar adrianhopebailie commented on May 29, 2024

If the receiver tries to fulfill a condition that matches the ILP packet but not any local transfers, then their ledger will just reject the fulfillment.

Good point, so it's either both or just the one from the transfer.

from rfcs.

emschwartz avatar emschwartz commented on May 29, 2024

@bensharaf is right. That also means there's no point fulfilling both because the one from the packet would be rejected by the ledger. So it should be the receiver either fulfills neither or only the one in the transfer.

from rfcs.

adrianhopebailie avatar adrianhopebailie commented on May 29, 2024

Conclusion is to remove condition from packet. Receiver will only ever get a single condition

from rfcs.

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.