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.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)"
>