package tezos-baking-alpha

  1. Overview
  2. Docs

Inject a block.

  • parameter force

    defaults to false

  • returns

    block hash of the newly injected block

Fetch a proposal from the node.

  • parameter cache

    is unset by default

val monitor_proposals : Tezos_client_alpha.Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> unit -> (Baking_state.proposal Lwt_stream.t * (unit -> unit), Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t

Monitor proposals from the node.

val await_protocol_activation : Tezos_client_alpha.Protocol_client_context.rpc_context -> chain:Tezos_shell_services.Shell_services.chain -> unit -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t

Await the current protocol to be activated.

OCaml

Innovation. Community. Security.