Skip to content

Commit

Permalink
Add x42 to the indexer networks
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Jun 23, 2020
1 parent 0d77e12 commit 44deb67
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blockcoreindexer",
"version": "0.1.5",
"version": "0.1.6",
"license": "MIT",
"author": {
"name": "Blockcore",
Expand Down
20 changes: 10 additions & 10 deletions src/Blockcore.Indexer/Blockcore.Indexer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Blockcore.NBitcoin" Version="1.0.7" />
<PackageReference Include="Blockcore.Networks.Bitcoin" Version="1.0.7" />
<PackageReference Include="Blockcore.Networks.Stratis" Version="1.0.7" />
<PackageReference Include="Blockcore.Networks.Xds" Version="1.0.7" />
<PackageReference Include="Blockcore.Networks.City" Version="1.0.7" />
<PackageReference Include="Blockcore.NBitcoin" Version="1.0.*" />
<PackageReference Include="Blockcore.Networks.Bitcoin" Version="1.0.*" />
<PackageReference Include="Blockcore.Networks.Stratis" Version="1.0.*" />
<PackageReference Include="Blockcore.Networks.Xds" Version="1.0.*" />
<PackageReference Include="Blockcore.Networks.City" Version="1.0.*" />
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.7" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.8" />
<PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" />
<PackageReference Include="MongoDB.Driver" Version="2.10.3" />
<PackageReference Include="MongoDB.Driver" Version="2.10.4" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.4.1" />
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="5.4.1" />
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="5.4.1" />
<PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="5.4.1" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.5.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="5.5.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="5.5.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="5.5.0" />
</ItemGroup>

<ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion src/Blockcore.Indexer/Handlers/StatsHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public async Task<CoinInfo> CoinInformation()
DefaultMaxOutboundConnections = network.DefaultMaxOutboundConnections,
DefaultPort = network.DefaultPort,
DefaultRPCPort = network.DefaultRPCPort,
DefaultSignalRPort = network.DefaultSignalRPort,
DNSSeeds = network.DNSSeeds.Select(s => s.Host).ToList(),
FallbackFee = network.FallbackFee,
GenesisDate = UnixUtils.UnixTimestampToDate(network.GenesisTime).ToUniversalDateTime(), // Returns Kind.Unspecified, so translate.
Expand Down
9 changes: 9 additions & 0 deletions src/Blockcore.Indexer/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
},
"applicationUrl": "http://localhost:9910/"
},
"X42": {
"commandName": "Project",
"commandLineArgs": "--chain=X42",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:9910/"
},
"ODX": {
"commandName": "Project",
"commandLineArgs": "--chain=ODX",
Expand Down

0 comments on commit 44deb67

Please sign in to comment.