Git Product home page Git Product logo

Comments (3)

msgilligan avatar msgilligan commented on May 31, 2024

I think both PeerGroup and WalletAppKit are potentially useful as DI components. So let's not replace the PeerGroup beans. However, I do think that the bitcoinj-daemon should probably use WalletAppKit.

If you want to just make changes in cj-nmc-daemon first -- and then we can migrate them later to the Bitcoin daemon, that would be fine with me.

from consensusj.

JeremyRand avatar JeremyRand commented on May 31, 2024

Hmm, so if we leave the PeerGroup beans intact in bitcoinj-server, what's your preference for how we make bitcoinj-daemon use a WalletAppKit instead? Will we just end up with a PeerGroup bean that's in the code as a dependency but unused? (That seems suboptimal.) Is there a better way?

from consensusj.

msgilligan avatar msgilligan commented on May 31, 2024

I think it's fine to add WalletAppKit to bitcoinj-server. It's ok to have a PeerGroup bean in that module that's unused. Every module will have classes that won't be used by all/most applications. In general, I've probably over-modularized already -- my main focus for modules was to minimize transitive dependencies on other libraries. The existing modules are quite small and a few unused classes won't make them too big.

Does this make sense?

from consensusj.

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.