Пример #1
0
 /**
  * @param BlockIndexInterface $index
  */
 public function updateTip(BlockIndexInterface $index)
 {
     $this->container->updateSegmentBlock($this->view->getSegment(), $index);
     $this->position++;
     $this->index = $index;
 }
Пример #2
0
 /**
  * @return ChainView
  */
 public function chain()
 {
     return $this->chains->best(Bitcoin::getMath());
 }