<p>If you broadcast to all peers, you will not receive a notification (an inv message that the transaction was received and transmitted throughout the network) regarding that transaction unless another bitcoinj connects to another node.  Bitcoin Core does not send INV messages of transactions to the nodes that sent them the transactions.  That is why this is set up to broadcast the transaction to some nodes and listen to the others for INV messages with the transaction hash.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bitcoinj/commit/5a6bc4a90ba1d50152b76fe239c47a925771a49a#commitcomment-30606427">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZtkBTUtMIq3kKhtxQRfA1K5-Offczks5uduV3gaJpZM4W1g-T">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtvsqeg_gin8uLV0VuyqFsrDBcpETks5uduV3gaJpZM4W1g-T.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/bitcoinj","title":"bisq-network/bitcoinj","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/bitcoinj"}},"updates":{"snippets":[{"icon":"PERSON","message":"@HashEngineering on 5a6bc4a: If you broadcast to all peers, you will not receive a notification (an inv message that the transaction was received and transmitted throughout the network) regarding that transaction unless another bitcoinj connects to another node.  Bitcoin Core does not send INV messages of transactions to the nodes that sent them the transactions.  That is why this is set up to broadcast the transaction to some nodes and listen to the others for INV messages with the transaction hash."}],"action":{"name":"View Commit","url":"https://github.com/bisq-network/bitcoinj/commit/5a6bc4a90ba1d50152b76fe239c47a925771a49a#commitcomment-30606427"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bitcoinj/commit/5a6bc4a90ba1d50152b76fe239c47a925771a49a#commitcomment-30606427",
"url": "https://github.com/bisq-network/bitcoinj/commit/5a6bc4a90ba1d50152b76fe239c47a925771a49a#commitcomment-30606427",
"name": "View Commit"
},
"description": "View this Commit on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>