Skip to content

Commit ff58ce0

Browse files
committed
Description, version, root folder, agent and other string occurrences
1 parent 393ab85 commit ff58ce0

30 files changed

Lines changed: 54 additions & 141 deletions

File tree

src/Bitcoin/BitcoinD.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
<PropertyGroup>
44
<TargetFramework>netcoreapp3.1</TargetFramework>
5-
<AssemblyName>Stratis.BitcoinD</AssemblyName>
5+
<AssemblyName>blockcore.bitcoind</AssemblyName>
66
<OutputType>Exe</OutputType>
7-
<PackageId>Stratis.BitcoinD</PackageId>
7+
<PackageId>BitcoinD</PackageId>
88
<RuntimeFrameworkVersion>3.1.0</RuntimeFrameworkVersion>
99
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
1010
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
@@ -31,5 +31,4 @@
3131
<ProjectReference Include="..\Blockcore.Networks\Blockcore.Networks.csproj" />
3232
<ProjectReference Include="..\Blockcore\Blockcore.csproj" />
3333
</ItemGroup>
34-
35-
</Project>
34+
</Project>

src/Bitcoin/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// associated with an assembly.
77
[assembly: AssemblyConfiguration("")]
88
[assembly: AssemblyCompany("")]
9-
[assembly: AssemblyProduct("Stratis.BitcoinD")]
9+
[assembly: AssemblyProduct("BitcoinD")]
1010
[assembly: AssemblyTrademark("")]
1111

1212
// Setting ComVisible to false makes the types in this assembly not visible
@@ -15,4 +15,4 @@
1515
[assembly: ComVisible(false)]
1616

1717
// The following GUID is for the ID of the typelib if this project is exposed to COM
18-
[assembly: Guid("878232f0-1ff1-4836-b5bc-e9b1279aa616")]
18+
[assembly: Guid("878232f0-1ff1-4836-b5bc-e9b1279aa616")]

src/Blockcore.Cli/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static void Main(string[] args)
7979
{
8080
var builder = new StringBuilder();
8181
builder.AppendLine("Usage:");
82-
builder.AppendLine(" dotnet run <Stratis.Bitcoin.Cli/Stratis.Bitcoin.Cli.dll> [network-name] [options] [method] <command> [arguments]");
82+
builder.AppendLine(" dotnet run <Blockcore.Cli/Blockcore.Cli.dll> [network-name] [options] [method] <command> [arguments]");
8383
builder.AppendLine();
8484
builder.AppendLine("Command line arguments:");
8585
builder.AppendLine();
@@ -197,9 +197,11 @@ public static void Main(string[] args)
197197
case "POST":
198198
httpResponse = CallApiPost(url, commandArgObj);
199199
break;
200+
200201
case "DELETE":
201202
httpResponse = CallApiDelete(url, commandArgObj);
202203
break;
204+
203205
default:
204206
httpResponse = CallApiGet(url, commandArgObj);
205207
break;

src/Blockcore.Features.Api/ApiSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Blockcore.Features.Api
1313
/// </summary>
1414
public class ApiSettings
1515
{
16-
/// <summary>The default port used by the API when the node runs on the Stratis network.</summary>
16+
/// <summary>The default port used by the API when the node runs on the network.</summary>
1717
public const string DefaultApiHost = "http://localhost";
1818

1919
/// <summary>Instance logger.</summary>
@@ -129,4 +129,4 @@ public static void BuildDefaultConfigurationFile(StringBuilder builder, Network
129129
builder.AppendLine($"#certificatefilepath=");
130130
}
131131
}
132-
}
132+
}

src/Blockcore.Features.Api/Blockcore.Features.Api.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
<PreserveCompilationContext>true</PreserveCompilationContext>
66
<AssemblyName>Blockcore.Features.Api</AssemblyName>
77
<OutputType>Library</OutputType>
8-
<PackageId>Blockcore.Api</PackageId>
9-
108
<RuntimeFrameworkVersion>3.1.0</RuntimeFrameworkVersion>
119
<PackageId>Blockcore.Features.Api</PackageId>
1210
<VersionPrefix>1.0.0</VersionPrefix>
@@ -34,5 +32,4 @@
3432
<ItemGroup>
3533
<ProjectReference Include="..\Blockcore\Blockcore.csproj" />
3634
</ItemGroup>
37-
38-
</Project>
35+
</Project>

