The constant is exposed in policy code, which doesn’t make sense:
- Wallet and mempool need to assume the flag to be always active to function properly.
- Setting (or unsetting) the flag has no effect on policy code.
The constant is only used in ContextualCheckBlock
(consensus code) to set a flag and then read the flag again. I think this can be better achieved by using a bool
. If there is a need to use a flag in the future, it will be trivial to do so then.
(The previous use for the constant was removed in df562d698a386166ef93d03326c0480ea9bc11fe)