Skip to content

Commit

Permalink
Add support for MOL
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Oct 25, 2022
1 parent bf2a4a0 commit 45552fd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MULTI/src/Blockcore.MultiNode/NetworkSelector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ public static NodeSettings Create(string chain, string[] args)
case "RSC":
nodeSettings = new NodeSettings(networksSelector: Blockcore.Networks.RoyalSportsCity.Networks.Networks.RoyalSportsCity, args: args);
break;

case "MOL":
nodeSettings = new NodeSettings(networksSelector: Blockcore.Networks.Molie.Networks.Molie, args: args);
break;
}

return nodeSettings;
Expand Down
1 change: 1 addition & 0 deletions MULTI/src/Blockcore.MultiNode/NodeBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public static IFullNodeBuilder Create(string chain, NodeSettings settings)
case "CY":
case "SBC":
case "RSC":
case "MOL":
nodeBuilder.UsePosConsensus().AddPowPosMining().UseColdStakingWallet();
break;
}
Expand Down
8 changes: 8 additions & 0 deletions MULTI/src/Blockcore.MultiNode/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,14 @@
"RSC (MAIN/LOCAL)": {
"commandName": "Project",
"commandLineArgs": "--chain=RSC -datadir=data"
},
"MOL (MAIN)": {
"commandName": "Project",
"commandLineArgs": "--chain=MOL"
},
"MOL (MAIN/LOCAL)": {
"commandName": "Project",
"commandLineArgs": "--chain=MOL -datadir=data"
}
}
}

0 comments on commit 45552fd

Please sign in to comment.