Skip to content

Commit c3de62f

Browse files
committed
Add more test servers
Here we add more tests servers for integration tests.
1 parent 4158586 commit c3de62f

File tree

1 file changed

+51
-12
lines changed

1 file changed

+51
-12
lines changed

test/config.js

Lines changed: 51 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,65 @@
1-
const ELECTRUMX_HOST = 'electrumx-server.test.tbtc.network'
1+
const TBTC_ELECTRUMX_HOST = 'electrumx-server.test.tbtc.network'
2+
const BLOCKSTREAM_ELECTRS_HOST = 'electrum.blockstream.info'
23

34
const servers = [
5+
// TODO: Enable all protocols test for test.tbtc.network servers once they are
6+
// publicly exposed.
7+
// {
8+
// protocol: 'tcp',
9+
// port: '80',
10+
// host: TBTC_ELECTRUMX_HOST,
11+
// },
12+
// {
13+
// protocol: 'ssl',
14+
// port: '443',
15+
// host: TBTC_ELECTRUMX_HOST,
16+
// },
17+
// {
18+
// protocol: 'ws',
19+
// port: '8080',
20+
// host: TBTC_ELECTRUMX_HOST,
21+
// },
22+
23+
{
24+
protocol: 'wss',
25+
port: '8443',
26+
host: TBTC_ELECTRUMX_HOST,
27+
},
28+
// electrumx tcp
429
{
30+
host: 'electrum1.cipig.net',
31+
port: '10068',
532
protocol: 'tcp',
6-
port: '80',
7-
host: ELECTRUMX_HOST,
833
},
34+
// electrumx ssl
935
{
10-
protocol: 'ws',
11-
port: '8080',
12-
host: ELECTRUMX_HOST,
36+
host: 'testnet.qtornado.com',
37+
port: '51002',
38+
protocol: 'ssl',
1339
},
40+
// electrs-esplora tcp
1441
{
42+
protocol: 'tcp',
43+
port: '60001',
44+
host: BLOCKSTREAM_ELECTRS_HOST,
45+
},
46+
// electrs-esplora ssl
47+
{
48+
host: 'electrum.blockstream.info',
49+
port: '60002',
1550
protocol: 'ssl',
16-
port: '443',
17-
host: ELECTRUMX_HOST,
1851
},
19-
// FIXME: The client doesn't work with WSS connection.
52+
// fulcrum tcp
2053
{
21-
protocol: 'wss',
22-
port: '8443',
23-
host: ELECTRUMX_HOST,
54+
host: 'testnet.aranguren.org',
55+
port: 51001,
56+
protocol: 'tcp',
57+
},
58+
// fulcrum ssl
59+
{
60+
host: 'testnet.aranguren.org',
61+
port: 51002,
62+
protocol: 'ssl',
2463
},
2564
]
2665

0 commit comments

Comments
 (0)