package octez-shell-libs
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
    
    
  sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
    
    
  doc/octez-shell-libs.shell-services/Tezos_shell_services/Block_services/index.html
Module Tezos_shell_services.Block_servicesSource
type block = [ - | `Genesis(*- The genesis block *)
- | `Head of int(*- The *)- nth predecessor of the- current_headblock if- n > 0. If- n = 0, represents the- current_head.- nshould not be negative since the- current_headdoes not have successors.
- | `Alias of [ `Caboose | `Checkpoint | `Savepoint ] * int(*- The *)- nth predecessor of the- caboose, the- checkpointor the- savepointif- n > 0. If- n = 0, represents the block itself. If- n < 0, represents the- nth successor.
- | `Hash of Tezos_base.TzPervasives.Block_hash.t * int(*- The *)- nth predecessor of the block of given- hashif- n > 0. If- n = 0, represents the block itself. Otherwise, if- n < 0, represents the- nth successor.
- | `Level of Int32.t(*- The block at a given *)- level
 ]A representation of a block's position relatively to a known block of a chain.
A block range in the form level..level. Currently, this function supports only level..level.
val raw_context_insert : 
  (string list * Proof.raw_context) ->
  Proof.raw_context ->
  Proof.raw_contextraw_context_insert (k,v) c inserts a key-value pair (k,v) in a raw_context c. If k collides to a existing sub-tree in c, the sub-tree is replaced by a new key-value pair.
type protocols = {- current_protocol : Tezos_base.TzPervasives.Protocol_hash.t;
- next_protocol : Tezos_base.TzPervasives.Protocol_hash.t;
}val protocols : 
  Tezos_rpc.Context.simple ->
  ?chain:chain ->
  ?block:block ->
  unit ->
  protocols Tezos_base.TzPervasives.tzresult Lwt.t