mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Update npm test rippled.cfg to use [server]:
The test now generates a configuration file with the new configuration sections define by the Universal Port feature.
This commit is contained in:
committed by
Vinnie Falco
parent
ac0eaa912b
commit
150a3810a8
@@ -19,25 +19,42 @@ exports.default_server_config = {
|
|||||||
//
|
//
|
||||||
// For testing, you might choose to target a persistent server at alternate ports.
|
// For testing, you might choose to target a persistent server at alternate ports.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
var lines = function() {return Array.prototype.slice.call(arguments).join('\n')}
|
||||||
|
|
||||||
exports.servers = {
|
exports.servers = {
|
||||||
// A local test server.
|
// A local test server.
|
||||||
"alpha" : {
|
"alpha" : {
|
||||||
//'trace': true,
|
|
||||||
|
// ripple-lib.Remote
|
||||||
|
'local_fee' : true,
|
||||||
|
'local_sequence' : true,
|
||||||
|
'local_signing' : false,
|
||||||
|
'trace' : false,
|
||||||
|
'trusted' : true,
|
||||||
|
|
||||||
'websocket_ip': "127.0.0.1",
|
'websocket_ip': "127.0.0.1",
|
||||||
'websocket_port': 5006,
|
'websocket_port': 5006,
|
||||||
'websocket_ssl': false,
|
'websocket_ssl': false,
|
||||||
'trusted' : true,
|
|
||||||
// "peer_ip" : "127.0.0.1",
|
// json rpc test
|
||||||
// "peer_port" : 51235,
|
|
||||||
'rpc_ip' : "127.0.0.1",
|
'rpc_ip' : "127.0.0.1",
|
||||||
'rpc_port' : 5005,
|
'rpc_port' : 5005,
|
||||||
'local_sequence' : true,
|
|
||||||
'trace' : false,
|
// rippled.cfg
|
||||||
// 'trace' : true,
|
'server' : lines('port_admin_http',
|
||||||
'local_fee' : true,
|
'port_admin_ws'),
|
||||||
// 'validation_seed' : "shhDFVsmS2GSu5vUyZSPXYfj1r79h",
|
|
||||||
// 'validators' : "n9L8LZZCwsdXzKUN9zoVxs4YznYXZ9hEhsQZY7aVpxtFaSceiyDZ beta",
|
'port_admin_http': lines('port = 5005',
|
||||||
'local_signing' : false,
|
'ip = 127.0.0.1',
|
||||||
|
'admin = allow',
|
||||||
|
'protocol = http'),
|
||||||
|
|
||||||
|
'port_admin_ws': lines('port = 5006',
|
||||||
|
'ip = 127.0.0.1',
|
||||||
|
'admin = allow',
|
||||||
|
'protocol = ws'),
|
||||||
|
|
||||||
'node_db': 'type=memory'
|
'node_db': 'type=memory'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -50,4 +67,4 @@ exports.http_servers = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// vim:sw=2:sts=2:ts=8:et
|
// vim:sw=2:sts=2:ts=8:et
|
||||||
Reference in New Issue
Block a user