aboutsummaryrefslogtreecommitdiffstats
path: root/core/constant.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/constant.go')
-rw-r--r--core/constant.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/constant.go b/core/constant.go
index f80e1b9..29dae8b 100644
--- a/core/constant.go
+++ b/core/constant.go
@@ -32,6 +32,10 @@ const ConfigRoundShift uint64 = 2
// have neither DKG nor CRS.
const DKGDelayRound uint64 = 1
+// NoRand is the magic placeholder for randomness field in blocks for blocks
+// proposed before DKGDelayRound.
+var NoRand = []byte("norand")
+
func init() {
utils.SetDKGDelayRound(DKGDelayRound)
}