package octez-protocol-017-PtNairob-libs
Octez protocol 017-PtNairob libraries
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
doc/octez-protocol-017-PtNairob-libs.baking/Tezos_baking_017_PtNairob/Baking_pow/index.html
Module Tezos_baking_017_PtNairob.Baking_pow
Source
A null proof-of-work nonce. This should only be used to nonsensical blocks of the correct size and shape.
Source
val mine :
proof_of_work_threshold:int64 ->
Tezos_base.TzPervasives.Block_header.shell_header ->
(Tezos_base.TzPervasives.Bytes.t ->
Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Block_header.contents) ->
Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Block_header.contents
Tezos_base.TzPervasives.tzresult
Lwt.t
mine ~proof_of_work_threshold chain block header builder
returns a block with a valid proof-of-work nonce. The function builder
, provided by the caller, is used to make the block. All the internal logic of generating nonces and checking for the proof-of-work threshold is handled by mine
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>