package octez-protocol-020-PsParisC-libs
Octez protocol 020-PsParisC libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
doc/octez-protocol-020-PsParisC-libs.baking/Tezos_baking_020_PsParisC/Baking_pow/index.html
Module Tezos_baking_020_PsParisC.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_020_PsParisC.Protocol.Alpha_context.Block_header.contents) ->
Tezos_protocol_020_PsParisC.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)"
>