package octez-shell-libs
Octez shell libraries
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13
doc/octez-shell-libs.client-base/Tezos_client_base/Client_confirmations/index.html
Module Tezos_client_base.Client_confirmations
Source
Source
val wait_for_operation_inclusion :
Client_context.full ->
chain:Tezos_shell_services.Chain_services.chain ->
?predecessors:int ->
?confirmations:int ->
?branch:Tezos_base.TzPervasives.Block_hash.t ->
Tezos_base.TzPervasives.Operation_hash.t ->
(Tezos_base.TzPervasives.Block_hash.t * int * int)
Tezos_base.TzPervasives.tzresult
Lwt.t
wait_for_operation_inclusion chain ~predecessors ~confirmations oph
waits for `oph` to appears in the main chain with at least `confirmations`. It returns the hash of the block that contains the operation and the operation position in the block.
This functions also looks for the operations in the `predecessors` of the initial chain head.
Source
val lookup_operation_in_previous_blocks :
Client_context.full ->
chain:Tezos_shell_services.Block_services.chain ->
predecessors:int ->
Tezos_base.TzPervasives.Operation_list_hash.elt ->
(Tezos_base.TzPervasives.Block_hash.t * int * int) option
Tezos_base.TzPervasives.tzresult
Lwt.t
lookup an operation in predecessors
previous blocks, starting from head
Source
val wait_for_bootstrapped :
?retry:
((Client_context.full as 'a ->
((Tezos_base.TzPervasives.Block_hash.t
* Tezos_base.TzPervasives.Time.Protocol.t)
Lwt_stream.t
* Tezos_rpc.Context.stopper)
Tezos_base.TzPervasives.tzresult
Lwt.t) ->
'a ->
((Tezos_base.TzPervasives.Block_hash.t
* Tezos_base.TzPervasives.Time.Protocol.t)
Lwt_stream.t
* Tezos_rpc.Context.stopper)
Tezos_base.TzPervasives.tzresult
Lwt.t) ->
'a ->
unit Tezos_base.TzPervasives.tzresult Lwt.t
returns when the node consider itself as bootstrapped.
Function retry
specifies how to behave in order to connect to the node. The default is the identity which correspond to simply calling the RPC. As an example, the endorser tries 5 times with delays in between attempts when the connection fails.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>