This repository was archived by the owner on Nov 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 113
Expand file tree
/
Copy pathBootstrapNodes.hs
More file actions
66 lines (61 loc) · 1.98 KB
/
BootstrapNodes.hs
File metadata and controls
66 lines (61 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedStrings #-}
-- |
-- Module: P2P.BootstrapNodes
-- Copyright: Copyright © 2020 Kadena LLC.
-- License: MIT
-- Maintainer: Lars Kuhtz <lars@kadena.io>
-- Stability: experimental
--
-- TODO
--
module P2P.BootstrapNodes
( mainnetBootstrapHosts
, testnet04BootstrapHosts
) where
-- internal modules
import Chainweb.HostAddress
-- -------------------------------------------------------------------------- --
-- | Mainnet bootstrap nodes.
--
-- Nodes in this list need a public DNS name and a corresponding TLS
-- certificate. Operators of the nodes are expected to guarantee long term
-- availability of the nodes.
--
-- Please make a pull request, if you like to see your node being included here.
--
mainnetBootstrapHosts :: [HostAddress]
mainnetBootstrapHosts = []
-- mainnetBootstrapHosts = map unsafeHostAddressFromText
-- [ "us-e1.chainweb.com:443"
-- , "us-e2.chainweb.com:443"
-- , "us-e3.chainweb.com:443"
-- , "us-w1.chainweb.com:443"
-- , "us-w2.chainweb.com:443"
-- , "us-w3.chainweb.com:443"
-- , "fr1.chainweb.com:443"
-- , "fr2.chainweb.com:443"
-- , "fr3.chainweb.com:443"
-- , "jp1.chainweb.com:443"
-- , "jp2.chainweb.com:443"
-- , "jp3.chainweb.com:443"
-- ]
-- -------------------------------------------------------------------------- --
-- | Testnet04 bootstrap nodes.
--
-- Nodes in this list need a public DNS name and a corresponding TLS
-- certificate. Operators of the nodes are expected to guarantee long term
-- availability of the nodes.
--
-- Please make a pull request, if you like to see your node being included here.
--
testnet04BootstrapHosts :: [HostAddress]
testnet04BootstrapHosts = []
-- testnet04BootstrapHosts = map unsafeHostAddressFromText
-- [ "us1.testnet.chainweb.com:443"
-- , "us2.testnet.chainweb.com:443"
-- , "eu1.testnet.chainweb.com:443"
-- , "eu2.testnet.chainweb.com:443"
-- , "ap1.testnet.chainweb.com:443"
-- , "ap2.testnet.chainweb.com:443"
-- ]