Data.Local_state
module Snapshot : sig ... end
val to_yojson : t -> Yojson.Safe.t
val create :
Signature_lib.Public_key.Compressed.Set.t ->
context:(module Intf.CONTEXT) ->
genesis_ledger:Mina_ledger.Ledger.t Core_kernel.Lazy.t ->
genesis_epoch_data:Genesis_epoch_data.t ->
epoch_ledger_location:string ->
genesis_state_hash:Mina_base.State_hash.t ->
t
val current_block_production_keys :
t ->
Signature_lib.Public_key.Compressed.Set.t
val current_epoch_delegatee_table :
local_state:t ->
Mina_base.Account.t Mina_base.Account.Index.Table.t
Signature_lib.Public_key.Compressed.Table.t
val last_epoch_delegatee_table :
local_state:t ->
Mina_base.Account.t Mina_base.Account.Index.Table.t
Signature_lib.Public_key.Compressed.Table.t
option
val next_epoch_ledger : t -> Snapshot.Ledger_snapshot.t
val staking_epoch_ledger : t -> Snapshot.Ledger_snapshot.t
val block_production_keys_swap :
constants:Constants.t ->
t ->
Signature_lib.Public_key.Compressed.Set.t ->
Block_time.t ->
unit
Swap in a new set of block production keys and invalidate and/or recompute cached data
module For_tests : sig ... end