docs(drand): document the meaning of "IsChained" (#11692)
This commit is contained in:
parent
4a1a7bd29e
commit
b4e7374cd5
@ -53,6 +53,9 @@ type DrandBeacon struct {
|
|||||||
localCache *lru.Cache[uint64, *types.BeaconEntry]
|
localCache *lru.Cache[uint64, *types.BeaconEntry]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// IsChained tells us whether this particular beacon operates in "chained mode". Prior to Drand
|
||||||
|
// quicknet, beacons form a chain. After the introduction of quicknet, they do not, so we need to
|
||||||
|
// change how we interact with beacon entries. (See FIP-0063)
|
||||||
func (db *DrandBeacon) IsChained() bool {
|
func (db *DrandBeacon) IsChained() bool {
|
||||||
return db.isChained
|
return db.isChained
|
||||||
}
|
}
|
||||||
|
@ -13,5 +13,5 @@ type DrandConfig struct {
|
|||||||
Servers []string
|
Servers []string
|
||||||
Relays []string
|
Relays []string
|
||||||
ChainInfoJSON string
|
ChainInfoJSON string
|
||||||
IsChained bool
|
IsChained bool // Prior to Drand quicknet, beacons form a chain, post quicknet they do not (FIP-0063)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user