Segregated witness p2p layer compatibility



Summary:

A discussion on the implementation of SegWit has taken place on the Bitcoin-dev mailing list. Eric Voskuil stated that pre-SegWit miners will produce blocks that SegWit nodes will not receive due to the protocol requirements of SegWit. However, Suhas Daftuar clarifies that this is an "implementation detail" in the Bitcoin Core code that alternate implementations compliant with BIP 144 could implement differently. At the consensus layer, non-SegWit blocks that are valid to older nodes are also valid to SegWit nodes. This means that if a miner was using an older, pre-SegWit version of Bitcoin Core to produce blocks after SegWit activates, those blocks they find will be valid to all nodes. It is noted that Bitcoin Core has been implemented so that it will not see valid blocks announced by certain peers. Forcing it to see such blocks requires the peer-to-peer network to work around its current implementation.


Updated on: 2023-06-11T22:38:43.723128+00:00