Giter VIP home page Giter VIP logo

Comments (3)

da-kami avatar da-kami commented on August 23, 2024

Notes on can run swaps concurrently, after working on #147 I see the following issues to be resolved to make concurrent swaps happen (given the code base at the time):

  • Separate EventLoop and EventLoopHandle - I think we will need this to make concurrent swaps possible. We should be able to drive a swap through a handle without creating a new EventLoop. I think the EventLoop should live in the factory, while the handles live in each swap. (Currently the EventLoop is returned upon creating a swap.)
  • Don't just have one swap_id in the Factory but have a list of swaps.
  • Make swaps identifiable in the network communication.

Recording this here so I can get it out of my head for now.

from xmr-btc-swap.

D4nte avatar D4nte commented on August 23, 2024

Regarding can run swaps concurrently, it also means concurrent access to the DB. I think we should do #133 to not end up fixing the db concurrent access twice.

from xmr-btc-swap.

thomaseizinger avatar thomaseizinger commented on August 23, 2024

Closing because epic from previous project.

from xmr-btc-swap.

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.