[#Consensus-Params-SegwitHeight] = xref:Consensus.adoc[Consensus]::xref:Consensus/Params.adoc[Params]::SegwitHeight :relfileprefix: ../../ :mrdocs: Block height at which Segwit (BIP141, BIP143 and BIP147) becomes active. Note that segwit v0 script rules are enforced on all blocks except the BIP 16 exception blocks. == Synopsis Declared in `<consensus/params.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SegwitHeight; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#