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?

  • i can't say for sure, but it might be a case of waiting to see if the transaction comes through in a block – mulllhausen Dec 23 '13 at 20:14

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.

| improve this answer | |
  • So, the client actively searches incoming blocks for previously announced transactions? – Lenar Hoyt Dec 23 '13 at 21:04
  • 1
    Yes, it does. That's how it knows how many confirmations they have -- if any. – David Schwartz Dec 23 '13 at 21:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.