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