HomePhabricator

Add an overload of IsUAHFenabled that that a CBlockIndex as parameter

Description

Add an overload of IsUAHFenabled that that a CBlockIndex as parameter

Summary: This was it can do the null check consistently. There are at least 4 null checks when using CBlockIndex to feed this function, which is an indication that such routine is needed.

Test Plan:

make check
../qa/pull-tester/rpc-tests.py

Reviewers: freetrader, sickpig, awemany, kyuupichan, #bitcoin_abc

Reviewed By: freetrader, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D214

Details

Provenance
deadalnixAuthored on Jun 16 2017, 10:40
deadalnixPushed on Jun 16 2017, 13:28
Reviewer
Restricted Project
Differential Revision
D214: Add an overload of IsUAHFenabled that that a CBlockIndex as parameter
Parents
rABCebdb3ae26d32: Test HF activation accross reorg
Branches
Unknown
Tags
Unknown