We get in Bisq since roughly 1-2 month repeated issues with tx broadcasts. The onConfidenceChanged is never called at the ConfidenceChange listener in TransactionBroadcast which leads then to timeouts in the trade protocol. The transaction gets successfully broadcasted though BitcoinJ does not hear back from the full nodes or do not notify the listener.
I have seen in the master branch that support for version 2 transactions has been added which seems to be at least in one case the reason for the problems as I got warnings in the logs reagarding non-standard and unrecognized version nr., but I have seen other cases where that does not seem to be the cause. Any idea what can cause those problems? I assume it is related to unconfirmed txs used for the inputs and BitcoinJ seems to not call the onConfidenceChanged. Typical logs for a tx which gets broadcasted: Dec-28 15:49:50.451 [JavaFX Application Thread] INFO o.b.c.TransactionBroadcast: Waiting for 7 peers required for broadcast, we have 9 ... Dec-28 15:49:50.451 [JavaFX Application Thread] INFO o.b.c.TransactionBroadcast: broadcastTransaction: We have 9 peers, adding 227c6310c01094ba57df6dd2f303a453389fa5b5c31bd752dc2946ca747456a5 to the memory pool Dec-28 15:49:50.451 [JavaFX Application Thread] INFO o.b.c.TransactionBroadcast: Sending to 5 peers, will wait for 2, sending to: [mxdtrjhe2yfsx3pg.onion]:8333,[3r44ddzjitznyahw.onion]:8333,[c6ac4jdfyeiakex2.onion]:8333,[sjyzmwwu6diiit3r.onion]:8333,[vlf5i3grro3wux24.onion]:8333 Dec-28 15:49:53.585 [JavaFX Application Thread] INFO o.b.c.TransactionBroadcast: broadcastTransaction: SEEN_PEERS: TX 227c6310c01094ba57df6dd2f303a453389fa5b5c31bd752dc2946ca747456a5 seen by 1 peers Dec-28 15:49:53.631 [JavaFX Application Thread] INFO o.b.c.TransactionBroadcast: broadcastTransaction: SEEN_PEERS: TX 227c6310c01094ba57df6dd2f303a453389fa5b5c31bd752dc2946ca747456a5 seen by 2 peers Dec-28 15:49:53.631 [JavaFX Application Thread] INFO o.b.c.TransactionBroadcast: broadcastTransaction: 227c6310c01094ba57df6dd2f303a453389fa5b5c31bd752dc2946ca747456a5 complete Dec-28 15:49:53.632 [JavaFX Application Thread] INFO o.b.w.Wallet: Received a pending transaction 227c6310c01094ba57df6dd2f303a453389fa5b5c31bd752dc2946ca747456a5 that spends 0.005153 BTC from our own wallet, and sends us 0.003731 BTC Dec-28 15:49:53.632 [JavaFX Application Thread] INFO o.b.w.Wallet: commitTx of 227c6310c01094ba57df6dd2f303a453389fa5b5c31bd752dc2946ca747456a5 Dec-28 15:49:53.633 [JavaFX Application Thread] INFO o.b.w.Wallet: marked 24ca182732bb3ca386dd2aa5ea4f9bd3223319862b5d35b7c8d10a58ff1ff5d5:2 as spent by 227c6310c01094ba57df6dd2f303a453389fa5b5c31bd752dc2946ca747456a5 Dec-28 15:49:53.633 [JavaFX Application Thread] INFO o.b.w.Wallet: ->pending: 227c6310c01094ba57df6dd2f303a453389fa5b5c31bd752dc2946ca747456a5 Dec-28 15:49:53.634 [JavaFX Application Thread] INFO o.b.w.Wallet: Estimated balance is now: 0.005731 BTC Dec-28 15:49:53.635 [JavaFX Application Thread] INFO o.b.w.WalletFiles: Saving wallet; last seen block is height 501436, date 2017-12-28T15:47:16Z, hash 0000000000000000001ef574fe2b15a338b53da3fa0ce60e3e5695b384192685 Dec-28 15:49:53.731 [JavaFX Application Thread] INFO o.b.w.WalletFiles: Save completed in 95.79 ms Dec-28 15:49:53.789 [JavaFX Application Thread] INFO i.b.c.b.w.BtcWalletService: swap addressEntry with address 15JSW1Ki2hqbi2ugg42LtewXGc7pJnoCsa and offerId V6W7W86-0166f8d9-7c2b-4490-b005-cef0a18eed7d-062 from context OFFER_FUNDING to available Dec-28 15:49:53.790 [JavaFX Application Thread] INFO i.b.c.t.TaskRunner: Run task: AddOfferOfferBook Typical logs for a tx which fails to get broadcasted (broadcastTransaction: SEEN_PEERS never called): Jan-02 04:10:59.891 [JavaFX Application Thread] INFO o.b.c.TransactionBroadcast: Waiting for 7 peers required for broadcast, we have 9 ... Jan-02 04:10:59.892 [JavaFX Application Thread] INFO o.b.c.TransactionBroadcast: broadcastTransaction: We have 9 peers, adding 42c98fc9ce2622f2aeae65828639c6389cf573c4e97600c2c28652d687b9a00a to the memory pool Jan-02 04:10:59.892 [JavaFX Application Thread] INFO o.b.c.TransactionBroadcast: Sending to 5 peers, will wait for 2, sending to: [4jyh6llqj264oggs.onion]:8333,[c6ac4jdfyeiakex2.onion]:8333,[sjyzmwwu6diiit3r.onion]:8333,[fz6nsij6jiyuwlsc.onion]:8333,[i3a5xtzfm4xwtybd.onion]:8333 Jan-02 04:11:03.922 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.core.Peer: [mxdtrjhe2yfsx3pg.onion]:8333: Downloading dependencies of 42c98fc9ce2622f2aeae65828639c6389cf573c4e97600c2c28652d687b9a00a Jan-02 04:11:04.515 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.core.Peer: [mxdtrjhe2yfsx3pg.onion]:8333: Downloaded dependency of 42c98fc9ce2622f2aeae65828639c6389cf573c4e97600c2c28652d687b9a00a: 09b9765de45cc7be1d4bb9c78b161900d2d7a6bf997421996ddaa3c439d1443b Jan-02 04:11:04.515 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.core.Peer: [mxdtrjhe2yfsx3pg.onion]:8333: Requesting 3 transactions for depth 2 dep resolution Jan-02 04:11:05.338 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.core.Peer: [mxdtrjhe2yfsx3pg.onion]:8333: Bottomed out dep tree at 5439eaa3b1385cb369962fa194c412a565c66d7068aa67fc08d09e09524dd5ee Jan-02 04:11:05.353 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.core.Peer: [mxdtrjhe2yfsx3pg.onion]:8333: Bottomed out dep tree at d25c2784c00784ba6183953b368abbb1ed64d7431942c472ebc82e5d39302f4d Jan-02 04:11:05.353 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.core.Peer: [mxdtrjhe2yfsx3pg.onion]:8333: Bottomed out dep tree at 63dd32c29d0f64f0df1ea101f2e7ab219ffda1b05984a7d460be52a96ad6ee3f Jan-02 04:11:05.353 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.core.Peer: [mxdtrjhe2yfsx3pg.onion]:8333: Dependency download complete! Jan-02 04:11:05.361 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.w.Wallet: Received a pending transaction 42c98fc9ce2622f2aeae65828639c6389cf573c4e97600c2c28652d687b9a00a that spends 0.00776825 BTC from our own wallet, and sends us 0.00592025 BTC Jan-02 04:11:05.361 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.w.Wallet: commitTx of 42c98fc9ce2622f2aeae65828639c6389cf573c4e97600c2c28652d687b9a00a Jan-02 04:11:05.361 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.w.Wallet: marked 09b9765de45cc7be1d4bb9c78b161900d2d7a6bf997421996ddaa3c439d1443b:2 as spent by 42c98fc9ce2622f2aeae65828639c6389cf573c4e97600c2c28652d687b9a00a Jan-02 04:11:05.376 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.w.Wallet: ->pending: 42c98fc9ce2622f2aeae65828639c6389cf573c4e97600c2c28652d687b9a00a Jan-02 04:11:05.376 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.w.Wallet: Estimated balance is now: 0.00742025 BTC Jan-02 04:11:05.376 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.w.WalletFiles: Saving wallet; last seen block is height 502154, date 2018-01-02T04:08:22Z, hash 00000000000000000010a68a4a70ee51587a6407c632210600f25566ec1259d9 Jan-02 04:11:05.428 [BlockingClient network thread for mxdtrjhe2yfsx3pg.onion:8333] INFO o.b.w.WalletFiles: Save completed in 51.93 ms Jan-02 04:11:32.019 [BlockingClient network thread for poyvpdt762gllauu.onion:8333] INFO o.b.w.Wallet: Received tx for -0.001848 BTC: 42c98fc9ce2622f2aeae65828639c6389cf573c4e97600c2c28652d687b9a00a [0] in block 0000000000000000007183318f5aa70f4b53c4e2223183c72f8b42c4fcae273f Jan-02 04:11:32.019 [BlockingClient network thread for poyvpdt762gllauu.onion:8333] INFO o.b.w.Wallet: <-pending Jan-02 04:11:32.019 [BlockingClient network thread for poyvpdt762gllauu.onion:8333] INFO o.b.w.Wallet: tx 42c98fc9ce2622f2aeae65828639c6389cf573c4e97600c2c28652d687b9a00a ->unspent Jan-02 04:11:32.020 [BlockingClient network thread for poyvpdt762gllauu.onion:8333] INFO o.b.w.Wallet: Balance is now: 0.00742025 BTC Jan-02 04:11:32.020 [BlockingClient network thread for poyvpdt762gllauu.onion:8333] INFO o.b.w.WalletFiles: Saving wallet; last seen block is height 502155, date 2018-01-02T04:11:33Z, hash 0000000000000000007183318f5aa70f4b53c4e2223183c72f8b42c4fcae273f Jan-02 04:11:32.335 [BlockingClient network thread for poyvpdt762gllauu.onion:8333] INFO o.b.w.WalletFiles: Save completed in 314.9 ms Jan-02 04:11:37.020 [Wallet autosave thread] INFO o.b.w.WalletFiles: Background saving wallet; last seen block is height 502155, date 2018-01-02T04:11:33Z, hash 0000000000000000007183318f5aa70f4b53c4e2223183c72f8b42c4fcae273f Jan-02 04:11:37.229 [Wallet autosave thread] INFO o.b.w.WalletFiles: Save completed in 208.8 ms Jan-02 04:11:37.346 [Wallet autosave thread] INFO o.b.w.WalletFiles: Background saving wallet; last seen block is height 502155, date 2018-01-02T04:11:33Z, hash 0000000000000000007183318f5aa70f4b53c4e2223183c72f8b42c4fcae273f Jan-02 04:11:37.597 [Wallet autosave thread] INFO o.b.w.WalletFiles: Save completed in 251.0 ms -- 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 bitcoinj+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.