Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DrandBeacon ¶
type DrandBeacon struct {
// contains filtered or unexported fields
}
func NewDrandBeacon ¶
func NewDrandBeacon(genesisTs, interval uint64) (*DrandBeacon, error)
func (*DrandBeacon) MaxBeaconRoundForEpoch ¶
func (db *DrandBeacon) MaxBeaconRoundForEpoch(filEpoch abi.ChainEpoch, prevEntry types.BeaconEntry) uint64
func (*DrandBeacon) VerifyEntry ¶
func (db *DrandBeacon) VerifyEntry(curr types.BeaconEntry, prev types.BeaconEntry) error
Click to show internal directories.
Click to hide internal directories.