-
Notifications
You must be signed in to change notification settings - Fork 1k
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
improve parse method in neo-cli #3204
Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
e1d8e14
Update MainService.Tools.cs
chenzhitong 25b16f6
format
chenzhitong 0bcbcda
Update MainService.Tools.cs
chenzhitong 0c36106
Update MainService.Tools.cs
chenzhitong 43faa79
Update MainService.Tools.cs
chenzhitong 4acbe95
Update MainService.Tools.cs
chenzhitong ecc7cbb
Update MainService.Tools.cs
chenzhitong 9e6f07c
Update MainService.Tools.cs
chenzhitong ff3406d
Update MainService.Tools.cs
chenzhitong 214f62b
update
chenzhitong 7b5c9e1
Update MainService.Tools.cs
chenzhitong 7b9a17a
Update MainService.Tools.cs
chenzhitong 75f4473
Merge branch 'master' into converter
chenzhitong b42fa7b
Update MainService.Tools.cs
chenzhitong 7d5c5ca
Merge branch 'converter' of /~https://github.com/chenzhitong/neo into c…
chenzhitong 31c226f
Merge branch 'master' into converter
chenzhitong 90d10ef
format
chenzhitong 010f34b
Merge branch 'master' into converter
chenzhitong cd69789
Merge branch 'master' into converter
chenzhitong 819f1cf
Merge branch 'master' into converter
chenzhitong 4fb2a2d
Update MainService.Tools.cs
chenzhitong fcc8cec
Merge branch 'master' into converter
cschuchardt88 484f1e6
Merge branch 'master' into converter
shargon 250c8ea
Review
shargon 6fdab35
fixedbug
chenzhitong 17141e4
Update MainService.Tools.cs
chenzhitong 63e992a
Merge branch 'master' into converter
shargon ef81c32
Merge branch 'master' into converter
Jim8y 4f6afbb
Merge branch 'master' into converter
shargon f6e652e
Merge branch 'master' into converter
shargon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright (C) 2015-2024 The Neo Project. | ||
// | ||
// ParseFunctionAttribute.cs file belongs to the neo project and is free | ||
// software distributed under the MIT software license, see the | ||
// accompanying file LICENSE in the main directory of the | ||
// repository or http://www.opensource.org/licenses/mit-license.php | ||
// for more details. | ||
// | ||
// Redistribution and use in source and binary forms with or without | ||
// modifications are permitted. | ||
|
||
using System; | ||
|
||
namespace Neo.CLI | ||
{ | ||
internal class ParseFunctionAttribute : Attribute | ||
{ | ||
public string Description { get; } | ||
|
||
public ParseFunctionAttribute(string description) | ||
{ | ||
Description = description; | ||
} | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public keys can be many lengths and prefixes. Look at
Neo.Cryptography.ECC.ECPoint
class in methodTryParse
,Parse
,DecodePoint
orFromBytes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already removed
IsValidPubKey
method