diff --git a/chain/beacon/drand/drand.go b/chain/beacon/drand/drand.go index 6487ee11886..b5f5917ef74 100644 --- a/chain/beacon/drand/drand.go +++ b/chain/beacon/drand/drand.go @@ -53,6 +53,9 @@ type DrandBeacon struct { 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 { return db.isChained } diff --git a/node/modules/dtypes/beacon.go b/node/modules/dtypes/beacon.go index 020ad369891..91dd5cf57f9 100644 --- a/node/modules/dtypes/beacon.go +++ b/node/modules/dtypes/beacon.go @@ -13,5 +13,5 @@ type DrandConfig struct { Servers []string Relays []string ChainInfoJSON string - IsChained bool + IsChained bool // Prior to Drand quicknet, beacons form a chain, post quicknet they do not (FIP-0063) }