Skip to content

Commit 36e3704

Browse files
committed
Additonal protocol and handshake parameterization.
1 parent ce1e5cf commit 36e3704

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/server_node.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <boost/date_time.hpp>
2525
#include <boost/format.hpp>
2626
#include <boost/lexical_cast.hpp>
27+
#include <bitcoin/bitcoin.hpp>
2728
#include <bitcoin/server/config/config.hpp>
2829
#include <bitcoin/server/config/settings.hpp>
2930
#include <bitcoin/server/message.hpp>
@@ -56,10 +57,11 @@ server_node::server_node(settings_type& config)
5657

5758
// Networking related services.
5859
hosts_(network_pool_, config.hosts_file.string(), 1000),
59-
handshake_(network_pool_),
60+
handshake_(network_pool_, bc::protocol_port),
6061
network_(network_pool_),
6162
protocol_(network_pool_, hosts_, handshake_, network_,
62-
config.out_connections),
63+
network::protocol::default_seeds, bc::protocol_port,
64+
true, config.out_connections),
6365

6466
// Blockchain database service.
6567
chain_(disk_pool_, config.blockchain_path.string(),

0 commit comments

Comments
 (0)