6d41b3d38c
* Use subcommands: * `tezos_node run` * `tezos_node config` * `tezos_node identity` * Regroup all on-disk data in `--data-dir` * Split `Node_main` in multiple files. * Add DNS resolution for `--net-addr` and `--rpc-addr` * Hardcode `bootstrap.tezos.com` as bootstrap peer(s) * Add `--no-bootstrap-peers` * Rename `--expected-connections` -> `--connections`
22 lines
934 B
OCaml
22 lines
934 B
OCaml
(**************************************************************************)
|
|
(* *)
|
|
(* Copyright (c) 2014 - 2016. *)
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
(* *)
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
(* *)
|
|
(**************************************************************************)
|
|
|
|
val default_name: string
|
|
|
|
type error += No_identity_file of string
|
|
type error += Insufficient_proof_of_work of { expected: float }
|
|
|
|
val read:
|
|
?expected_pow:float ->
|
|
string -> P2p.Identity.t tzresult Lwt.t
|
|
|
|
type error += Existent_identity_file of string
|
|
|
|
val write: string -> P2p.Identity.t -> unit tzresult Lwt.t
|