Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Add bnet support to launcher #3427

Merged
merged 1 commit into from May 26, 2018
Merged

Add bnet support to launcher #3427

merged 1 commit into from May 26, 2018

Conversation

PaulCalabrese
Copy link
Contributor

Add an option --p2p-plugin that accepts values of "net" and "bnet" and defines the p2p plugin to use. At this point it is an either-or option and does not support mixed networks.

@@ -989,10 +1016,18 @@ launcher_def::write_config_file (tn_node_def &node) {

if(!is_bios) {
auto &bios_node = network.nodes["bios"];
cfg << "p2p-peer-address = " << bios_node.instance->p2p_endpoint<< "\n";
if (p2p == p2p_plugin::NET) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In keeping with the net_plugin default, shouldn't this be reversed? Specific to p2p_plugin::BNET, otherwise anything else gets the other setting.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IRL discussion occurred and this is okay.

@gleehokie gleehokie merged commit 5b3796a into bnet May 26, 2018
@arhag arhag deleted the bnet-launch-support branch June 1, 2018 20:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants