package octez-shell-libs
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  Octez shell libraries
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      tezos-18.0.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
    
    
  sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a
    
    
  doc/octez-shell-libs.shell-services/Tezos_shell_services/Injection_services/index.html
Module Tezos_shell_services.Injection_servicesSource
While injecting several operations (see private_operations), if one injection failed, we have to report the error. To avoid using recursive errors we do the reporting as follows:
- We wrap the error into 
Injection_operations_error 
- If injecting the operation 
ophsucceeded we useInjection_operation_succeed_case oph 
- If injecting the operation 
ophfailed witherr, we useInjection_operation_error_case ophfollowed byerr. 
Source
val block : 
  Tezos_rpc.Context.simple ->
  ?async:bool ->
  ?force:bool ->
  ?chain:Chain_services.chain ->
  Tezos_base.TzPervasives.Bytes.t ->
  Tezos_base.Operation.t list list ->
  Tezos_base.TzPervasives.Block_hash.t Tezos_base.TzPervasives.tzresult Lwt.tblock cctxt ?async ?force raw_block tries to inject raw_block inside the node. If ?async is true, raw_block will be validated before the result is returned. If ?force is true, the block will be injected even on non strictly increasing fitness.
Source
val operation : 
  Tezos_rpc.Context.simple ->
  ?async:bool ->
  ?chain:Chain_services.chain ->
  Tezos_base.TzPervasives.Bytes.t ->
  Tezos_base.TzPervasives.Operation_hash.t Tezos_base.TzPervasives.tzresult
    Lwt.tSource
val private_operation : 
  Tezos_rpc.Context.simple ->
  ?async:bool ->
  ?chain:Chain_services.chain ->
  Tezos_base.TzPervasives.Bytes.t ->
  Tezos_base.TzPervasives.Operation_hash.t Tezos_base.TzPervasives.tzresult
    Lwt.tSource
val private_operations : 
  Tezos_rpc.Context.simple ->
  ?async:bool ->
  ?force:bool ->
  ?chain:Chain_services.chain ->
  Tezos_base.TzPervasives.Bytes.t list ->
  Tezos_base.TzPervasives.Operation_hash.t list
    Tezos_base.TzPervasives.tzresult
    Lwt.tprivate_operations injects multiple operations. The private_ prefix is because the service is bound to the /private/ path-prefix which is intended for tests only. See the ~description argument in the definition in the ml file for more information.
Source
val protocol : 
  Tezos_rpc.Context.simple ->
  ?async:bool ->
  Tezos_base.Protocol.t ->
  Tezos_base.TzPervasives.Protocol_hash.t Tezos_base.TzPervasives.tzresult
    Lwt.t sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >