builder.AppendLine("[network-name] Name of the network - e.g. \"stratis\", \"stratismain\", \"stratistest\", \"bitcoinmain\", \"bitcointest\".");
builder.AppendLine("[network-name] Name of the network - e.g. \"destream\", \"destreammain\", \"destreamtest\", \"bitcoinmain\", \"bitcointest\".");
builder.AppendLine("[options] Options for the CLI (optional) - e.g. -help, -rpcuser, see below.");
builder.AppendLine("[options] Options for the CLI (optional) - e.g. -help, -rpcuser, see below.");
builder.AppendLine("[command] Name of RPC method or API <controller>/<method>.");
builder.AppendLine("[command] Name of RPC method or API <controller>/<method>.");
builder.AppendLine("[arguments] Argument by position (RPC) or Name = Value pairs (API) (optional).");
builder.AppendLine("[arguments] Argument by position (RPC) or Name = Value pairs (API) (optional).");
...
@@ -79,8 +79,8 @@ namespace DeStream.Bitcoin.Cli
...
@@ -79,8 +79,8 @@ namespace DeStream.Bitcoin.Cli
builder.AppendLine();
builder.AppendLine();
builder.AppendLine("Examples:");
builder.AppendLine("Examples:");
builder.AppendLine();
builder.AppendLine();
builder.AppendLine("dotnet run stratis Wallet/history WalletName=testwallet - Lists all the historical transactions of the wallet called 'testwallet'.");
builder.AppendLine("dotnet run destream Wallet/history WalletName=testwallet - Lists all the historical transactions of the wallet called 'testwallet'.");
builder.AppendLine("dotnet run stratis getinfo -rpcuser=stratistestuser -rpcpassword=stratistestpassword -rpcconnect=127.0.0.3 -rpcport=26174 - Displays general information about the DeStream node on the 127.0.0.3:26174, authenticating with the RPC specified user.");
builder.AppendLine("dotnet run destream getinfo -rpcuser=destreamtestuser -rpcpassword=destreamtestpassword -rpcconnect=127.0.0.3 -rpcport=26174 - Displays general information about the DeStream node on the 127.0.0.3:26174, authenticating with the RPC specified user.");
builder.AppendLine("dotnet run bitcoin getbalance -rpcuser=btctestuser -rpcpassword=btctestpass - Displays the current balance of the opened wallet on the 127.0.0.1:8332 node, authenticating with the RPC specified user.");
builder.AppendLine("dotnet run bitcoin getbalance -rpcuser=btctestuser -rpcpassword=btctestpass - Displays the current balance of the opened wallet on the 127.0.0.1:8332 node, authenticating with the RPC specified user.");
/// <summary><c>true</c> if coinstake transaction splits the coin and generates extra UTXO
/// <summary><c>true</c> if coinstake transaction splits the coin and generates extra UTXO
/// to prevent halting chain; <c>false</c> to disable coinstake splitting.</summary>
/// to prevent halting chain; <c>false</c> to disable coinstake splitting.</summary>
/// <remarks>TODO: It should be configurable option, not constant. <see cref="https://github.com/stratisproject/DeStreamBitcoinFullNode/issues/550"/></remarks>
publicconstboolCoinstakeSplitEnabled=true;
publicconstboolCoinstakeSplitEnabled=true;
/// <summary> If <see cref="CoinstakeSplitEnabled"/> is set, the coinstake will be split if
/// <summary> If <see cref="CoinstakeSplitEnabled"/> is set, the coinstake will be split if
/// <summary> The name of the root folder containing blockchains operating with the same consensus rules (for now, this will be bitcoin or stratis). </summary>
/// <summary> The name of the root folder containing blockchains operating with the same consensus rules (for now, this will be bitcoin or destream). </summary>
publicstringRootFolderName{get;privateset;}
publicstringRootFolderName{get;privateset;}
/// <summary> The default name used for the network configuration file. </summary>
/// <summary> The default name used for the network configuration file. </summary>