Skip to content

Commit 33ac64d

Browse files
authored
Merge branch 'master' into add-ecc-encryption-and-decryption
2 parents b013bf6 + c8604f4 commit 33ac64d

File tree

201 files changed

+2025
-12
lines changed

Some content is hidden

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

201 files changed

+2025
-12
lines changed

src/neo/BigDecimal.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212
using System.Numerics;
313

src/neo/Cryptography/Base58.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212
using System.Linq;
313
using System.Numerics;

src/neo/Cryptography/BloomFilter.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212
using System.Collections;
313
using System.Linq;

src/neo/Cryptography/Crypto.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212
using System.Runtime.InteropServices;
313
using System.Security.Cryptography;

src/neo/Cryptography/ECC/ECCurve.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System.Globalization;
212
using System.Numerics;
313

src/neo/Cryptography/ECC/ECFieldElement.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212
using System.Numerics;
313

src/neo/Cryptography/ECC/ECPoint.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using Neo.IO;
212
using System;
313
using System.IO;

src/neo/Cryptography/Helper.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using Neo.IO;
212
using Neo.Network.P2P.Payloads;
313
using Neo.Wallets;

src/neo/Cryptography/MerkleTree.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using Neo.IO;
212
using System;
313
using System.Collections;

src/neo/Cryptography/MerkleTreeNode.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
namespace Neo.Cryptography
212
{
313
internal class MerkleTreeNode

src/neo/Cryptography/Murmur128.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212
using System.Buffers.Binary;
313
using System.Numerics;

src/neo/Cryptography/Murmur32.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212
using System.Buffers.Binary;
313
using System.Numerics;

src/neo/Cryptography/RIPEMD160Managed.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212
using System.Runtime.InteropServices;
313
using System.Security;

src/neo/Helper.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using Neo.IO.Caching;
212
using System;
313
using System.Collections.Generic;

src/neo/IO/Actors/Idle.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
namespace Neo.IO.Actors
212
{
313
internal sealed class Idle

src/neo/IO/Actors/PriorityMailbox.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using Akka.Actor;
212
using Akka.Configuration;
313
using Akka.Dispatch;

src/neo/IO/Actors/PriorityMessageQueue.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using Akka.Actor;
212
using Akka.Dispatch;
313
using Akka.Dispatch.MessageQueues;

src/neo/IO/ByteArrayComparer.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212
using System.Collections.Generic;
313
using System.Runtime.CompilerServices;

src/neo/IO/ByteArrayEqualityComparer.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System.Collections.Generic;
212

313
namespace Neo.IO

src/neo/IO/Caching/Cache.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212
using System.Collections;
313
using System.Collections.Generic;

src/neo/IO/Caching/FIFOCache.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
namespace Neo.IO.Caching
212
{
313
internal abstract class FIFOCache<TKey, TValue> : Cache<TKey, TValue>

src/neo/IO/Caching/HashSetCache.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212
using System.Collections;
313
using System.Collections.Generic;

src/neo/IO/Caching/IndexedQueue.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212
using System.Collections;
313
using System.Collections.Generic;

src/neo/IO/Caching/OrderedDictionary.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System.Collections;
212
using System.Collections.Generic;
313
using System.Collections.ObjectModel;

src/neo/IO/Caching/ReflectionCache.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212
using System.Collections.Generic;
313
using System.Reflection;

src/neo/IO/Caching/ReflectionCacheAttribute.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using System;
212

313
namespace Neo.IO.Caching

src/neo/IO/Caching/RelayCache.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using Neo.Network.P2P.Payloads;
212

313
namespace Neo.IO.Caching

src/neo/IO/Helper.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright (C) 2015-2021 The Neo Project.
2+
//
3+
// The neo is free software distributed under the MIT software license,
4+
// see the accompanying file LICENSE in the main directory of the
5+
// project or http://www.opensource.org/licenses/mit-license.php
6+
// for more details.
7+
//
8+
// Redistribution and use in source and binary forms with or without
9+
// modifications are permitted.
10+
111
using K4os.Compression.LZ4;
212
using System;
313
using System.Buffers;

0 commit comments

Comments
 (0)