package octez-libs
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a
doc/octez-libs.base/Tezos_base/Block_header/index.html
Module Tezos_base.Block_headerSource
type shell_header = {level : Int32.t;(*Height of the block, from the genesis block.
*)proto_level : int;(*Number (uint8) of protocol changes since genesis modulo 256.
*)predecessor : Tezos_crypto.Hashed.Block_hash.t;(*Hash of the preceding block.
*)timestamp : Time.Protocol.t;(*Timestamp at which the block is claimed to have been created.
*)validation_passes : int;(*Number (uint8) of validation passes (also number of lists of operations).
*)operations_hash : Tezos_crypto.Hashed.Operation_list_list_hash.t;(*Hash of the list of lists (actually root hashes of merkle trees) of operations included in the block. There is one list of operations per validation pass.
*)fitness : Fitness.t;(*A sequence of sequences of unsigned bytes, ordered by length and then lexicographically. It represents the claimed fitness of the chain ending in this block.
*)context : Tezos_crypto.Hashed.Context_hash.t;(*Hash of the state of the context either before or after application of this block depending on the protocol environment's
*)expected_context_hashvalue.
}include S.HASHABLE
with type t := t
and type hash := Tezos_crypto.Hashed.Block_hash.t
val get_forced_protocol_upgrade :
user_activated_upgrades:User_activated.upgrades ->
level:Int32.t ->
Tezos_crypto.Hashed.Protocol_hash.t optionval get_voted_protocol_overrides :
user_activated_protocol_overrides:User_activated.protocol_overrides ->
Tezos_crypto.Hashed.Protocol_hash.t ->
Tezos_crypto.Hashed.Protocol_hash.t option