2016-09-08 21:13:10 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2018-02-06 00:17:03 +04:00
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
2016-09-08 21:13:10 +04:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2018-02-14 18:20:03 +04:00
|
|
|
open Client_context
|
2018-02-11 22:17:40 +04:00
|
|
|
|
2018-04-03 13:39:09 +04:00
|
|
|
type command = full Clic.command
|
2018-06-30 16:52:20 +04:00
|
|
|
type network = [ `Betanet | `Alphanet | `Zeronet | `Sandbox ]
|
2016-09-08 21:13:10 +04:00
|
|
|
|
|
|
|
exception Version_not_found
|
|
|
|
|
2018-06-30 16:52:20 +04:00
|
|
|
val register: Protocol_hash.t -> (network option -> command list) -> unit
|
|
|
|
val commands_for_version: Protocol_hash.t -> network option -> command list
|
|
|
|
val get_versions: unit -> (Protocol_hash.t * (network option -> command list)) list
|