Browse Source

removed HostPeerPrefs

cl-refactor
subtly 10 years ago
parent
commit
7186460b57
  1. 5
      eth/main.cpp

5
eth/main.cpp

@ -357,9 +357,8 @@ int main(int argc, char** argv)
string remoteHost; string remoteHost;
unsigned short remotePort = 30303; unsigned short remotePort = 30303;
HostPeerPreferences hprefs; unsigned peers = 11;
unsigned peers = hprefs.idealPeerCount; unsigned peerStretch = 7;
unsigned peerStretch = hprefs.stretchPeerCount;
std::map<NodeId, Node> preferredNodes; std::map<NodeId, Node> preferredNodes;
bool bootstrap = false; bool bootstrap = false;
bool disableDiscovery = false; bool disableDiscovery = false;

Loading…
Cancel
Save