aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorMarko Bencun <marko.bencun@monetas.net>2017-09-11 16:13:46 +0200
committerMarko Bencun <marko.bencun@monetas.net>2017-09-11 16:17:01 +0200
commit605918272cd806d0ee77a391d00360b925a5fab3 (patch)
treeda5a5c406400bc339918f67c2d3cbb56a82daab5 /src/init.cpp
parent16e41844e7d6c5876d2caaeef6010656950c6ec5 (diff)
add m_added_nodes to connman options
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 6230eafb6d..c611c07e4e 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1656,6 +1656,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
connOptions.m_msgproc = peerLogic.get();
connOptions.nSendBufferMaxSize = 1000*gArgs.GetArg("-maxsendbuffer", DEFAULT_MAXSENDBUFFER);
connOptions.nReceiveFloodSize = 1000*gArgs.GetArg("-maxreceivebuffer", DEFAULT_MAXRECEIVEBUFFER);
+ connOptions.m_added_nodes = gArgs.GetArgs("-addnode");
connOptions.nMaxOutboundTimeframe = nMaxOutboundTimeframe;
connOptions.nMaxOutboundLimit = nMaxOutboundLimit;