Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CycleService ¶
type CycleService struct {
// contains filtered or unexported fields
}
CycleService is a struct wrapper for cycle functions
func NewCycleService ¶
func NewCycleService(blockService block.TezosBlockService) *CycleService
NewCycleService returns a new CycleService
func (*CycleService) GetCurrent ¶
func (s *CycleService) GetCurrent() (int, error)
GetCurrent gets the current cycle of the chain
type TezosCycleService ¶
Click to show internal directories.
Click to hide internal directories.