package octez-protocol-017-PtNairob-libs
Octez protocol 017-PtNairob libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a
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)"
>