/** * @param BlockIndexInterface $index */ public function updateTip(BlockIndexInterface $index) { $this->container->updateSegmentBlock($this->view->getSegment(), $index); $this->position++; $this->index = $index; }
/** * @return ChainView */ public function chain() { return $this->chains->best(Bitcoin::getMath()); }