My D478 needs to know if active chain is UAHF to know whether to ignore peer ADDR messages if peer is not NODE_CASH.
This global flag is a much more efficient way to communicate that information than calling IsUAHFEnabledForCurrentBlock() (which needs cs_main).
If this gets approved I'll go back and change D478 to use this flag instead.