Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
upgrade to 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Zhang committed Jul 20, 2017
1 parent 0e2b178 commit a47038d
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 4 deletions.
2 changes: 1 addition & 1 deletion neo-cli/Shell/MainService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal class MainService : ConsoleServiceBase
private ConsensusWithPolicy consensus;

protected LocalNode LocalNode { get; private set; }
protected override string Prompt => "ant";
protected override string Prompt => "neo";
public override string ServiceName => "neo-cli";

private void ImportBlocks(Stream stream)
Expand Down
10 changes: 10 additions & 0 deletions neo-cli/config.mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"ApplicationConfiguration": {
"DataDirectoryPath": "Chain",
"NodePort": 10333,
"WsPort": 10334,
"UriPrefix": [ "http://*:10332" ],
"SslCert": "",
"SslCertPassword": ""
}
}
10 changes: 10 additions & 0 deletions neo-cli/config.testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"ApplicationConfiguration": {
"DataDirectoryPath": "ChainTestNet",
"NodePort": 20333,
"WsPort": 20334,
"UriPrefix": [ "http://*:20332" ],
"SslCert": "",
"SslCertPassword": ""
}
}
6 changes: 3 additions & 3 deletions neo-cli/neo-cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Copyright>2016-2017 The Neo Project</Copyright>
<AssemblyTitle>Neo.CLI</AssemblyTitle>
<Version>2.0.0</Version>
<Version>2.0.1</Version>
<Authors>The Neo Project</Authors>
<TargetFramework>netcoreapp1.0</TargetFramework>
<AssemblyName>neo-cli</AssemblyName>
Expand All @@ -23,15 +23,15 @@
</PropertyGroup>

<ItemGroup>
<None Update="config.json;protocol.json">
<None Update="config.json;config.mainnet.json;config.testnet.json;protocol.json;protocol.mainnet.json;protocol.testnet.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.0.2" />
<PackageReference Include="Neo" Version="2.0.0" />
<PackageReference Include="Neo" Version="2.0.1" />
</ItemGroup>

</Project>
28 changes: 28 additions & 0 deletions neo-cli/protocol.mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"ProtocolConfiguration": {
"Magic": 7630401,
"AddressVersion": 23,
"StandbyValidators": [
"03b209fd4f53a7170ea4444e0cb0a6bb6a53c2bd016926989cf85f9b0fba17a70c",
"02df48f60e8f3e01c48ff40b9b7f1310d7a8b2a193188befe1c2e3df740e895093",
"03b8d9d5771d8f513aa0869b9cc8d50986403b78c6da36890638c3d46a5adce04a",
"02ca0e27697b9c248f6f16e085fd0061e26f44da85b58ee835c110caa5ec3ba554",
"024c7b7fb6c310fccf1ba33b082519d82964ea93868d676662d4a59ad548df0e7d",
"02aaec38470f6aad0042c6e877cfd8087d2676b0f516fddd362801b9bd3936399e",
"02486fd15702c4490a26703112a5cc1d0923fd697a33406bd5a1c00e0013b09a70"
],
"SeedList": [
"seed1.neo.org:10333",
"seed2.neo.org:10333",
"seed3.neo.org:10333",
"seed4.neo.org:10333",
"seed5.neo.org:10333"
],
"SystemFee": {
"EnrollmentTransaction": 1000,
"IssueTransaction": 500,
"PublishTransaction": 500,
"RegisterTransaction": 10000
}
}
}
28 changes: 28 additions & 0 deletions neo-cli/protocol.testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"ProtocolConfiguration": {
"Magic": 1953787457,
"AddressVersion": 23,
"StandbyValidators": [
"0327da12b5c40200e9f65569476bbff2218da4f32548ff43b6387ec1416a231ee8",
"026ce35b29147ad09e4afe4ec4a7319095f08198fa8babbe3c56e970b143528d22",
"0209e7fd41dfb5c2f8dc72eb30358ac100ea8c72da18847befe06eade68cebfcb9",
"039dafd8571a641058ccc832c5e2111ea39b09c0bde36050914384f7a48bce9bf9",
"038dddc06ce687677a53d54f096d2591ba2302068cf123c1f2d75c2dddc5425579",
"02d02b1873a0863cd042cc717da31cea0d7cf9db32b74d4c72c01b0011503e2e22",
"034ff5ceeac41acf22cd5ed2da17a6df4dd8358fcb2bfb1a43208ad0feaab2746b"
],
"SeedList": [
"seed1.neo.org:20333",
"seed2.neo.org:20333",
"seed3.neo.org:20333",
"seed4.neo.org:20333",
"seed5.neo.org:20333"
],
"SystemFee": {
"EnrollmentTransaction": 10,
"IssueTransaction": 5,
"PublishTransaction": 5,
"RegisterTransaction": 100
}
}
}

0 comments on commit a47038d

Please sign in to comment.