src/Blockcore.Features.Api/ConfigureSwaggerOptions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ namespace Blockcore.Features.Api
1717
/// </remarks>
1818
public class ConfigureSwaggerOptions : IConfigureOptions<SwaggerGenOptions>
1919
{
20-
private const string ApiXmlFilename = "Stratis.Bitcoin.Api.xml";
21-
private const string WalletXmlFilename = "Stratis.Bitcoin.LightWallet.xml";
20+
private const string ApiXmlFilename = "Blockcore.Api.xml";
21+
private const string WalletXmlFilename = "Blockcore.LightWallet.xml";
2222

2323
private readonly IApiVersionDescriptionProvider provider;
2424

@@ -58,7 +58,7 @@ public void Configure(SwaggerGenOptions options)
5858
options.DescribeAllEnumsAsStrings();
5959
}
6060

61-
static OpenApiInfo CreateInfoForApiVersion(ApiVersionDescription description)
61+
private static OpenApiInfo CreateInfoForApiVersion(ApiVersionDescription description)
6262
{
6363
var info = new OpenApiInfo()
6464
{
@@ -80,4 +80,4 @@ static OpenApiInfo CreateInfoForApiVersion(ApiVersionDescription description)
8080
return info;
8181
}
8282
}
83-
}
83+
}

src/Blockcore.Features.BlockStore/Blockcore.Features.BlockStore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Description>Stratis Bitcoin Features BlockStore</Description>
4+
<Description>Blockcore Features BlockStore</Description>
55
<AssemblyTitle>Blockcore.Features.BlockStore</AssemblyTitle>
66
<TargetFramework>netcoreapp3.1</TargetFramework>
77
<RuntimeFrameworkVersion>3.1.0</RuntimeFrameworkVersion>

src/Blockcore.Features.ColdStaking/ColdStakingScriptTemplate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public Script GenerateScriptSig(TransactionSignature signature, bool coldPubKey,
8686
/// them elsewhere. This behavior is enforced by the <see cref="OP_CHECKCOLDSTAKEVERIFY"/>
8787
/// opcode within the script flow related to hot wallet key usage. It sets the <see cref="PosTransaction.IsColdCoinStake"/>
8888
/// flag if the transaction spending an output, which contains this instruction, is a coinstake
89-
/// transaction. If this flag is set then further rules are enforced by <see cref="Stratis.Bitcoin.Features.Consensus.Rules.CommonRules.PosColdStakingRule"/>.
89+
/// transaction. If this flag is set then further rules are enforced by <see cref="Blockcore.Features.Consensus.Rules.CommonRules.PosColdStakingRule"/>.
9090
/// </remarks>
9191
/// <param name="hotPubKeyHash">The hot wallet public key hash to use.</param>
9292
/// <param name="coldPubKeyHash">The cold wallet public key hash to use.</param>

src/Blockcore.Features.Consensus/Blockcore.Features.Consensus.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Description>Stratis Bitcoin Features Consensus</Description>
4+
<Description>Blockcore Features Consensus</Description>
55
<AssemblyTitle>Blockcore.Features.Consensus</AssemblyTitle>
6-
<TargetFramework>netcoreapp3.1</TargetFramework>
6+
<TargetFramework>netcoreapp3.1</TargetFramework>
77
<RuntimeFrameworkVersion>3.1.0</RuntimeFrameworkVersion>
88
<AssemblyName>Blockcore.Features.Consensus</AssemblyName>
99
<PackageId>Blockcore.Features.Consensus</PackageId>
@@ -45,5 +45,4 @@
4545
<NoWarn>1701;1702;1705;IDE0008;</NoWarn>
4646
<DocumentationFile></DocumentationFile>
4747
</PropertyGroup>
48-
49-
</Project>
48+
</Project>

src/Blockcore.Features.Consensus/Interfaces/IStakeValidator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Blockcore.Features.Consensus.Interfaces
88
{
99
/// <summary>
1010
/// Provides functionality for checking validity of PoS blocks.
11-
/// See <see cref="Stratis.Bitcoin.Features.Miner.PosMinting"/> for more information about PoS solutions.
11+
/// See <see cref="Blockcore.Features.Miner.PosMinting"/> for more information about PoS solutions.
1212
/// </summary>
1313
public interface IStakeValidator
1414
{

0 commit comments

Comments
 (0)