0

Why SegWit-incapable miners won't include SegWit tx's in their blocks but will accept as valid someone else's block with SegWit tx's in it?

  • 1
  • @G.Maxwell "Among old nodes, the transaction is not propagated because it is non-standard", but how these tx's are accepted as valid by old nodes when inside a mined block? – Pitchas Jan 21 at 16:29
  • If a pre-segwit miner would include a segwit tx in a block (which they won't accidentally do, due to nonstandardness), that block will be invalid to segwit miners. The latter would just ignore that block and build a chain that does not include it. – Pieter Wuille Jan 21 at 16:34
  • @PieterWuille, this I understand, but what about the other way around? Do pre-segwit miners receive blocks by segwit miners with segwit tx's in them and accept them as valid? Being "nonstandard" and "valid" are different things? – Pitchas Jan 21 at 16:39
  • 2
    Nonstandard means "won't relay or include in a block" (which is a local policy). Invalid means "would be invalid in a block" (which is a network wide rule). Segwit has been constructed such that a block with witness transactions will be valid to pre-segwit nodes. – Pieter Wuille Jan 21 at 16:42

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.