mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
* Extend timeout for WebSocket test. * Windows networking doesn't like connecting to 0.0.0.0. Use 127.0.0.1 * Additional command line options in config. Can potentially be used to run rippled in a debugger.
54 lines
1.2 KiB
JavaScript
54 lines
1.2 KiB
JavaScript
//
|
|
// Configuration for unit tests: to be locally customized as needed.
|
|
//
|
|
|
|
var path = require("path");
|
|
var testconfig = require("./testconfig.js");
|
|
|
|
exports.accounts = testconfig.accounts;
|
|
|
|
exports.server_default = "alpha";
|
|
|
|
exports.default_server_config = {
|
|
// Where to find the binary.
|
|
rippled_path: path.resolve(__dirname, "../build/rippled")
|
|
};
|
|
|
|
//
|
|
// Configuration for servers.
|
|
//
|
|
// For testing, you might choose to target a persistent server at alternate ports.
|
|
//
|
|
exports.servers = {
|
|
// A local test server.
|
|
"alpha" : {
|
|
//'trace': true,
|
|
'websocket_ip': "127.0.0.1",
|
|
'websocket_port': 5006,
|
|
'websocket_ssl': false,
|
|
'trusted' : true,
|
|
// "peer_ip" : "127.0.0.1",
|
|
// "peer_port" : 51235,
|
|
'rpc_ip' : "127.0.0.1",
|
|
'rpc_port' : 5005,
|
|
'local_sequence' : true,
|
|
'trace' : false,
|
|
// 'trace' : true,
|
|
'local_fee' : true,
|
|
// 'validation_seed' : "shhDFVsmS2GSu5vUyZSPXYfj1r79h",
|
|
// 'validators' : "n9L8LZZCwsdXzKUN9zoVxs4YznYXZ9hEhsQZY7aVpxtFaSceiyDZ beta",
|
|
'local_signing' : false,
|
|
'node_db': 'type=memory'
|
|
}
|
|
};
|
|
|
|
exports.http_servers = {
|
|
// A local test server
|
|
"zed" : {
|
|
"ip" : "127.0.0.1",
|
|
"port" : 8088,
|
|
}
|
|
};
|
|
|
|
// vim:sw=2:sts=2:ts=8:et
|