package octez-protocol-018-Proxford-libs

  1. Overview
  2. Docs
Octez protocol 018-Proxford libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-protocol-018-Proxford-libs.baking/Tezos_baking_018_Proxford/Node_rpc/index.html

Module Tezos_baking_018_Proxford.Node_rpcSource

Sourceval inject_block : Tezos_client_018_Proxford.Protocol_client_context.full -> ?force:bool -> chain:Tezos_shell_services.Shell_services.chain -> Tezos_protocol_018_Proxford.Protocol.Alpha_context.Block_header.t -> Tezos_base.Operation.t list list -> Tezos_base.TzPervasives.Block_hash.t Tezos_base.TzPervasives.tzresult Lwt.t

Inject a block.

  • parameter force

    defaults to false

  • returns

    block hash of the newly injected block

Sourceval inject_operation : Tezos_client_018_Proxford.Protocol_client_context.full -> chain:Tezos_shell_services.Shell_services.chain -> Tezos_protocol_018_Proxford.Protocol.Alpha_context.packed_operation -> Tezos_base.TzPervasives.Operation_hash.t Tezos_base.TzPervasives.tzresult Lwt.t

Inject an operation.

  • returns

    operation hash of the newly injected operation

Preapply a block using the node validation mechanism.

Monitor validated blocks/proposals from the node.

Await the current protocol to be activated.

Sourceval get_attestable_slots : Tezos_rpc.Context.generic -> Tezos_protocol_018_Proxford.Protocol.Alpha_context.public_key_hash -> attested_level:int32 -> Tezos_dal_node_services.Types.attestable_slots Tezos_base.TzPervasives.tzresult Lwt.t

get_attestable_slots ctxt pkh ~level calls the DAL node RPC GET /profiles/<pkh>/attested_levels/<level>/attestable_slots

register_dal_profiles ctxt delegates calls the DAL node RPC PATCH /profiles/ to register each profile corresponding to a delegate in delegates.

OCaml

Innovation. Community. Security.