Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: neo-project/neo-modules
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.6.1
Choose a base ref
...
head repository: neo-project/neo-modules
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.6.2
Choose a head ref
  • 9 commits
  • 18 files changed
  • 8 contributors

Commits on Sep 26, 2023

  1. Added hardfork to RpcClient (#825)

    * Added hardfork to RpcClient
    
    * fixed unit test for getversionasync
    cschuchardt88 authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    6ead780 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2023

  1. RpcServer, RpcClient: strip HF_ prefix from getversion response (#838)

    * RpcServer, RpcClient: strip HF_ prefix from `getversion` response
    
    It's nice to have clear hardfork ame without hardfork prefix so that
    the resulting hardfork JSON-ized name can be applicable by both C#
    and NeoGo nodes.
    
    Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
    
    * tests: adjust `getversion` test response
    
    Strip `HF_` prefix from the hardforks response.
    Fix @cschuchardt88's review: #838 (comment).
    
    Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
    
    * Check `HF_` prefix before cutting/adding it to JSON-ized hardforks
    
    Fix @shargon's review: #838 (review).
    
    Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
    
    ---------
    
    Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
    AnnaShaleva authored Oct 15, 2023
    Configuration menu
    Copy the full SHA
    12746bf View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Add Cancel Tx RpcApi (#837)

    * init
    
    * Update src/RpcServer/RpcServer.Wallet.cs
    
    Co-authored-by: Christopher Schuchardt <cschuchardt88@gmail.com>
    
    * Update src/RpcServer/RpcServer.Wallet.cs
    
    Co-authored-by: Owen Zhang <38493437+superboyiii@users.noreply.github.com>
    
    * Update src/RpcServer/RpcServer.Wallet.cs
    
    Co-authored-by: Owen Zhang <38493437+superboyiii@users.noreply.github.com>
    
    * Clean empty lines
    
    * Clean empty lines
    
    * Update src/RpcServer/RpcServer.Wallet.cs
    
    ---------
    
    Co-authored-by: Christopher Schuchardt <cschuchardt88@gmail.com>
    Co-authored-by: Owen Zhang <38493437+superboyiii@users.noreply.github.com>
    Co-authored-by: Shargon <shargon@gmail.com>
    Co-authored-by: Jimmy <jinghui@wayne.edu>
    5 people authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    4f55458 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. RpcClient: Check for NEP17 Transfer (#833)

    * added issue 775
    
    * changed with output
    
    * changed error to match error of spec
    
    * fixed exception output
    
    * fixed issue 775
    
    * Added `.ConfigureAwait(false)` to `InvokeScriptAsync`
    
    * Removed unused namespaces and fixed formatting
    
    * fixed tests for CreateTransferTxAsync
    
    * Code comment removed for invalid param
    
    * Use Assert in script for nep-17 transfers
    
    Revert "v3.6.1 (#831)"
    
    This reverts commit 7b4145c.
    
    * fixed tests
    
    * Update Directory.Build.props
    
    guess i went back to much
    
    * Add argument
    
    ---------
    
    Co-authored-by: Shargon <shargon@gmail.com>
    Co-authored-by: Owen Zhang <38493437+superboyiii@users.noreply.github.com>
    3 people authored Nov 8, 2023
    Configuration menu
    Copy the full SHA
    35993a4 View commit details
    Browse the repository at this point in the history
  2. Add Rest Web Server WIP (#810)

    * Add new project for restserver
    
    * Added Utils, Node and contract controllers
    
    * updated license for each file.
    
    * Added plugin support for plugins to add dependencies via dependency injection.
    
    * Update to allow MaxPageSize
    
    * Added new settings for configuration.
    Added HTTP Basic Auth.
    Changed most classes to internal that didnt need to be public.
    Added Rest Server Middleware.
    Added the ability to block urls paths (for module rest server plugins).
    Added the ability to enable CORS and whitelist of urls.
    Added HTTP user and pass configurable.
    Added hot load of Controllers from plugin assemblies
    Changed Controllers to be "ApiController" class
    
    * Added CORS misconfiguation message to the user if auth and cors is enabled with no origins,.
    
    * Added Wallet API (untested)
    Added MaxTransactionFee to config
    Added Anything for Kestrel to be configurable
    
    * Added Nep17 tokens controller.
    Added Nep11 token controller.
    Changed namespaces and file names around.
    
    * Added invoke gas max amount
    Added peers route for node controller
    Changed RemoteNodeModel and TokenBalanceModel namespaces
    
    * Added blockchain controller
    Added Neo/Gas controller
    Added send raw transactions relay
    
    * Changed controllers to show error if is invalid node protocol network
    Fixed formating
    Added blacklist/disable controllers
    Removed DisableRoute list from config (wasn't being used)
    
    * Fixed RestServerMiddleware crashing if malformed basic auth is sent from end user
    
    * Changed json converter for UInt160 to validate Address and scripthash format
    Added InvokeScript to helper class
    Added ConvertToScriptHash for address to scripthash
    
    * Changes Namespaces
    
    * Fixed Wallet Transfers
    
    * Error Codes
    
    * Added Custom Exceptions
    Changed all controller parameters for json converters
    Added custom error handling
    Fixed wallet sessions
    Added wallet session manager
    removed development mode (not needed)
    Added session timeout to config file
    Added max allow sessions to config file
    
    * Added swagger support
    Added swagger configurable in config.json
    Changed controllers to reflect swagger
    Changed wallet controller to reset expiring for wallets per request
    
    * Made RestServer more generic and plugin friendly
    Added new json converter for block, transaction and contract
    removed the model associated with blocks, transactions, and contracts
    changed json settings for new json converters that were added
    
    * Changed now when wallets expire they will be terminated on time.
    Added Console Commands for wallet sessions
    
    * Fixed Block, transaction json converters for null values.
    Fixed UInt160, UInt256 json converters value not being set right in certain situations.
    Fixed wallet transfers for null signers
    
    * Fixed UInt160 and UInt256 with null values
    Fixed Wallet transfers with invalid data or output messages
    
    * Added full wallet functionality
    Changed wallet route paths around to be suit the means
    Fixed ECPoint json converter for reading
    Fixed UInt160 json converter
    Changed error out for invalid serialization of json on route parameters
    Fixed with dotnet format
    
    * Added Transactions with scripts
    Changed restricted wallet path to Environment.CurrentDirectory
    
    * Fixed typos with json properties in json converters.
    Changed NEP-11 Models to IReadOnlyDictionary and IEnumerable.
    
    * Changed Nep11 and Nep17 token classes to be more sounds on logic
    Fixed with dotnet format
    
    * Added swagger server discriptions for wallet controller.
    Fixed Guid json converter with values.
    
    * Fixes the transaction model for swagger
    
    * Added Swagger service descriptions
    
    * Fixed typos in swagger descriptions
    
    * Changed xml commecnts to RestServer only Because you can only use one xml file per swagger.
    Fixed some more typos
    
    * Removed GenerateDocumentationFile kind of point if other plugins cant add on to it.
    
    * Changed ExecutionEngineModel to be more swagger friendly
    
    * Fixed all the swagger json objects descriptions, types are now readable from the Swagger UI
    Added back xml comments does work with other plugins in swagger.
    Added SchemaFilter for removing unwanted properties from json objects in swagger.
    Fixed some type mapping for swagger
    Removed some type mapping for swagger
    
    * Removed unnecessary namespaces from file(s)
    
    * Changed WalletController to have expose more information for some errors
    Changed Swagger doc description and title
    
    * Changed to Swagger to support only OpenAPI version 2.0 for DotNet Standard 2.0/2.1
    
    * Fixed CORS wasnt being set.
    
    * Changed WalletTimeout to WalletSessionTimeout
    
    Added WWWAuthenticate support for browsers
    
    Fixed wording of the 400 responses
    
    * Code clean up
    Changed MaxInvokeGas to MaxGasInvoke to match Rpc Server's
    
    * Changed names of controller from token to tokens
    Add basic auth handler
    removed not needed json converters
    added uint160 model binder
    merge
    
    * Added basic auth handler
    Added jsonconverters
    Moved Controllers to V1 folder for version control
    
    * Update timer to not be runaway timer
    
    * Updated Json Converter Settings
    
    * Added RestServer Docs
    
    ---------
    
    Co-authored-by: Christopher R. Schuchardt <Chris.Schuchardt@pcworldinc.com>
    Co-authored-by: Vitor Nazário Coelho <vncoelho@gmail.com>
    3 people authored Nov 8, 2023
    Configuration menu
    Copy the full SHA
    e9d8683 View commit details
    Browse the repository at this point in the history
  3. Revert "Add Rest Web Server WIP (#810)"

    This reverts commit e9d8683.
    shargon committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    8337202 View commit details
    Browse the repository at this point in the history
  4. MaxParamsDepth and MaxRequestBodySize in RpcServer (#827)

    * Reducing risks metioned in https://github.com/neo-project/neo-modules/issues/820
    
    * Also check in GET
    
    * Clean
    
    ---------
    
    Co-authored-by: Jimmy <jinghui@wayne.edu>
    Co-authored-by: Owen Zhang <38493437+superboyiii@users.noreply.github.com>
    3 people authored Nov 8, 2023
    Configuration menu
    Copy the full SHA
    3f19028 View commit details
    Browse the repository at this point in the history
  5. DBFTPlugin: adapt new Conflicts attribute storage scheme (#828)

    * DBFTPlugin: adapt new Conflicts attribute storage scheme
    
    Upgrade neo-modules to use neo-project/neo#2913.
    
    Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
    
    * Update neo
    
    * Fix version
    
    * Fix NativeHistory
    
    ---------
    
    Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
    Co-authored-by: Jimmy <jinghui@wayne.edu>
    Co-authored-by: Shargon <shargon@gmail.com>
    3 people authored Nov 8, 2023
    Configuration menu
    Copy the full SHA
    2d7fb27 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. v3.6.2 (#844)

    superboyiii authored Nov 17, 2023
    Configuration menu
    Copy the full SHA
    64a1ae4 View commit details
    Browse the repository at this point in the history
Loading