Mavryk_shell_services.Block_servicesmodule Proof = Mavryk_context_sigs.Context.Proof_typestype chain_prefix = unit * chainval chain_path : (unit, chain_prefix) Mavryk_rpc.Path.tval parse_chain : string -> (chain, string) Stdlib.resultval chain_to_string : chain -> stringval chain_arg : chain Mavryk_rpc.Arg.ttype block = [ | `GenesisThe genesis block
*)| `Head of intThe nth predecessor of the current_head block if n > 0. If n = 0, represents the current_head. n should not be negative since the current_head does not have successors.
| `Alias of [ `Caboose | `Checkpoint | `Savepoint ] * intThe nth predecessor of the caboose, the checkpoint or the savepoint if n > 0. If n = 0, represents the block itself. If n < 0, represents the nth successor.
| `Hash of Mavryk_base.TzPervasives.Block_hash.t * intThe nth predecessor of the block of given hash if n > 0. If n = 0, represents the block itself. Otherwise, if n < 0, represents the nth successor.
| `Level of Stdlib.Int32.tThe block at a given level
]A representation of a block's position relatively to a known block of a chain.
val parse_block : string -> (block, string) Stdlib.resultval parse_block_range : string -> (range, string) Stdlib.resultA block range in the form level..level. Currently, this function supports only level..level.
val parse_block_or_range : string -> (block_or_range, string) Stdlib.resultval to_string : block -> stringval dir_path : (chain_prefix, chain_prefix) Mavryk_rpc.Path.tval path : (chain_prefix, chain_prefix * block) Mavryk_rpc.Path.tval mempool_path : ('a, 'b) Mavryk_rpc.Path.t -> ('a, 'b) Mavryk_rpc.Path.tval live_blocks_path : ('a, 'b) Mavryk_rpc.Path.t -> ('a, 'b) Mavryk_rpc.Path.tval raw_context_encoding :
Proof.raw_context Mavryk_base.TzPervasives.Data_encoding.tval 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.
module type PROTO = sig ... endtype protocols = {current_protocol : Mavryk_base.TzPervasives.Protocol_hash.t;next_protocol : Mavryk_base.TzPervasives.Protocol_hash.t;}val protocols :
Mavryk_rpc.Context.simple ->
?chain:chain ->
?block:block ->
unit ->
protocols Mavryk_base.TzPervasives.tzresult Lwt.tmodule Make (Proto : PROTO) (Next_proto : PROTO) : sig ... endmodule Fake_protocol : PROTOmodule Empty : sig ... end