/** * @param Index\Blocks $blocks * @param int $currentHeight * @param BlockHeaderInterface $header * @return bool */ public function scriptVerifyDerSig(Index\Blocks $blocks, $currentHeight, BlockHeaderInterface $header) { if ($this->math->cmp($header->getVersion(), 3) && $this->isSuperMajority(3, $currentHeight - 1, $blocks, $this->params->majorityEnforceBlockUpgrade())) { return true; } return false; }