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.test-helpers/Tezos_017_PtNairob_test_helpers/Block/Forge/index.html
Module Block.Forge
Source
Source
val contents :
?proof_of_work_nonce:Tezos_base.TzPervasives.Bytes.t ->
?seed_nonce_hash:Tezos_protocol_017_PtNairob.Protocol.Nonce_hash.t ->
?liquidity_baking_toggle_vote:
Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Liquidity_baking.liquidity_baking_toggle_vote ->
payload_hash:Tezos_protocol_017_PtNairob.Protocol.Block_payload_hash.t ->
payload_round:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t ->
unit ->
Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Block_header.contents
Source
val classify_operations :
Tezos_protocol_017_PtNairob.Protocol.Alpha_context.packed_operation list ->
Tezos_protocol_017_PtNairob.Protocol.Alpha_context.packed_operation list list
Source
val forge_header :
?locked_round:
Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t option ->
?payload_round:
Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t option ->
?policy:baker_policy ->
?timestamp:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Timestamp.time ->
?operations:
Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Operation.packed list ->
?liquidity_baking_toggle_vote:
Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Liquidity_baking.liquidity_baking_toggle_vote ->
t ->
header Tezos_base.TzPervasives.tzresult Lwt.t
Forges a correct header following the policy. The header can then be modified and applied with apply
.
Source
val set_seed_nonce_hash :
Tezos_protocol_017_PtNairob.Protocol.Nonce_hash.t option ->
header ->
header
Sets uniquely seed_nonce_hash of a header
Source
val set_baker :
Tezos_protocol_017_PtNairob.Protocol.Alpha_context.public_key_hash ->
?consensus_key:Tezos_base.TzPervasives.Signature.public_key_hash ->
header ->
header
Sets the baker that will sign the header to an arbitrary pkh
Source
val sign_header :
header ->
Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Block_header.block_header
Tezos_base.TzPervasives.tzresult
Lwt.t
Signs the header with the key of the baker configured in the header. The header can no longer be modified, only applied.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>