Module Tezos_baking_alpha.Node_rpc

Inject a block.

  • parameter force

    defaults to false

  • returns

    block hash of the newly injected block

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.

Monitor heads from the node.

Await the current protocol to be activated.

val dal_attestable_slots : Tezos_rpc.Context.generic -> attestation_level:int32 -> Baking_state.delegate_slot list -> Baking_state.dal_attestable_slots

dal_attestable_slots ctxt ~attestation_level delegates_slots calls the DAL node RPC GET /profiles/<pkh>/attested_levels/<level>/attestable_slots/<pkh> for each of the delegates in delegate_slots and returns the corresponding promises.

get_dal_profiles ctxt delegates calls the DAL node RPC GET /profiles/ to retrieve the DAL node's profiles.

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

get_dal_health ctxt calls the DAL node RPC 'GET /health'