package tezos-protocol-alpha
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b
doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Skip_list_costs/index.html
Module Tezos_raw_protocol_alpha.Skip_list_costs
Source
Source
val model_next :
length:Tezos_protocol_environment_alpha.Z.t ->
Saturation_repr.may_saturate Saturation_repr.t
model_next ~length
returns the gas cost of inserting a cell in a skip list of a given length
, assuming basis equals 2.
Source
val model_hash_cell :
backpointers_count:int ->
Saturation_repr.may_saturate Saturation_repr.t
model_hash_cell ~backpointers_count
returns the gas cost of hashing the last cell with a given backpointers_count
, assuming basis equals 2.
Source
val model_hash_cell_computed_backpointers_count :
index:Tezos_protocol_environment_alpha.Z.t ->
Saturation_repr.may_saturate Saturation_repr.t
model_hash_cell_computed_backpointers_count ~index
same as model_hash_cell
but compute the number of backpointers a specific cell will have. Assuming basis equals 2.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>