Skip to content

Commit

Permalink
Add Oxfordnet network and node(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
smondet committed Aug 23, 2023
1 parent 9fa455a commit af850b7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/client/network.ml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
open! Import

type t = [`Mainnet | `Mumbainet | `Nairobinet | `Ghostnet | `Sandbox]
type t = [`Mainnet | `Oxfordnet | `Nairobinet | `Ghostnet | `Sandbox]

let to_string : t -> string = function
| `Mainnet -> "Mainnet"
| `Nairobinet -> "Nairobinet"
| `Mumbainet -> "Mumbainet"
| `Oxfordnet -> "Oxfordnet"
| `Ghostnet -> "Ghostnet"
| `Sandbox -> "Sandbox"

let better_call_dev_path : t -> string option = function
| `Mainnet -> Some "mainnet"
| `Nairobinet -> Some "nairobinet"
| `Mumbainet -> Some "mumbainet"
| `Oxfordnet -> Some "oxfordnet"
| `Ghostnet -> Some "ghostnet"
| `Sandbox -> None

let all : t list = [`Mainnet; `Nairobinet; `Mumbainet; `Ghostnet; `Sandbox]
let all : t list = [`Mainnet; `Nairobinet; `Oxfordnet; `Ghostnet; `Sandbox]
10 changes: 5 additions & 5 deletions src/client/query_nodes.ml
Original file line number Diff line number Diff line change
Expand Up @@ -303,17 +303,17 @@ let default_nodes : Node.t list =
let teztnets = "https://teztnets.xyz" in
let smartpy = "https://smartpy.io/nodes" in
let ecad = "https://tezostaquito.io/docs/rpc_nodes" in
let marigold = "https://status.marigold.dev/" in
let _marigold = "https://status.marigold.dev/" in
(* let giga = "https://giganode.io/" in *)
List.rev
[ Node.create "Ghostnet-Teztnets" ~network:`Ghostnet
"https://rpc.ghostnet.teztnets.xyz/" ~info_url:teztnets
; Node.create "Nairobinet-Teztnets" ~network:`Nairobinet
"https://rpc.nairobinet.teztnets.xyz/" ~info_url:teztnets
; Node.create "Mumbainet-Teztnets" ~network:`Mumbainet
"https://rpc.mumbainet.teztnets.xyz/" ~info_url:teztnets
; Node.create "Mumbainet-Marigold" ~network:`Mumbainet
"https://mumbainet.tezos.marigold.dev/" ~info_url:marigold
; Node.create "Oxfordnet-Teztnets" ~network:`Oxfordnet
"https://rpc.oxfordnet.teztnets.xyz/" ~info_url:teztnets
(* ; Node.create "Oxfordnet-Marigold" ~network:`Oxfordnet
"https://oxfordnet.tezos.marigold.dev/" ~info_url:marigold *)
; Node.create "Mainnet-SmartPy" "https://mainnet.smartpy.io"
~network:`Mainnet ~info_url:smartpy
; Node.create "Ghostnet-SmartPy" ~network:`Ghostnet
Expand Down

0 comments on commit af850b7

Please sign in to comment.