mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use newcoind.cfg instead of config.xml
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
using namespace std;
|
||||
using namespace boost::asio::ip;
|
||||
|
||||
PeerDoor::PeerDoor(boost::asio::io_service& io_service) :
|
||||
mAcceptor(io_service, tcp::endpoint(tcp::v4(), theConfig.PEER_PORT))
|
||||
PeerDoor::PeerDoor(boost::asio::io_service& io_service) :
|
||||
mAcceptor(io_service, tcp::endpoint(address().from_string(theConfig.PEER_IP), theConfig.PEER_PORT))
|
||||
{
|
||||
cout << "Opening peer door on port: " << theConfig.PEER_PORT << endl;
|
||||
startListening();
|
||||
|
||||
Reference in New Issue
Block a user