I think currently reject messages are only logged. In future, they could
be fed into the transaction confidence, so you could use a
TransactionConfidenceEventListener. For now, you can use a
PreMessageReceivedEventListener to implement a bit of handling yourself.


On 05/16/2016 09:39 PM, Thomas Taylor wrote:
> My poor skills involving Futures means I am struggling with rejected 
> Transactions. How can I add a callback to a transaction when it has been 
> rejected by a peer?
> 
> Note that broadcastComplete is succesful.
> 
> Thanks, Tom.
> 


-- 
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