package octez-libs
A package that contains multiple base libraries used by the Octez suite
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
doc/octez-libs.base/Tezos_base/Block_header/index.html
Module Tezos_base.Block_header
Source
Source
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_hash
value.
}
include S.HASHABLE
with type t := t
and type hash := Tezos_crypto.Hashed.Block_hash.t
Source
val get_forced_protocol_upgrade :
user_activated_upgrades:User_activated.upgrades ->
level:Int32.t ->
Tezos_crypto.Hashed.Protocol_hash.t option
Source
val 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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>