-
Notifications
You must be signed in to change notification settings - Fork 7
/
devSettings.js
42 lines (41 loc) · 961 Bytes
/
devSettings.js
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
"use strict";
const gui = false;
const devSettings = function () {
this.startport = 3100;
this.clients = {
Bob: {
gui: gui,
react: true,
url: 'bob.openpoint.ie',
onion:'i3atnku27f37azc4.onion'
},
Alice: {
gui: gui,
react: true,
url: 'alice.openpoint.ie',
onion:'tomk52rmb7bzuaun.onion'
},
Arbitrator: {
gui: gui,
react: false
}
};
this.makeClients();
};
devSettings.prototype.makeClients = function(){
let count = 0;
this.clients = Object.keys(this.clients).map((client)=>{
count = count+10;
let Client = this.clients[client];
return {
name:client,
dirname:'Bisq-Regtest-'+client,
port:this.startport+count,
gui:Client.gui,
react:Client.react,
url:Client.url,
onion:Client.onion
}
})
};
module.exports = new devSettings();