Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge neo master branch #6

Merged
merged 90 commits into from
Jan 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
0ed69cd
Unit Test for Smartcontract Module (#1090)
eryeer Oct 23, 2019
ae7b319
Ensure txs are cleared before Blockchain actor (#1166)
vncoelho Oct 24, 2019
cd85039
Unit Test For RPC Module (#1111)
eryeer Oct 24, 2019
c9e8532
fix payload limits (#1194)
ixje Oct 29, 2019
0aed29f
Fix JsonSerializer (#1197)
erikzhang Oct 30, 2019
1b7d1ec
Fix #1128 (#1129)
igormcoelho Oct 30, 2019
b7be2c7
Add shutdown event for plugins (#1195)
ixje Oct 31, 2019
1c84f7c
Replace function exceptwith and unionwith with faster functions (#1174)
Qiao-Jin Nov 5, 2019
0a7cba7
Unit tests for some auxiliary classes (#1192)
eryeer Nov 6, 2019
425fd73
Fix p2p filter unconnected peers (#1160)
Nov 7, 2019
4aff0d3
Remove the case of GetData in ProtocolHandlerMailbox#ShallDrop (#1201)
doubiliu Nov 7, 2019
87aed99
Add GetFullBlocks P2P logic (enable fixing #522) (#1138)
ixje Nov 7, 2019
1dc262f
Use base64 in JsonSerializer (#1199)
shargon Nov 7, 2019
85c0013
Optimize MerkleTree (3x) (#1203)
shargon Nov 7, 2019
f70a76d
Added more verbosity to CN logs (#1202)
shargon Nov 8, 2019
f1d6434
Keep track of sender fee (#1183)
Qiao-Jin Nov 10, 2019
c7a7de7
Using problem description (#1214)
lock9 Nov 12, 2019
927683d
Improve SYSCALLs: `Neo.Crypto.*` (#1190)
erikzhang Nov 13, 2019
0d18b34
Prevent XXE (3x) (#1229)
shargon Nov 13, 2019
7c6a147
Remove unnecessary logic from Mempool (#1216)
vncoelho Nov 13, 2019
69f3f15
Prevent remove storage flag when there are something stored (#1227)
shargon Nov 14, 2019
72be7f6
Add NeoAPI and update code after testing with NEO3 preview1 (#1150)
chenquanyu Nov 14, 2019
29e6ff8
Adding neo version to feature suggestion (#1240)
lock9 Nov 17, 2019
8ccc5e9
Fix Base58 issues (3x) (#1224)
shargon Nov 19, 2019
24da2bd
Decrease the block time threshold (3x) (#1233)
shargon Nov 21, 2019
d22baef
Fix 1244 Mempool.ReverifyTransactions (#1248)
Nov 22, 2019
7d3cee0
Improve p2p message deserialization (#1262)
erikzhang Nov 22, 2019
5327f6b
Ensure that the block is valid before relay it on CheckCommits (#1220)
shargon Nov 24, 2019
a891796
Upgrade dependencies and target frameworks (#1178)
shargon Nov 24, 2019
d9e16e3
Move projects into folders (#1269)
erikzhang Nov 25, 2019
4945f4c
Remove Travis and use Github Actions (#1267)
erikzhang Nov 25, 2019
325242a
Optimize BigInteger (#1280)
erikzhang Nov 26, 2019
8005e90
apply strict enum checking (#1254)
ixje Nov 26, 2019
84d6190
Small optimizations using cached VM Script (#1215)
shargon Nov 26, 2019
8ddd2f9
Storage abstract (#1249)
erikzhang Nov 27, 2019
c198dc2
Allow to iterate a byte array inside the smart contract (#1281)
shargon Nov 27, 2019
92eb258
New plugin interface: IStoragePlugin (#1087)
erikzhang Nov 28, 2019
4a8194e
Optimize TaskManager (#1294)
shargon Nov 28, 2019
5fc5b33
Cache `Transaction.Size` (#1282)
eryeer Nov 29, 2019
8371a7d
Improving ConsensusService UT: Adding some coverage to OnPersistCompl…
vncoelho Nov 29, 2019
68e5646
Remove Linq from ECDSA and UInt classes (#1283)
shargon Nov 30, 2019
dd19d80
Unify the BigInteger serialization standard with NeoVM (#1307)
erikzhang Nov 30, 2019
425dbd5
Optimizations for .NET Standard 2.1
erikzhang Dec 1, 2019
67b5754
Change address version (#1299)
belane Dec 1, 2019
32a6320
Simple Way to Parallel Verification Transaction (#1298)
eryeer Dec 1, 2019
5cb2620
Fix/Improve syncing (3x): Adding ping mechanism to TaskManager for re…
yongjiema Dec 1, 2019
4a07a63
Remove leveldb
erikzhang Dec 1, 2019
dd0362f
Fix `InvPayload.CreateGroup()` (#1314)
erikzhang Dec 2, 2019
9cd1d08
Add Blockchain UT for parallel TX (#1310)
shargon Dec 2, 2019
a4f135d
Allow users to more easily select MemoryStore. (#1311)
erikzhang Dec 2, 2019
e552255
Remove meaningless UT (#1317)
erikzhang Dec 2, 2019
9bc0d54
Improve plugins (#1312)
erikzhang Dec 3, 2019
714621b
Fix typo (#1319)
shargon Dec 3, 2019
5cba80a
Neo.VM v3.0.0-CI00174 (#1320)
erikzhang Dec 4, 2019
afec99a
Fix ToParameter() (#1323)
erikzhang Dec 4, 2019
75b1586
Optimize ContractManifest.Clone() (#1328)
erikzhang Dec 5, 2019
8ee30fc
Dispose ApplicationEngine after using (#1336)
erikzhang Dec 6, 2019
e7e2ced
Update NeoVM nuget (#1331)
shargon Dec 6, 2019
68a54f6
Update dotnetcore.yml
erikzhang Dec 6, 2019
a3759db
Improving UT consensus with new asserts, additional coverage for Reco…
vncoelho Dec 7, 2019
ab5b051
Remove RPC (#1340)
erikzhang Dec 7, 2019
af2d821
Remove some dependencies
erikzhang Dec 7, 2019
44eacfd
Update and rename dotnetcore.yml to main.yml
erikzhang Dec 9, 2019
5252895
Readme update (#1341)
lock9 Dec 9, 2019
f435443
Improve JSON (#1315)
erikzhang Dec 10, 2019
0f75741
Adding some comments to P2P classes (#1212)
vncoelho Dec 10, 2019
7dc06d4
More optimizations about Span (#1352)
erikzhang Dec 11, 2019
e913403
Restrict the serialization (#1353)
erikzhang Dec 12, 2019
64411d2
Adding contact information to manifest (#1246)
lock9 Dec 13, 2019
a7d40b4
Prevent Timer's lock with wrong dns (#1358)
shargon Dec 13, 2019
91e9898
Neo.VM.3.0.0-CI00190 (#1357)
erikzhang Dec 14, 2019
537d09e
Fix SeedList initialization (#1363)
erikzhang Dec 15, 2019
712b471
AssemblyResolve (#1349)
erikzhang Dec 15, 2019
abeebd9
Rename SYSCALLs (#1362)
erikzhang Dec 15, 2019
5f3ec9b
Change the way to get RemoteNode from ActorSelection to RemoteNodes D…
eryeer Dec 18, 2019
37ce5c2
CallEx implementation (#1364)
shargon Dec 19, 2019
37136d6
Link fixes (#1351)
lock9 Dec 19, 2019
44e7f3b
Set the price of RET to 0 (#1379)
erikzhang Dec 22, 2019
def1e83
add data size check (#1381)
eryeer Dec 26, 2019
0130876
Set limits in MerkleBlockPayload (3x) (#1377)
shargon Dec 26, 2019
c5a0f07
Neo.VM.3.0.0-CI00201 (#1374)
erikzhang Dec 30, 2019
225948b
Add relay-block-filter (#1380)
ShawnYun Jan 6, 2020
6a91212
Adding some comments to datacache (#1347)
vncoelho Jan 6, 2020
d9d54b5
Rename CalculateNetWorkFee() (#1401)
joeqian10 Jan 7, 2020
040f3b8
Use HashsetCache instead of FIFOSet for KnownHashes and SentHashes (#…
eryeer Jan 9, 2020
49b8518
Add ContainsTransaction Recheck when ParallelVerifiedTransaction Rece…
eryeer Jan 13, 2020
ab4830c
Enhance security (1) (#1403)
Jan 14, 2020
fc1a64b
Fix undefined layout behaviour, and remove pinning: Uint256 and Uint1…
john-h-k Jan 15, 2020
d5ec715
Allow to verify import blocks (#1415)
shargon Jan 17, 2020
35c73ce
Fix notifications (#1422)
shargon Jan 18, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE/feature-or-enhancement-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ labels: discussion
assignees: ''
---

**Summary**
**Summary or problem description**
A summary of the problem you want to solve or metric you want to improve

**Do you have any solution you want to propose?**
A clear and concise description of what you expect with this change.

**Neo Version**
- Neo 2
- Neo 3

**Where in the software does this update applies to?**
- Compiler
- Consensus
Expand Down
Binary file added .github/images/discord-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/medium-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/nnt-logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/reddit-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/telegram-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/twitter-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/we-chat-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/weibo-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/youtube-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
112 changes: 112 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
name: .NET Core Test and Publish

on:
push:
branches: master
pull_request:

env:
DOTNET_VERSION: 3.0.100

jobs:

Test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Check format
run: |
dotnet tool install --tool-path ./ dotnet-format
./dotnet-format --check --dry-run -v diagnostic
- name: Test
run: |
find tests -name *.csproj | xargs -I % dotnet add % package coverlet.msbuild
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage/lcov
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

PublishGithub:
# Because sometimes this action is not working as expected we will disable it until determine that it's more stable
if: false && github.ref == 'refs/heads/master' && startsWith(github.repository, 'neo-project/')
needs: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Setup NuGet.exe for use with actions
uses: NuGet/setup-nuget@v1
- name: Pack with dotnet
run: git rev-list --count HEAD |xargs printf "CI%05d" |xargs dotnet pack -c Debug -o out --include-source --version-suffix
- name: Publish to Github Packages
run: |
nuget source Add -Name "GitHub" -Source "https://nuget.pkg.github.com/neo-project/index.json" -UserName neo-project -Password ${GITHUB_TOKEN}
nuget push out/*.nupkg -Source "GitHub"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

PublishMyGet:
if: github.ref == 'refs/heads/master' && startsWith(github.repository, 'neo-project/')
needs: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Pack with dotnet
run: git rev-list --count HEAD |xargs printf "CI%05d" |xargs dotnet pack -c Debug -o out --include-source --version-suffix
- name: Publish to MyGet
run: dotnet nuget push out/*.nupkg -s https://www.myget.org/F/neo/api/v2/package -k ${MYGET_TOKEN} -ss https://www.myget.org/F/neo/symbols/api/v2/package -sk ${MYGET_TOKEN}
env:
MYGET_TOKEN: ${{ secrets.MYGET_TOKEN }}

Release:
if: github.ref == 'refs/heads/master' && startsWith(github.repository, 'neo-project/')
needs: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Get version
id: get_version
run: |
sudo apt install xmlstarlet
find src -name *.csproj | xargs xmlstarlet sel -t -v "concat('::set-output name=version::v',//VersionPrefix/text(),'-',//VersionSuffix/text())" | xargs echo
- name: Check tag
id: check_tag
run: curl -s -I ${{ format('https://github.com/{0}/releases/tag/{1}', github.repository, steps.get_version.outputs.version) }} | head -n 1 | cut -d$' ' -f2 | xargs printf "::set-output name=statusCode::%s" | xargs echo
- name: Create release
if: steps.check_tag.outputs.statusCode == '404'
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.get_version.outputs.version }}
release_name: ${{ steps.get_version.outputs.version }}
prerelease: ${{ contains(steps.get_version.outputs.version, '-') }}
- name: Setup .NET Core
if: steps.check_tag.outputs.statusCode == '404'
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Publish to NuGet
if: steps.check_tag.outputs.statusCode == '404'
run: |
dotnet pack -o out -c Release
dotnet nuget push out/*.nupkg -s https://api.nuget.org/v3/index.json -k ${NUGET_TOKEN}
env:
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,4 @@ paket-files/
*.sln.iml

PublishProfiles
/.vscode
47 changes: 0 additions & 47 deletions .travis.yml

This file was deleted.

Loading