diff --git a/src/neo/IO/Json/JObject.cs b/src/neo/IO/Json/JObject.cs index adf46f9c90..9b725381af 100644 --- a/src/neo/IO/Json/JObject.cs +++ b/src/neo/IO/Json/JObject.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; using System.IO; -using System.Text; using System.Text.Json; namespace Neo.IO.Json diff --git a/src/neo/Network/P2P/Payloads/BlockBase.cs b/src/neo/Network/P2P/Payloads/BlockBase.cs index b724f5e074..51dfd3377e 100644 --- a/src/neo/Network/P2P/Payloads/BlockBase.cs +++ b/src/neo/Network/P2P/Payloads/BlockBase.cs @@ -1,4 +1,3 @@ -using Neo.Cryptography; using Neo.IO; using Neo.IO.Json; using Neo.Persistence; diff --git a/src/neo/Persistence/MemorySnapshot.cs b/src/neo/Persistence/MemorySnapshot.cs index ec3caf80be..e5800c08ae 100644 --- a/src/neo/Persistence/MemorySnapshot.cs +++ b/src/neo/Persistence/MemorySnapshot.cs @@ -1,6 +1,5 @@ using Neo.IO; using Neo.IO.Caching; -using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/src/neo/Persistence/MemoryStore.cs b/src/neo/Persistence/MemoryStore.cs index bba1cf73aa..fdcd06f013 100644 --- a/src/neo/Persistence/MemoryStore.cs +++ b/src/neo/Persistence/MemoryStore.cs @@ -1,6 +1,5 @@ using Neo.IO; using Neo.IO.Caching; -using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; diff --git a/src/neo/Plugins/IMemoryPoolTxObserverPlugin.cs b/src/neo/Plugins/IMemoryPoolTxObserverPlugin.cs index 3dd1cb3ef2..2d7e0b2d63 100644 --- a/src/neo/Plugins/IMemoryPoolTxObserverPlugin.cs +++ b/src/neo/Plugins/IMemoryPoolTxObserverPlugin.cs @@ -1,5 +1,5 @@ -using System.Collections.Generic; using Neo.Network.P2P.Payloads; +using System.Collections.Generic; namespace Neo.Plugins { diff --git a/src/neo/Plugins/IPersistencePlugin.cs b/src/neo/Plugins/IPersistencePlugin.cs index 2884607b39..9c08677efa 100644 --- a/src/neo/Plugins/IPersistencePlugin.cs +++ b/src/neo/Plugins/IPersistencePlugin.cs @@ -1,5 +1,5 @@ -using System; using Neo.Persistence; +using System; using System.Collections.Generic; using static Neo.Ledger.Blockchain; diff --git a/src/neo/SmartContract/DeployedContract.cs b/src/neo/SmartContract/DeployedContract.cs index 36465c37d7..c784811b5e 100644 --- a/src/neo/SmartContract/DeployedContract.cs +++ b/src/neo/SmartContract/DeployedContract.cs @@ -1,4 +1,3 @@ -using Neo.Ledger; using Neo.SmartContract.Manifest; using System; using System.Linq; diff --git a/src/neo/SmartContract/Manifest/ContractPermission.cs b/src/neo/SmartContract/Manifest/ContractPermission.cs index 8bc2784cce..646f6d476c 100644 --- a/src/neo/SmartContract/Manifest/ContractPermission.cs +++ b/src/neo/SmartContract/Manifest/ContractPermission.cs @@ -1,5 +1,4 @@ using Neo.IO.Json; -using Neo.Ledger; using System; using System.Linq; diff --git a/tests/neo.UnitTests/Consensus/UT_ConsensusServiceMailbox.cs b/tests/neo.UnitTests/Consensus/UT_ConsensusServiceMailbox.cs index 3c58c53473..bde5ed0106 100644 --- a/tests/neo.UnitTests/Consensus/UT_ConsensusServiceMailbox.cs +++ b/tests/neo.UnitTests/Consensus/UT_ConsensusServiceMailbox.cs @@ -1,14 +1,10 @@ -using Akka.TestKit; using Akka.TestKit.Xunit2; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; -using System; -using Moq; +using Neo.Consensus; using Neo.Ledger; using Neo.Network.P2P.Payloads; -using Neo.Network.P2P; -using Akka.Configuration; -using Neo.Consensus; +using System; namespace Neo.UnitTests.Consensus { diff --git a/tests/neo.UnitTests/IO/Caching/UT_ReflectionCache.cs b/tests/neo.UnitTests/IO/Caching/UT_ReflectionCache.cs index 547c18787d..62c1bd12ed 100644 --- a/tests/neo.UnitTests/IO/Caching/UT_ReflectionCache.cs +++ b/tests/neo.UnitTests/IO/Caching/UT_ReflectionCache.cs @@ -1,8 +1,8 @@ -using System.IO; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.IO; using Neo.IO.Caching; +using System.IO; namespace Neo.UnitTests.IO.Caching { diff --git a/tests/neo.UnitTests/IO/Json/UT_JObject.cs b/tests/neo.UnitTests/IO/Json/UT_JObject.cs index f32bf968dc..e2c394f5bb 100644 --- a/tests/neo.UnitTests/IO/Json/UT_JObject.cs +++ b/tests/neo.UnitTests/IO/Json/UT_JObject.cs @@ -1,7 +1,6 @@ using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.IO.Json; -using Neo.SmartContract.Manifest; using System; namespace Neo.UnitTests.IO.Json diff --git a/tests/neo.UnitTests/Network/P2P/UT_Message.cs b/tests/neo.UnitTests/Network/P2P/UT_Message.cs index 55d65449e2..c70e0b37fd 100644 --- a/tests/neo.UnitTests/Network/P2P/UT_Message.cs +++ b/tests/neo.UnitTests/Network/P2P/UT_Message.cs @@ -3,7 +3,6 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.IO; using Neo.Network.P2P; -using Neo.Network.P2P.Capabilities; using Neo.Network.P2P.Payloads; using System; using System.Linq; diff --git a/tests/neo.UnitTests/SmartContract/Enumerators/UT_ConcatenatedEnumerator.cs b/tests/neo.UnitTests/SmartContract/Enumerators/UT_ConcatenatedEnumerator.cs index bbcfcdde78..f7ad3a7274 100644 --- a/tests/neo.UnitTests/SmartContract/Enumerators/UT_ConcatenatedEnumerator.cs +++ b/tests/neo.UnitTests/SmartContract/Enumerators/UT_ConcatenatedEnumerator.cs @@ -2,7 +2,6 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.SmartContract.Enumerators; using Neo.SmartContract.Iterators; -using Neo.VM; using Neo.VM.Types; using System; using System.Collections.Generic; diff --git a/tests/neo.UnitTests/SmartContract/Iterators/UT_ArrayWrapper.cs b/tests/neo.UnitTests/SmartContract/Iterators/UT_ArrayWrapper.cs index 9aebf0861c..c997bb7fd6 100644 --- a/tests/neo.UnitTests/SmartContract/Iterators/UT_ArrayWrapper.cs +++ b/tests/neo.UnitTests/SmartContract/Iterators/UT_ArrayWrapper.cs @@ -1,7 +1,6 @@ using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.SmartContract.Iterators; -using Neo.VM; using Neo.VM.Types; using System; using System.Collections.Generic; diff --git a/tests/neo.UnitTests/SmartContract/UT_DeployedContract.cs b/tests/neo.UnitTests/SmartContract/UT_DeployedContract.cs index 16520b1049..0bb2a86419 100644 --- a/tests/neo.UnitTests/SmartContract/UT_DeployedContract.cs +++ b/tests/neo.UnitTests/SmartContract/UT_DeployedContract.cs @@ -1,5 +1,4 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; -using Neo.Ledger; using Neo.SmartContract; using System; diff --git a/tests/neo.UnitTests/SmartContract/UT_InteropPrices.cs b/tests/neo.UnitTests/SmartContract/UT_InteropPrices.cs index e0c90a1e8c..cdcd78247f 100644 --- a/tests/neo.UnitTests/SmartContract/UT_InteropPrices.cs +++ b/tests/neo.UnitTests/SmartContract/UT_InteropPrices.cs @@ -2,7 +2,6 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.Ledger; using Neo.SmartContract; -using Neo.SmartContract.Native; using Neo.UnitTests.Extensions; using Neo.VM; diff --git a/tests/neo.UnitTests/Wallets/SQLite/UT_UserWalletAccount.cs b/tests/neo.UnitTests/Wallets/SQLite/UT_UserWalletAccount.cs index 0a1fde1321..fe4fd48cb3 100644 --- a/tests/neo.UnitTests/Wallets/SQLite/UT_UserWalletAccount.cs +++ b/tests/neo.UnitTests/Wallets/SQLite/UT_UserWalletAccount.cs @@ -1,6 +1,5 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.Wallets.SQLite; -using System.Text; namespace Neo.UnitTests {