Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DrandBeacon ¶
type DrandBeacon struct { DrandClient client.Client PublicKey kyber.Point // contains filtered or unexported fields }
func NewDrandBeacon ¶
func (*DrandBeacon) Entry ¶
func (db *DrandBeacon) Entry(ctx context.Context, round uint64) (types.BeaconEntry, error)
func (*DrandBeacon) LatestBeaconRound ¶
func (db *DrandBeacon) LatestBeaconRound() uint64
func (*DrandBeacon) VerifyEntry ¶
func (db *DrandBeacon) VerifyEntry(curr, prev types.BeaconEntry) error
Click to show internal directories.
Click to hide internal directories.