Coder Social home page Coder Social logo

Send not working about libdohj HOT 3 OPEN

dogecoin avatar dogecoin commented on June 11, 2024
Send not working

from libdohj.

Comments (3)

rnicoll avatar rnicoll commented on June 11, 2024

I would start with fixing Performing thread fixup: you are accessing bitcoinj via a thread that has not had any context set on it. at the top. bitcoinj needs the Context set up so it knows what network parameters (i.e. Dogecoin rather than Bitcoin to use).

CATE for example handles this by creating a context at the start ( https://github.com/rnicoll/cate/blob/master/src/main/java/org/libdohj/cate/controller/MainController.java#L186 ) and using a custom thread factory to propagate the context onto every thread it creates: https://github.com/rnicoll/cate/blob/master/src/main/java/org/libdohj/cate/util/NetworkThreadFactory.java#L54

from libdohj.

kunalransing avatar kunalransing commented on June 11, 2024

Hi,
I have mentioned network param via wallet init code is as below,
WalletAppKit kit = new WalletAppKit(DogecoinTestNet3Params.get(), new File("/home/ep"),"doge-testnet");

Below can be reason ??

2018-08-02 11:40:52,622 INFO [org.bitcoinj.core.TransactionBroadcast] (EJB default - 36) Waiting for 10 peers required for broadcast, we have 8 ...

For testnet only one dns seed mentioned i.e "testseed.jrn.me.uk".
Do we have more ?

from libdohj.

kunalransing avatar kunalransing commented on June 11, 2024

I guess issue solved. In code for testnet dns seeds contains only one entry. For broadcast 10 peers connection required & I had only 8 connected. Now I added few more dns seeds then peers connection crossed 10 & it broadcasts txs.
Thanks.

from libdohj.

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.