package octez-protocol-alpha-libs
Octez protocol alpha libraries
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13
doc/octez-protocol-alpha-libs.test-helpers/Tezos_alpha_test_helpers/Block/Forge/index.html
Module Block.Forge
Source
Source
val contents :
?proof_of_work_threshold:Int64.t ->
?seed_nonce_hash:Tezos_protocol_alpha.Protocol.Nonce_hash.t ->
?liquidity_baking_toggle_vote:
Tezos_protocol_alpha.Protocol.Alpha_context.Per_block_votes.per_block_vote ->
?adaptive_issuance_vote:
Tezos_protocol_alpha.Protocol.Alpha_context.Per_block_votes.per_block_vote ->
payload_hash:Tezos_protocol_alpha.Protocol.Block_payload_hash.t ->
payload_round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t ->
Tezos_protocol_alpha.Protocol.Alpha_context.Block_header.shell_header ->
Tezos_protocol_alpha.Protocol.Alpha_context.Block_header.contents
Tezos_base.TzPervasives.tzresult
Lwt.t
Source
val classify_operations :
Tezos_protocol_alpha.Protocol.Alpha_context.packed_operation list ->
Tezos_protocol_alpha.Protocol.Alpha_context.packed_operation list list
Source
val forge_header :
?locked_round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t option ->
?payload_round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t option ->
?policy:baker_policy ->
?timestamp:Tezos_protocol_alpha.Protocol.Alpha_context.Timestamp.time ->
?operations:Tezos_protocol_alpha.Protocol.Alpha_context.Operation.packed list ->
?liquidity_baking_toggle_vote:
Tezos_protocol_alpha.Protocol.Alpha_context.Per_block_votes.per_block_vote ->
?adaptive_issuance_vote:
Tezos_protocol_alpha.Protocol.Alpha_context.Per_block_votes.per_block_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 :
?proof_of_work_threshold:int64 ->
Tezos_protocol_alpha.Protocol.Nonce_hash.t option ->
header ->
(header, Tezos_base.TzPervasives.tztrace) result Lwt.t
Sets uniquely seed_nonce_hash of a header
Source
val set_baker :
Tezos_protocol_alpha.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_alpha.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)"
>