-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathBootstrapNodes.hs
84 lines (78 loc) · 2.6 KB
/
BootstrapNodes.hs
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedStrings #-}
-- |
-- Module: P2P.BootstrapNodes
-- Copyright: Copyright © 2020 Kadena LLC.
-- License: MIT
-- Maintainer: Lars Kuhtz <[email protected]>
-- Stability: experimental
--
-- TODO
--
module P2P.BootstrapNodes
( mainnetBootstrapHosts
, testnet04BootstrapHosts
, testnet05BootstrapHosts
) 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 = 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 = 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"
]
-- -------------------------------------------------------------------------- --
-- | Testnet05 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.
--
testnet05BootstrapHosts :: [HostAddress]
testnet05BootstrapHosts = map unsafeHostAddressFromText
[ "us1.testnet05.chainweb.com:443"
, "us2.testnet05.chainweb.com:443"
-- , "eu1.testnet05.chainweb.com:443"
-- , "eu2.testnet05.chainweb.com:443"
-- , "ap1.testnet05.chainweb.com:443"
-- , "ap2.testnet05.chainweb.com:443"
]