File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
open Core_kernel
2
2
3
3
module Fork_config = struct
4
- (* previous_global_slot here is a global slot since genesis. previous
5
- length is a number of blocks produced since genesis, which might be
6
- smaller than previous_global_slot or equal if a block was produced
7
- in every slot possible, which may or may not be the case. *)
4
+ (* Note that previous_length might be smaller than the gernesis_slot
5
+ or equal if a block was produced in every slot possible. *)
8
6
type t =
9
- { previous_state_hash : string ; previous_length : int ; genesis_slot : int }
7
+ { previous_state_hash : string
8
+ ; previous_length : int (* number of blocks produced since genesis *)
9
+ ; genesis_slot : int (* global slot since genesis *)
10
+ }
10
11
[@@ deriving yojson , bin_io_unversioned ]
11
12
12
13
let gen =
You can’t perform that action at this time.
0 commit comments