The function ContextualCheckBlock takes both a Config and a Consensus::Params as parameter. The second one can be accessed from the config and is therefore redundant.
Description
Description
Revisions and Commits
Revisions and Commits
Related Objects
Related Objects
- Mentioned In
- rSTAGING6ef41ed3a922: Remove Consensus::Params parameter from ContextualCheckBlock
rABC6ef41ed3a922: Remove Consensus::Params parameter from ContextualCheckBlock
D1028: Remove Consensus::Params parameter from ContextualCheckBlock - Mentioned Here
- D1028: Remove Consensus::Params parameter from ContextualCheckBlock
Event Timeline
Comment Actions
Checking ContextualCheckBlock at https://reviews.bitcoinabc.org/source/bitcoin-abc/browse/master/src/validation.cpp;2c81a03ad212b73ca7002ef9f9f891a025c1f6bd$3523
I don't see CChainParams is been passed.
Comment Actions
Fixed the task title and descrition. It wasn't CChainParams directly, but rather a subcomponent of that, which is Consensus::Params. Look at calls to ContextualCheckBlock and it will be clear that the "params" parameter is redundant. Thanks for taking a look at this. :)