mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-15 04:11:51 +01:00
TransactionBroadcast: fix minor typos in comment
This commit is contained in:
parent
7169810a99
commit
f59e6ce118
1 changed files with 2 additions and 2 deletions
|
@ -169,9 +169,9 @@ public class TransactionBroadcast {
|
||||||
// thread.
|
// thread.
|
||||||
|
|
||||||
// We will send the tx simultaneously to half the connected peers and wait to hear back from at least half
|
// We will send the tx simultaneously to half the connected peers and wait to hear back from at least half
|
||||||
// of the other half, i.e., with 4 peers connected we will send the tx to 2 randomly chosen peers, and then
|
// of the other half, e.g., with 4 peers connected we will send the tx to 2 randomly chosen peers, and then
|
||||||
// wait for it to show up on one of the other two. This will be taken as sign of network acceptance. As can
|
// wait for it to show up on one of the other two. This will be taken as sign of network acceptance. As can
|
||||||
// be seen, 4 peers is probably too little - it doesn't taken many broken peers for tx propagation to have
|
// be seen, 4 peers is probably too little - it doesn't take many broken peers for tx propagation to have
|
||||||
// a big effect.
|
// a big effect.
|
||||||
List<Peer> peers = peerGroup.getConnectedPeers(); // snapshots
|
List<Peer> peers = peerGroup.getConnectedPeers(); // snapshots
|
||||||
// Prepare to send the transaction by adding a listener that'll be called when confidence changes.
|
// Prepare to send the transaction by adding a listener that'll be called when confidence changes.
|
||||||
|
|
Loading…
Add table
Reference in a new issue