Skip to content

Commit 37eccc4

Browse files
committed
EpicChain Core - EpicChain Lab's
1 parent 2baadb2 commit 37eccc4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+77
-77
lines changed

benchmarks/EpicChain.Benchmarks/EpicChain.Benchmarks.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFrameworks>net8.0</TargetFrameworks>
6-
<RootNamespace>Neo</RootNamespace>
6+
<RootNamespace>EpicChain</RootNamespace>
77
<ImplicitUsings>enable</ImplicitUsings>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<ProjectReference Include="..\..\src\Neo\EpicChain.csproj" />
12+
<ProjectReference Include="..\..\src\EpicChain\EpicChain.csproj" />
1313
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
1414
</ItemGroup>
1515

benchmarks/EpicChain.Benchmarks/OldUInt160.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
using System.Globalization;
2525
using System.Runtime.InteropServices;
2626

27-
namespace Neo
27+
namespace EpicChain
2828
{
2929
/// <summary>
3030
/// Represents a 160-bit unsigned integer.

epicchain.sln

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio Version 17
33
VisualStudioVersion = 17.2.32516.85
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Neo", "src\Neo\EpicChain.csproj", "{36447A9B-0311-4D4D-A3D5-AECBE9C15BBC}"
5+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EpicChain", "src\EpicChain\EpicChain.csproj", "{36447A9B-0311-4D4D-A3D5-AECBE9C15BBC}"
66
EndProject
77
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EpicChain.Json", "src\EpicChain.Json\EpicChain.Json.csproj", "{6B709ED6-64C0-451D-B07F-8F49185AE191}"
88
EndProject

src/EpicChain.CLI/AssemblyExtensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
using System.Linq;
2323
using System.Reflection;
2424

25-
namespace Neo
25+
namespace EpicChain
2626
{
2727
/// <summary>
2828
/// Extension methods

src/EpicChain.CLI/EpicChain.CLI.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyTitle>EpicChain.CLI</AssemblyTitle>
6-
<AssemblyName>neo-cli</AssemblyName>
6+
<AssemblyName>epicchain-cli</AssemblyName>
77
<OutputType>Exe</OutputType>
88
<PackageId>EpicChain.CLI</PackageId>
9-
<RootNamespace>Neo</RootNamespace>
9+
<RootNamespace>EpicChain</RootNamespace>
1010
<Product>EpicChain.CLI</Product>
1111
<ApplicationIcon>epicchain.ico</ApplicationIcon>
1212
<Nullable>enable</Nullable>
@@ -32,7 +32,7 @@
3232
<ItemGroup>
3333
<ProjectReference Include="..\EpicChain.ConsoleService\EpicChain.ConsoleService.csproj" />
3434
<ProjectReference Include="..\EpicChain.Extensions\EpicChain.Extensions.csproj" />
35-
<ProjectReference Include="..\Neo\EpicChain.csproj" />
35+
<ProjectReference Include="..\EpicChain\EpicChain.csproj" />
3636
</ItemGroup>
3737

3838
<ItemGroup>

src/EpicChain.CLI/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
using EpicChain.CLI;
2323

24-
namespace Neo
24+
namespace EpicChain
2525
{
2626
static class Program
2727
{

src/EpicChain.CLI/Settings.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
using System.Reflection;
2828
using System.Threading;
2929

30-
namespace Neo
30+
namespace EpicChain
3131
{
3232
public class Settings
3333
{
@@ -167,7 +167,7 @@ public ContractsSettings(IConfigurationSection section)
167167
EpicChainNameService = hash;
168168
}
169169
else
170-
throw new ArgumentException("Neo Name Service (NNS): EpicChainNameService hash is invalid. Check your config.json.", nameof(EpicChainNameService));
170+
throw new ArgumentException("EpicChain Name Service (NNS): EpicChainNameService hash is invalid. Check your config.json.", nameof(EpicChainNameService));
171171
}
172172
}
173173

src/EpicChain.Extensions/EpicChain.Extensions.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Nullable>enable</Nullable>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77
<PackageId>EpicChain.Extensions</PackageId>
8-
<PackageTags>NEO;Blockchain;Extensions</PackageTags>
8+
<PackageTags>EpicChain;Blockchain;Extensions</PackageTags>
99
<OutputPath>../../bin/$(PackageId)</OutputPath>
1010
</PropertyGroup>
1111

@@ -14,7 +14,7 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<InternalsVisibleTo Include="Neo" />
17+
<InternalsVisibleTo Include="EpicChain" />
1818
<InternalsVisibleTo Include="EpicChain.IO" />
1919
<InternalsVisibleTo Include="EpicChain.UnitTests" />
2020
</ItemGroup>

src/EpicChain.Extensions/LogLevel.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
using static Akka.Event.LogLevel;
2323

24-
namespace Neo
24+
namespace EpicChain
2525
{
2626
/// <summary>
2727
/// Represents the level of logs.

src/EpicChain.Extensions/Utility.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
using Akka.Event;
2424
using System.Text;
2525

26-
namespace Neo
26+
namespace EpicChain
2727
{
2828
public delegate void LogEventHandler(string source, LogLevel level, object message);
2929

@@ -44,7 +44,7 @@ public Logger()
4444
public static event LogEventHandler? Logging;
4545

4646
/// <summary>
47-
/// A strict UTF8 encoding used in NEO system.
47+
/// A strict UTF8 encoding used in EpicChain system.
4848
/// </summary>
4949
public static Encoding StrictUTF8 { get; }
5050

src/EpicChain.IO/EpicChain.IO.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
66
<Nullable>enable</Nullable>
77
<PackageId>EpicChain.IO</PackageId>
8-
<PackageTags>NEO;Blockchain;IO</PackageTags>
8+
<PackageTags>EpicChain;Blockchain;IO</PackageTags>
99
<OutputPath>../../bin/$(PackageId)</OutputPath>
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<InternalsVisibleTo Include="Neo" />
13+
<InternalsVisibleTo Include="EpicChain" />
1414
<InternalsVisibleTo Include="EpicChain.UnitTests" />
1515
<InternalsVisibleTo Include="EpicChain.Extensions" />
1616
<InternalsVisibleTo Include="EpicChain.Extensions.Tests" />

src/EpicChain.Json/EpicChain.Json.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<PackageId>EpicChain.Json</PackageId>
8-
<PackageTags>NEO;JSON</PackageTags>
8+
<PackageTags>EpicChain;JSON</PackageTags>
99
<OutputPath>../../bin/$(PackageId)</OutputPath>
1010
</PropertyGroup>
1111

src/EpicChain.VM/EpicChain.VM.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<InternalsVisibleTo Include="Neo" />
12+
<InternalsVisibleTo Include="EpicChain" />
1313
<InternalsVisibleTo Include="EpicChain.SmartContract.Testing" />
1414
<InternalsVisibleTo Include="EpicChain.VM.Benchmarks" />
1515
</ItemGroup>

src/EpicChain/BigDecimal.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
using System;
2323
using System.Numerics;
2424

25-
namespace Neo
25+
namespace EpicChain
2626
{
2727
/// <summary>
2828
/// Represents a fixed-point number of arbitrary precision.

src/EpicChain/ContainsTransactionType.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// practices.
2020

2121

22-
namespace Neo
22+
namespace EpicChain
2323
{
2424
public enum ContainsTransactionType
2525
{

src/EpicChain/EpicChain.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.1;net8.0</TargetFrameworks>
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
6-
<PackageId>Neo</PackageId>
7-
<PackageTags>NEO;AntShares;Blockchain;Smart Contract</PackageTags>
6+
<PackageId>EpicChain</PackageId>
7+
<PackageTags>EpicChain;AntShares;Blockchain;Smart Contract</PackageTags>
88
<OutputPath>../../bin/$(PackageId)</OutputPath>
99
</PropertyGroup>
1010

src/EpicChain/EpicChainSystem.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
using System.Linq;
3737
using System.Threading;
3838

39-
namespace Neo
39+
namespace EpicChain
4040
{
4141
/// <summary>
4242
/// Represents the basic unit that contains all the components required for running of a EpicChain node.

src/EpicChain/Hardfork.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// practices.
2020

2121

22-
namespace Neo
22+
namespace EpicChain
2323
{
2424
public enum Hardfork : byte
2525
{

src/EpicChain/Network/P2P/Capabilities/NodeCapability.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
namespace EpicChain.Network.P2P.Capabilities
2727
{
2828
/// <summary>
29-
/// Represents the capabilities of a NEO node.
29+
/// Represents the capabilities of a EpicChain node.
3030
/// </summary>
3131
public abstract class NodeCapability : ISerializable
3232
{

src/EpicChain/Network/P2P/Message.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
namespace EpicChain.Network.P2P
3030
{
3131
/// <summary>
32-
/// Represents a message on the NEO network.
32+
/// Represents a message on the EpicChain network.
3333
/// </summary>
3434
public class Message : ISerializable
3535
{

src/EpicChain/Network/P2P/RemoteNode.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
namespace EpicChain.Network.P2P
3939
{
4040
/// <summary>
41-
/// Represents a connection of the NEO network.
41+
/// Represents a connection of the namespace namespace EpicChain network.
4242
/// </summary>
4343
public partial class RemoteNode : Connection
4444
{

src/EpicChain/Persistence/DataCache.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
namespace EpicChain.Persistence
2929
{
3030
/// <summary>
31-
/// Represents a cache for the underlying storage of the NEO blockchain.
31+
/// Represents a cache for the underlying storage of the EpicChain blockchain.
3232
/// </summary>
3333
public abstract class DataCache
3434
{

src/EpicChain/ProtocolSettings.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
using System.Collections.Immutable;
2828
using System.Linq;
2929

30-
namespace Neo
30+
namespace EpicChain
3131
{
3232
/// <summary>
3333
/// This class encapsulates the configuration and settings related to the protocol

src/EpicChain/SmartContract/Native/NativeContract.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public CacheEntry GetAllowedMethods(NativeContract native, ApplicationEngine eng
9191
/// <summary>
9292
/// Gets the instance of the <see cref="EpicChain"/> class.
9393
/// </summary>
94-
public static EpicChain NEO { get; } = new();
94+
public static EpicChain EpicChain { get; } = new();
9595

9696
/// <summary>
9797
/// Gets the instance of the <see cref="EpicPulse"/> class.

src/EpicChain/SmartContract/Native/OracleNexus.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
namespace EpicChain.SmartContract.Native
3737
{
3838
/// <summary>
39-
/// The native Oracle service for NEO system.
39+
/// The native Oracle service for EpicChain system.
4040
/// </summary>
4141
public sealed class OracleNexus : NativeContract
4242
{

src/EpicChain/SmartContract/Native/QuantumGuardNexus.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
namespace EpicChain.SmartContract.Native
3131
{
3232
/// <summary>
33-
/// A native contract for managing roles in NEO system.
33+
/// A native contract for managing roles in EpicChain system.
3434
/// </summary>
3535
public sealed class QuantumGuardNexus : NativeContract
3636
{

src/EpicChain/SmartContract/Native/Role.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
namespace EpicChain.SmartContract.Native
2323
{
2424
/// <summary>
25-
/// Represents the roles in the NEO system.
25+
/// Represents the roles in the EpicChain system.
2626
/// </summary>
2727
public enum Role : byte
2828
{
@@ -37,7 +37,7 @@ public enum Role : byte
3737
Oracle = 8,
3838

3939
/// <summary>
40-
/// NeoFS Alphabet nodes.
40+
/// EpicChain Alphabet nodes.
4141
/// </summary>
4242
NeoFSAlphabetNode = 16,
4343

src/EpicChain/TimeProvider.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
using System;
2323

24-
namespace Neo
24+
namespace EpicChain
2525
{
2626
/// <summary>
2727
/// The time provider for the EpicChain system.

src/EpicChain/UInt256.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
using System.IO;
2727
using System.Runtime.InteropServices;
2828

29-
namespace Neo
29+
namespace EpicChain
3030
{
3131
/// <summary>
3232
/// Represents a 256-bit unsigned integer.

src/EpicChain/VM/Helper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
namespace EpicChain.VM
3636
{
3737
/// <summary>
38-
/// A helper class related to NeoVM.
38+
/// A helper class related to EpicChainVM.
3939
/// </summary>
4040
public static class Helper
4141
{

src/EpicChain/Wallets/Helper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static class Helper
4242
/// </summary>
4343
/// <param name="verifiable">The <see cref="IVerifiable"/> to sign.</param>
4444
/// <param name="key">The private key to be used.</param>
45-
/// <param name="network">The magic number of the NEO network.</param>
45+
/// <param name="network">The magic number of the EpicChain network.</param>
4646
/// <returns>The signature for the <see cref="IVerifiable"/>.</returns>
4747
public static byte[] Sign(this IVerifiable verifiable, KeyPair key, uint network)
4848
{

src/Plugins/ApplicationLogs/Store/States/BlockLogState.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// practices.
2020

2121

22-
using Neo;
22+
using EpicChain;
2323
using EpicChain.IO;
2424

2525
namespace EpicChain.Plugins.ApplicationLogs.Store.States

src/Plugins/ApplicationLogs/Store/States/ContractLogState.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// practices.
2020

2121

22-
using Neo;
22+
using EpicChain;
2323
using EpicChain.IO;
2424
using EpicChain.Ledger;
2525
using EpicChain.SmartContract;

src/Plugins/ApplicationLogs/Store/States/NotifyLogState.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// practices.
2020

2121

22-
using Neo;
22+
using EpicChain;
2323
using EpicChain.IO;
2424
using EpicChain.SmartContract;
2525

src/Plugins/Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
55

66
<ItemGroup>
7-
<ProjectReference Include="../../Neo/EpicChain.csproj" />
7+
<ProjectReference Include="../../EpicChain/EpicChain.csproj" />
88
</ItemGroup>
99

1010
</Project>

src/Plugins/RpcClient/ContractClient.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class ContractClient
4040
/// <summary>
4141
/// ContractClient Constructor
4242
/// </summary>
43-
/// <param name="rpc">the RPC client to call NEO RPC methods</param>
43+
/// <param name="rpc">the RPC client to call EpicChain RPC methods</param>
4444
public ContractClient(RpcClient rpc)
4545
{
4646
rpcClient = rpc;
@@ -62,7 +62,7 @@ public Task<RpcInvokeResult> TestInvokeAsync(UInt160 scriptHash, string operatio
6262
/// <summary>
6363
/// Deploy Contract, return signed transaction
6464
/// </summary>
65-
/// <param name="nefFile">neo contract executable file</param>
65+
/// <param name="nefFile">epicchain contract executable file</param>
6666
/// <param name="manifest">contract manifest</param>
6767
/// <param name="key">sender KeyPair</param>
6868
/// <returns></returns>

0 commit comments

Comments
 (0)