Question about segwit and anyone-can-spend transactions

I am learning about segwit and something is still not clicking for me. When a segwit output is created it looks like an anyone-can-spend transaction to legacy nodes/miners. What is keeping a legacy miner from creating a block that spends this which gets validated by legacy nodes but rejected by segwit nodes, causing a hardfork?

submitted by /u/looneytones8
[link] [comments]

Comments