Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* new features

1. Annual fee for assets
2. Add asset APIs
3. Add contract APIs
4. Allow to read storage in verification code
5. New storage context model

* use ApplicationEngine for verification code

* add validator APIs

* limit the size of stack and items

* neo contract and security improvement

1. Limit max transactions per block to 500
2. Limit max length of scripts to 65536 bytes
3. Limit array size and stack size
4. Modify the gas price of Storage.Put
5. Add more apis to smart contract
6. Allow users to migrate contract and storage
7. Upgrade to AntShares.VM 1.8.0

* add test mode to ApplicationEngine

* fix bug of calculating fee of InvocationTransaction

* fix issue of verifying gas

* add events and logs for smart contracts

* rebrand to NEO

* change version to v2.0.0
  • Loading branch information
Erik Zhang authored Jul 12, 2017
1 parent fdafe69 commit 07dd1f5
Show file tree
Hide file tree
Showing 149 changed files with 4,670 additions and 4,094 deletions.
49 changes: 22 additions & 27 deletions AntShares.sln → neo.sln
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.6
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{83696BE0-E444-44DD-9C0D-A61CACFC95E1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AntShares", "src\AntShares\AntShares.csproj", "{36447A9B-0311-4D4D-A3D5-AECBE9C15BBC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{36447A9B-0311-4D4D-A3D5-AECBE9C15BBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{36447A9B-0311-4D4D-A3D5-AECBE9C15BBC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{36447A9B-0311-4D4D-A3D5-AECBE9C15BBC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{36447A9B-0311-4D4D-A3D5-AECBE9C15BBC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{36447A9B-0311-4D4D-A3D5-AECBE9C15BBC} = {83696BE0-E444-44DD-9C0D-A61CACFC95E1}
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.15
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "neo", "neo\neo.csproj", "{36447A9B-0311-4D4D-A3D5-AECBE9C15BBC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{36447A9B-0311-4D4D-A3D5-AECBE9C15BBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{36447A9B-0311-4D4D-A3D5-AECBE9C15BBC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{36447A9B-0311-4D4D-A3D5-AECBE9C15BBC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{36447A9B-0311-4D4D-A3D5-AECBE9C15BBC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.IO;

namespace AntShares.Consensus
namespace Neo.Consensus
{
internal class ChangeView : ConsensusMessage
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
using AntShares.Core;
using AntShares.Cryptography;
using AntShares.Cryptography.ECC;
using AntShares.IO;
using AntShares.Network.Payloads;
using AntShares.Wallets;
using Neo.Core;
using Neo.Cryptography;
using Neo.Cryptography.ECC;
using Neo.IO;
using Neo.Network.Payloads;
using Neo.Wallets;
using System.Collections.Generic;
using System.Linq;

namespace AntShares.Consensus
namespace Neo.Consensus
{
internal class ConsensusContext
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using AntShares.IO;
using Neo.IO;
using System;
using System.IO;
using System.Reflection;

namespace AntShares.Consensus
namespace Neo.Consensus
{
internal abstract class ConsensusMessage : ISerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AntShares.Consensus
namespace Neo.Consensus
{
internal enum ConsensusMessageType : byte
{
Expand Down
Loading

0 comments on commit 07dd1f5

Please sign in to comment.