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

Commit

Permalink
NEO-CLI v2.9.0 (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzhang authored Sep 14, 2018
1 parent 8c6de10 commit 534c56b
Show file tree
Hide file tree
Showing 11 changed files with 139 additions and 629 deletions.
32 changes: 0 additions & 32 deletions neo-cli/Consensus/ConsensusWithLog.cs

This file was deleted.

39 changes: 0 additions & 39 deletions neo-cli/Helper.cs

This file was deleted.

245 changes: 0 additions & 245 deletions neo-cli/Network/RPC/RpcServerWithWallet.cs

This file was deleted.

1 change: 0 additions & 1 deletion neo-cli/Services/ConsoleServiceBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Reflection;
using System.Security;
using System.Text;
using Neo.Shell;

namespace Neo.Services
{
Expand Down
8 changes: 4 additions & 4 deletions neo-cli/Settings.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.Extensions.Configuration;
using Neo.Network;
using Neo.Network.P2P;

namespace Neo
{
Expand Down Expand Up @@ -30,12 +30,12 @@ public Settings(IConfigurationSection section)
internal class PathsSettings
{
public string Chain { get; }
public string ApplicationLogs { get; }
public string Index { get; }

public PathsSettings(IConfigurationSection section)
{
this.Chain = string.Format(section.GetSection("Chain").Value, Message.Magic.ToString("X8"));
this.ApplicationLogs = string.Format(section.GetSection("ApplicationLogs").Value, Message.Magic.ToString("X8"));
this.Index = string.Format(section.GetSection("Index").Value, Message.Magic.ToString("X8"));
}
}

Expand Down Expand Up @@ -79,7 +79,7 @@ public UnlockWalletSettings(IConfigurationSection section)
this.Path = section.GetSection("Path").Value;
this.Password = section.GetSection("Password").Value;
this.StartConsensus = bool.Parse(section.GetSection("StartConsensus").Value);
this.IsActive = bool.Parse(section.GetSection("IsActive").Value);
this.IsActive = bool.Parse(section.GetSection("IsActive").Value);
}
}
}
Expand Down
Loading

0 comments on commit 534c56b

Please sign in to comment.