2

Is it possible to have a "unlucky" transaction that can never be part of block? Meaning grouping it with other transactions never results in a valid block?

[Edit] By not being in valid block, I meant no valid nonce is found with given target difficulty. It seems mathematically, this is possible and what happens to transaction (if there is no expirey) in this case?

vent
  • 151
  • 4
  • The number of possible blocks including that transaction is a number with tens of thousands of digits. You're imagining there would be no possible nonce for any of them? – David Schwartz Nov 26 '17 at 10:58

3 Answers3

2

No, if the transaction is valid then it can always be included in a block if a valid nonce/extra nonce is found.

meshcollider
  • 11,815
  • 4
  • 25
  • 53
1

No. By the definition, any valid transaction can be placed in block. If something in block invalidates it - this is only an array of random bytes, not a valid bitcoin transaction.

amaclin
  • 6,760
  • 1
  • 21
  • 32
1

If you mean that the transaction may be pending for hours, or even days, yes: it can happen and it's part of Bitcoin Core protocol.

You may also want to have a look at this question