How does the Bitcoin client make sure transactions were accepted by the network?

0

When announcing a transaction, how does the Bitcoin client make sure network peers accepted it? For example, if I put in no transaction-fee but all peers I’m connected to require a fee and therefore reject my transaction, how will I notice it?

Lenar Hoyt

Posted 2013-12-23T18:56:21.073

Reputation: 105

i can't say for sure, but it might be a case of waiting to see if the transaction comes through in a blockmulllhausen 2013-12-23T20:14:19.400

Answers

3

The client doesn't ensure peers accept it. If none of your peers relay the transaction, then it will likely never get into a block and will remain unconfirmed forever. Your client will continue to make attempts to relay the transaction periodically, and you may eventually connect to a client that will relay transactions that have no fee or your coins may eventually get old enough that the standard client will relay them with no fee.

David Schwartz

Posted 2013-12-23T18:56:21.073

Reputation: 46 931

So, the client actively searches incoming blocks for previously announced transactions?Lenar Hoyt 2013-12-23T21:04:34.210

1Yes, it does. That's how it knows how many confirmations they have -- if any.David Schwartz 2013-12-23T21:51:17.107