Enable logging at debug level and check for rejected messages

Check you have at least 2 peers, check fee is reasonable, check your
outputs are above min dust limit.

Are you running on testnet or main?
You can try running a bitcoind and connect your bitcoinj there to see if
the tx is accepted

El 25 sept. 2016 10:09 AM, "ss" <[email protected]> escribió:

Hello, we are working on a project that uses bitcoinj to research signal
propagation thru p2p networks.

We made a transaction listener that implements PreMessageReceivedE
ventListener
https://github.com/snakecharmer1024/topological-chromatography/blob/wallet/
src/topochrom/TransactionReceivedListener.java#L26

and added it to our PeerGroup that we are listening thru
https://github.com/snakecharmer1024/topological-chromatography/blob/wallet/
src/topochrom/TopoChromExperiment.java#L162

However, the breakpoint in onPreMessageReceived never breaks. We broadcast
the transaction
https://github.com/snakecharmer1024/topological-chromatography/blob/wallet/
src/topochrom/TopoChromExperiment.java#L81

Maybe our transaction is getting rejected so it doesn't propagate? The log
doesn't show any such errors.

Does this approach make sense? Is this the right event listener to
implement?

-- 
You received this message because you are subscribed to the Google Groups
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to