-
Notifications
You must be signed in to change notification settings - Fork 100
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
Create generic getunclaimedgas and rename wallet ones #243
Conversation
Great! |
HI @nicolegys, I am not sure. I thought about SmartContract because GAS is now a |
Ready to merge? |
@vncoelho Hi Vitor, maybe we could move |
* Create generic getunclaimedgas and rename wallet ones * Throw exception
* rename neo-project/neo-modules#243 * update related files Co-authored-by: celiayu <[email protected]>
* Create generic getunclaimedgas and rename wallet ones * Throw exception
* add SimplePolicy * add ApplicationLogs * use leveldb in ApplicationLogs * update dependency: Neo v3.0.0-preview2-04 Close #1 * Logging in millisecs After change to Akka consensus in NEO 3.0, it's so fast that seconds do not mean much anymore.. now milliseconds is important to actually know of what is going on the consensus algorithm. * remove break statement from FilterFree * Fix Priority Fee Transactions being treated as Free (#4) * add RpcDisabled * add StatesDumper * add ImportBlocks (#7) * `yield break` when the height of the imported block reaches the limit * detect recursive references in ApplicationLogs * exporting blocks in plugin * copy config.json to output directory automatically * v2.9.0 (#9) * fix SimplePolicyPlugin * fix neo-project/neo#395 * Rpc Basic Auth (#14) * Rpc Basic Auth * change plugin name to RpcSecurity * Including number of dumped states (#17) * Including number of dumped states * Update StatesDumper/StatesDumper.cs Co-Authored-By: vncoelho <[email protected]> * Readme (#18) * misspelling (#26) * Help for Plugins (#28) * Transaction size plugin (#10) * Update packages reference (#22) * Basic unit test structure for SimplePolicyPlugin (#25) * Persitence Plugin for exporting storage changes (#21) * Persitence Plugin first draft * Fixing some compiling problems. Trackable is still not found in the local scope. * Minnor changes. Trackable still not found * Fixing all compiling errors and Trackable * Fixing StorageKey and Item get values * Switch case Persist Action and fixing Storage export * Adding Height To Being * Moving plugin to StatesDumper * minnor comments * remove StatesDumper.sln * format * remove `Settings.BlockStorageCache` * add `PersistActions` * v2.9.3 (#31) * Update packages reference * Fix claim (#34) * v2.9.4 * Expose the max TX per block and max low priority TX per block. (neo-project#37) * Ensure PoW correct order for TXs tiebreakers (neo-project#38) * Ensure PoW correct order for TXs tiebreakers * ThenByAscending for Hash * Expose HighPriorityTxType (neo-project#39) * Expose HighPriorityTxType * HigherLowPriorityTxTypes * InHigherLowPriorityList * Modify missing InHigherLowPriorityList * Missing InHigherLowPriorityList * Use InHigherLowPriorityList and change to public * Clean * Clean II * Commit as the final step of persistence in StatesDumper (neo-project#40) * Support commit as the final step of persistence. * Update for new method . * OnCommitStorage * Adding tests and fixing typo (neo-project#41) * Adding tests and fixing typo * adding random attribute to claim * unit tests for hash compare * Creating Travis CI for neo-plugins (neo-project#42) * Including PreProcess and PostProcess functions (neo-project#46) * Including PreProcess and PostProcess functions * Adding pre-post to RpcSecurity * Fix missing public declaration (neo-project#48) * Add RpcWallet (neo-project#44) * Add RpcWallet * Add `importprivkey` * Add `from` parameter to `sendmany` * Add `getunclaimedgas` * Add `claimgas` * Add reference: Neo 2.10.0 * Fix `importprivkey` * Add plugin for NEP5 balances and transfer history (Persistence + RPC) (neo-project#43) * Check authentication during pre-processing. (neo-project#54) * v2.10.0 * Fix memory leak of LevelDB snapshots. (neo-project#57) * Use IPersistencePlugin and batch Application Log writes. (neo-project#62) * Fix sizes for RpcNep5Tracker (neo-project#67) * Plugin CoreMetrics (neo-project#68) * Plugin coreMetrics. * Organize project files * metric prefix * Make calculation for extra gas on "send*" RPC (neo-project#70) * Make calculation for extra gas on "send*" RPC * Fix for the calculation when little overstep * Add Max_Fee as the optional for gas limit. (neo-project#74) * Make calculation for extra gas on "send*" RPC (neo-project#70) * Make calculation for extra gas on "send*" RPC * Fix for the calculation when little overstep * Delete the dependency which is for testing purpose * Choose the max_fee between fee and extra_fee * Change error codes * Update Settings.cs * format * Add `NuGet.Config` * fix size calculation (neo-project#75) * Add Plugin for UTXO tracking by account. (neo-project#65) * Add Plugin for UTXO tracking by account. * Rename RpcSystemAssetPlugin -> RpcSystemAssetTracker. * Accept address or script hash. * Remove unnecessary white space. * Update project ref to Neo 2.10.1-CI00002. * Ensure consistency in case of crash or kill. * Fix setting lastPersistedBlock after each block is persisted. * Performance optimization: Don't write block number for empty blocks. * Optimize. * Add support for tracking unclaimed spent outputs. * Provide getclaimable RPC call for getting available claim spent outputs. * Clean-up. * Don't leak memory. * Implement getclaimable to get get total unclaimed amount for an address. * Remove unnecessary comment. * Fix size of UserSystemAssetCoinOutputs. Remove unused using statement. * Reload max utxo's from configuration if it changes. * Upgrade dependency * Fix .sln for neo-project#65 * Updating Readme information (neo-project#76) * Fixes `ImportBlocks` for Neo 2.10.1 (neo-project#78) * v2.10.1 * Properly stop importing blocks on system shutdown. (neo-project#66) * RpcNep5Tracker: Handle NEP5 transfers to/from null & limit max results (neo-project#71) * Handle NEP5 transfers to/from null. * Add support for tracking tokens using non-standard mintToken event. * Implement maximum results to return for transfer history. * Make whether to support tracking null address history configurable. Default to false. * Better input validation * Support tracking non-standard mintTokens event, but default to off. * Small optimization (neo-project#82) * Updating travis (neo-project#84) * Fix output json for multisigaddress transaction (neo-project#86) * Fix output json for multisigaddress transaction Fix output json for multisigaddress transaction * format * format * Fix the height to end with (neo-project#88) * Fix-heightToEnd * Minor fix and comment * Minor fix on storage state dumper parameter HeightToStartRealTimeSyncing (neo-project#91) * Minor fix on storage state dumper parameter HeightToStartRealTimeSyncing * Update StatesDumper/StatesDumper.cs Co-Authored-By: vncoelho <[email protected]> * Prevent exceed the height (neo-project#92) * Update CoreMetrics.cs I think that it could be exceeded the max height using the `lastHeight` parameter * Update CoreMetrics.cs * v2.10.2 (neo-project#96) * Update CoreMetrics.cs (neo-project#94) * Update dependency: Neo v3.0.0-CI00044 (neo-project#98) * Updating README - Removing Asset Tracker plugin (neo-project#104) Removing description of asset tracker plugin from NEO 3.0 plugins readme * Prevent DoS with wrong files (neo-project#81) * Prevent DoS with wrong files * Constant * Throw exception * Clean * Fixing uint to ulong for some plugins due to seconds to ms change (neo-project#107) * Fixing uint to ulong for some plugins * Removing .sln files * Updating nuget to more recent daily build * Removing SimplePolicy plugin (neo-project#110) * Clean SimplePolicy * Removing travis * Completely removing SimplePolicy * Updating readme * Re-adding travis * Dotnet restore on Travis * Cleaning .sln * Cleaning SP-UT * SystemLog plugin (neo-project#117) * CI00151 (neo-project#111) * Remove `mintTokens` from RpcNep5Tracker * Fixes deadlock in RpcNep5Tracker (neo-project#128) * Updating README with RPC Wallet and SystemLog (neo-project#126) * Fix RpcNep5Tracker (neo-project#125) * Fixes output of `getbalance` (neo-project#132) * Fix/memory (neo-project#135) * use Singleton.Store.GetBlock optimize memory cause * refactor * v3.0.0-preview1 (neo-project#136) * Update to v3.0.0-preview1 * update version number * Fix cell on maxNBlocksPerDay (3.X) (neo-project#142) * Fix cell on maxNBlocksPerDay uint (86400/15000*10000) equals 5000 but not 5760 because ```maxNBlocksPerDay``` is uint but not float. * Delete incoverable code Delete incoverable code since unint can't be <0,. For example: uint(-1) = uint 4294967295. * Fix nBlocks == 0 Fix nBlocks == 0 * Upgrade dependencies and target frameworks (neo-project#147) * Upgrade dependencies and target frameworks * Update .travis.yml * IStorage (neo-project#148) * Fix UT (neo-project#149) * Update RpcNep5Tracker/RpcNep5Tracker.cs Co-Authored-By: Erik Zhang <[email protected]> * Update RpcNep5Tracker/RpcNep5Tracker.cs Co-Authored-By: Erik Zhang <[email protected]> * Update RpcNep5Tracker/RpcNep5Tracker.cs Co-Authored-By: Erik Zhang <[email protected]> * Remove Travis and use Github Actions (neo-project#151) * Fix SystemLog * Add LevelDBStore (neo-project#150) * Neo v3.0.0-CI00817 * Fix leveldb (neo-project#153) * Fix ApplicationLog (neo-project#154) * Dispose ApplicationEngine after using (neo-project#156) * RocksDb storage plugin (neo-project#144) * RocksDb plugin * Update IStoragePlugin.cs * Clean name * Refactor as IStore * Remove Helper * Reorder * Remove IStorage * Reduce sln changes * sln bom * Clean and optimize * Update nuget * Create and cache only families if are used * Rename namespaces * Rename classes * 3.0 version * Format * Rename the directory * SetSync * Remove the DbOptions wrapper * Update Options.cs * Remove RocksDBCore * Remove ColumnFamily.cs * Rename RocksDbSnapshot to Snapshot * Add config.json * Update RocksDBStore.csproj * Add storage UT * Fix RocksDb * Update dotnetcore.yml * Update dotnetcore.yml * Copy fix leveldb * Remove test * Remove comment * Fix the fix * Fix Clear method * Some changes * Fix sln * Update dotnetcore.yml * sudo apt * add leveldb * Update dotnetcore.yml * Fix Dispose and add UT * Clean using * Optimize LevelDB init * Move projects to src (neo-project#159) * Remove ImportBlocks (neo-project#161) * Update .sln * Rename tests * Add RpcClient (neo-project#163) * Remove CoreMetrics (neo-project#164) * Coveralls (neo-project#165) * Add RpcServer (neo-project#160) * Update README.md (neo-project#146) * Update NuGet versions of all modules (neo-project#174) * Update-package-rpc-client * Update nuget * Update Crypto.ECDsaVerify * Update TransactionManager.cs * Some fixes * Change from public to protected as in level db (neo-project#177) * Change from public to protected as in level db * Update RocksDBStore.csproj Co-authored-by: Shargon <[email protected]> * Update neo nuget * change network fee calculation (neo-project#178) * change network fee calculation * update to CI00847 * fix fee issue * add UT for network fee * Update versions * Update src/RpcClient/TransactionManager.cs Co-authored-by: Shargon <[email protected]> Co-authored-by: Krain Chen <[email protected]> * Rpc limits (3x) (neo-project#172) * Add some limits to rpc * Updating to peer and comments * Allow to configure MaxConcurrentConnections * Enter Co-authored-by: Vitor Nazário Coelho <[email protected]> * update readme (neo-project#169) * update readme * more details for rpc-related plugins * desc for plugin dependency * add logo * Improvement Improvement * Delete --log Delete --log * Format Format * Minor changes * Adding note about NEP5 functionalities * Updating with RpcServer * Fix Fix * Format Format * Remove StorageEngine Remove StorageEngine Co-authored-by: Owen Zhang <[email protected]> Co-authored-by: Vitor Nazário Coelho <[email protected]> Co-authored-by: Shargon <[email protected]> * dotnet-format (neo-project#185) * Fix * Fix * Add dotnet format version * Fix version * Update main.yml * Update main.yml * Update main.yml * Fix RpcServer[GetStorage] (neo-project#183) * Fix RpcServer.Blockchain.cs[GetStorage], using id to be key. * Accept id and hash Co-authored-by: Shargon <[email protected]> * Update Neo nuget to 3.0.0-CI00855 (neo-project#186) * Update Neo nuget to 3.0.0-CI00855 * update update * fix balance not change for non-transfer tx (neo-project#181) * fix balance not change for non-transfer tx * deal with gas burn seperately * remove conversion to null * check stackitem null * Fix IsNull * Remove nullable * Use constant * PR correction * modify check statement * bug ifix * send stackitem.null * not tracker non-tx transfer history * format * format * add check for invalid address Co-authored-by: Shargon <[email protected]> * adapt RpcClient to modules (neo-project#171) * adapt RpcClient to modules * fix json issue * fix size calculate * Fix getnep5balances name issue * add wallet rpc methods, reconstruct rpc UT * PR correction * move models to rpc server * delete models from rpcclient * change plugins with model * format names * move models back to rpc client * fix build error * change test file * auto calculate network fee, update version * format code * fix issue #1416 Deal with ContractParameterType.Any * change GetStorage parameter to enable id query * add test for issue #1416 * PR correction * use snake_case in json * update neo version * Update src/RpcClient/RpcClient.cs Co-Authored-By: Shargon <[email protected]> * Update src/RpcClient/RpcClient.cs Co-Authored-By: Shargon <[email protected]> * PR correction * update neo version Co-authored-by: Vitor Nazário Coelho <[email protected]> Co-authored-by: Nicole <[email protected]> Co-authored-by: Shargon <[email protected]> * Deal with contract destory (neo-project#196) * deal with contract destory * remove delete key * Remove GetBlockSysFee (neo-project#199) * remove GetSysFeeAmount in rpcserver * remove getblocksysfee in rpcclient * fix ut Co-authored-by: Vitor Nazário Coelho <[email protected]> * ByteArray -> ByteString (neo-project#215) * Change module command (neo-project#187) * change command * Change comment * Add nuget * Update StatesDumper.cs * Fix RelayResult issue (neo-project#220) * Add CheckWitness to func invokefunction (neo-project#214) * remove round up sysfee (neo-project#219) Co-authored-by: Vitor Nazário Coelho <[email protected]> * Enable programmatic configuration of RpcServer plugin (neo-project#206) * seperate out plugin from rpcServer functionality * Update src/RpcServer/RpcServer.cs * CR Feedback * fix encoding * fix build break Co-authored-by: Harry Pierson <[email protected]> Co-authored-by: Shargon <[email protected]> * Fix SystemLog (neo-project#222) * Update and consolidate nugets (neo-project#194) * add multi-sig-transfer (neo-project#213) * Update nugets (neo-project#226) * Add StackItem ToJson (neo-project#221) * Override RpcServerPlugin's name (neo-project#235) * Fix RpcServer RegisterMethods (neo-project#239) * Fix RpcServer RegisterMethods * Update RpcServerPlugin.cs OnPluginsLoaded() will do RegisterMethods * Update nugets (neo-project#233) * Close 232 * Sync to the latest neo. * Fix UT * Deal with exceptions * Use last version * Fix compilation * Fix RPC module UTs. Co-authored-by: superboyiii <[email protected]> Co-authored-by: zhuoqian <[email protected]> Co-authored-by: Owen Zhang <[email protected]> * Allow to share logs in read mode (neo-project#240) * Allow to share logs in read mode * Catch exception * Update Logger.cs * format format Co-authored-by: Owen Zhang <[email protected]> * Create generic getunclaimedgas and rename wallet ones (neo-project#243) * Create generic getunclaimedgas and rename wallet ones * Throw exception * fix relay tx (neo-project#249) * add issue template (neo-project#250) * delete systemlog plugin (neo-project#246) Co-authored-by: Shargon <[email protected]> * Add plugin desc and fix ut (neo-project#257) * add plugin desc and sync neo-core * format Co-authored-by: Vitor Nazário Coelho <[email protected]> * Convert StackItem directly to json (neo-project#264) * Change json field names for GetVersion (neo-project#262) Co-authored-by: Shargon <[email protected]> * remove system log (neo-project#272) * Neo.VM.3.0.0-CI00958 (neo-project#274) * fix * fix event * CI00958 Co-authored-by: Luchuan <[email protected]> Co-authored-by: Erik Zhang <[email protected]> * Add EventName to NotifyEventArgs (neo-project#267) * Add EventName to NotifyEventArgs * Update UT cases * Change to all lower case * Fix UTs * Fix format * Fix format again * Replace db.Find by db.Seek (neo-project#279) * replace find by seek * add db.seek * fix * format Co-authored-by: Luchuan <[email protected]> * Add a generic GetUnclaimedGas() in RpcClient (neo-project#273) * Add GetUnclaimedGas() in RpcClient and UT * Fix format * Update tests/Neo.Network.RPC.Tests/RpcTestCases.json Co-authored-by: Luchuan <[email protected]> Co-authored-by: Shargon <[email protected]> * Fix seek (neo-project#281) * fix seek * move Helper method * Update Helper.cs Co-authored-by: Luchuan <[email protected]> * Change json fields to all lower case for consistency (neo-project#277) * Change json field names for GetVersion * Change json fields to snake case for consistency * Change json fields to all lower case * Fix UTs. * rename * Add back GetUnclaimedGas() * Remove "_" in RpcNep5Tracker.cs * Remove underscore line Co-authored-by: Shargon <[email protected]> Co-authored-by: Luchuan <[email protected]> * fix add signature in invokefunction and invokescript (neo-project#280) * fix add signature in invokefunction and invokescript * Update RpcServer.SmartContract.cs * rename * fix format * add exception if wallet or cosigners is null * Set the default tx to null Co-authored-by: Shargon <[email protected]> * update nuget (neo-project#283) * update nuget * remove GasFree * resolve conflict Co-authored-by: Owen Zhang <[email protected]> * update IStorageProvider (neo-project#285) * update signers for invokefunction and invokescript (neo-project#286) * update signers for invokefunction and invokescript * fix format * Validate signer format Co-authored-by: Shargon <[email protected]> * Add BloomFilter to levelDB (neo-project#253) * Add BloomFilter to levelDB * Code optimization * Code optimization * Optimize bloomfilter bits per key value * Hard-code bloomfilter bitsPeyKey to 15 * Code optimization Co-authored-by: Jin Qiao <[email protected]> Co-authored-by: Shargon <[email protected]> Co-authored-by: Erik Zhang <[email protected]> * Solve workflow conflict (neo-project#294) * Solve workflow conflict Solve workflow conflict from master-2.x and master * Update main.yml Apply neo-project/neo#1775 Co-authored-by: Shargon <[email protected]> * update InvokeFunction (neo-project#295) * Fix db.Seek (neo-project#291) * add db.seek ut * fix db.seek * remove ByteArrayCompare Co-authored-by: Luchuan <[email protected]> Co-authored-by: Shargon <[email protected]> * update RpcClient (neo-project#296) * update RpcClient * fix sln * fix format * fix format Co-authored-by: Owen Zhang <[email protected]> * Add Utility.StackItemFromJson (neo-project#302) * fix invoke tojson * add StackItemFromJson * optimize code * remove src/RpcClientTests/UtilityTests.cs Co-authored-by: Luchuan <[email protected]> * Merge Preview3 to Master (neo-project#307) * Add Utility.StackItemFromJson (neo-project#302) (neo-project#303) * fix invoke tojson * add StackItemFromJson * optimize code * remove src/RpcClientTests/UtilityTests.cs Co-authored-by: Luchuan <[email protected]> Co-authored-by: Luchuan <[email protected]> Co-authored-by: Luchuan <[email protected]> * update to preview3 (neo-project#305) Co-authored-by: Luchuan <[email protected]> Co-authored-by: Luchuan <[email protected]> * fix neo-project#312 (neo-project#319) * Allow to try to repair leveldb before opening (neo-project#322) * update applicationLogs serialization (neo-project#321) * Remove old bug (neo-project#331) * Optimize RocksDb startup (neo-project#333) * Fix RocksDb (neo-project#332) * Add Getcommittee (neo-project#342) * update signers and add sender for rpc api (neo-project#309) * Optimize the result of 'getnep5transfers' (neo-project#345) * Update RpcNep5Tracker.cs * Update RpcNep5Tracker.cs Co-authored-by: Erik Zhang <[email protected]> * Allow querying contracts by name (neo-project#340) * Update dependencies (neo-project#338) * Neo 3.0.0-CI01036 (neo-project#353) * upgrade neo-core * Add statesdumper Co-authored-by: Shargon <[email protected]> * Replace getvalidators by getnextblockvalidators (neo-project#366) * Pure async RpcClient (neo-project#335) * compiling, some stuff stubbed out * more tests working * MakeTxContext * mistake in GetBlock/GetBlockHeader * rework TransactionManager to be closer to original * more unit tests (2 still failing) * remove assertEx * Add ThrowsAsync comment * ReturnsAsync * fixed last remaining test issues * minor TXManager cleanup * formatting * move tx contruction to MakeTransaction * discards * Async Suffixes (PR feedback) * GetCommitteeAsync * add custom magic support to tx manager * fix format * add magic param comment * CR Feedback * Clean enter Co-authored-by: Harry <[email protected]> Co-authored-by: Shargon <[email protected]> * Add `magic` field in getversion (neo-project#363) * add magic field in getversion * fix rpc client * fix * Fix validateaddress (neo-project#365) * fix validateaddress * apply recommendation Co-authored-by: Owen Zhang <[email protected]> * Allow rpc method can be overrided (neo-project#367) * allow rpc method can be overrided * change to protected virtual * set DummyWallet private * Update src/RpcServer/RpcServer.SmartContract.cs Co-authored-by: Shargon <[email protected]> Co-authored-by: Shargon <[email protected]> Co-authored-by: Owen Zhang <[email protected]> * Update RpcServer.Utilities.cs (neo-project#374) * add null check for transferaddress (neo-project#373) * add null check for transferaddress * add ut * fix ut * fix format * fix * merge master Co-authored-by: Owen Zhang <[email protected]> * invoke* use base64 script (neo-project#362) * invoke* use base64 script * fix rpc client * fix ut * fix validateaddress * fix ut * revert * fix ProcessInvokeWithWallet Co-authored-by: Owen Zhang <[email protected]> * Remove sender from invoke method (neo-project#368) * remove sender from invoke method * fix * format Co-authored-by: Owen Zhang <[email protected]> * Add `exception` field in invokeresult (neo-project#364) * add exception field in invokeresult * fix rpc client * fix * fix show exception message * fix * fix * fix: add try-catch for processInvokeWithWallet * fix * apply * trigger github action * Singers * fix Co-authored-by: Owen Zhang <[email protected]> * [RpcClient] Optimization code. (neo-project#372) * optimization code * conflict resolution 2 * conflict resolution 3 * update * Update RpcApplicationLog.cs * Update RpcBlock.cs * Update RpcBlockHeader.cs * Optimize return Co-authored-by: Shargon <[email protected]> Co-authored-by: Owen Zhang <[email protected]> * [RpcClient] Add processing of Any type to StackItemFromJson method. (neo-project#371) * Update Utility.cs * Update RpcTestCases.json * update Co-authored-by: Owen Zhang <[email protected]> * Fix script convert in MakeTransaction(). (neo-project#382) * Use Base64String on response of getrawtransaction (neo-project#383) Use Base64String on response of getrawtransaction * Unify to base64 (neo-project#384) * Update RpcServer.SmartContract.cs (neo-project#386) According to neo-project#368 (comment) * [RpcClient] Policy API mismatch (neo-project#388) * fixed-bug-1021 * Update src/RpcServer/RpcServer.SmartContract.cs * 😂 * NEO3: RPC client Policy API mismatch * update * update * update * UT * Format Co-authored-by: Shargon <[email protected]> Co-authored-by: Owen Zhang <[email protected]> * [Sync to master] Unify base64 (neo-project#397) * Unify base64 in SendRawTransaction and SubmitBlock * fix GetRpcName() in GetWalletBalanceAsync * add SubmitBlock * add ProcessInvokeWithWallet * Modify container in GetInvokeResult method (neo-project#390) * fixed-bug-1021 * Update src/RpcServer/RpcServer.SmartContract.cs * 😂 * Modify container in GetInvokeResult method * . * Update src/RpcServer/RpcServer.SmartContract.cs Co-authored-by: cloud8little <[email protected]> Co-authored-by: Shargon <[email protected]> Co-authored-by: cloud8little <[email protected]> * trigger type for getapplicationlog (neo-project#380) * fixed-bug-1021 * Update src/RpcServer/RpcServer.SmartContract.cs * 😂 * Keeping up to date with neo * Keeping up to date with neo * Revert "Keeping up to date with neo" This reverts commit aa8e120. * Prevent create key if not null * dotnet format * Query application log via blockhash * update * Modifying the Json storage structure * Modifying the JSON storage structure 2 * Additional optional "trigger" parameter to getapplicationlog for clients to be able to get just one execution result for a block. * Re-run checks * StrictUTF8 * Update src/ApplicationLogs/LogReader.cs Co-authored-by: Luchuan <[email protected]> * Optimize Co-authored-by: Shargon <[email protected]> Co-authored-by: Luchuan <[email protected]> Co-authored-by: Vitor Nazário Coelho <[email protected]> Co-authored-by: Owen Zhang <[email protected]> * Update RpcApplicationLog.cs in RpcClient (neo-project#395) * fixed-bug-1021 * Update src/RpcServer/RpcServer.SmartContract.cs * 😂 * Update RpcApplicationLog.cs in RpcClient * update * Fixed UT * ??? * update * UT Co-authored-by: Shargon <[email protected]> Co-authored-by: Owen Zhang <[email protected]> Co-authored-by: superboyiii <[email protected]> * Update LogReader.cs (neo-project#401) * Update LogReader.cs * update * [RpcServer] Update RpcServer.SmartContract.cs (neo-project#400) * Update RpcServer.SmartContract.cs * Update src/RpcServer/RpcServer.SmartContract.cs Co-authored-by: Shargon <[email protected]> * update Co-authored-by: Owen Zhang <[email protected]> Co-authored-by: Shargon <[email protected]> * use shared directory.build.props file (neo-project#403) * use shared directory.build.props file * Update src/LevelDBStore/LevelDBStore.csproj Co-authored-by: Erik Zhang <[email protected]> * Update src/RocksDBStore/RocksDBStore.csproj Co-authored-by: Erik Zhang <[email protected]> * Update src/RocksDBStore/RocksDBStore.csproj Co-authored-by: Erik Zhang <[email protected]> * CR Feedback * Fix namespace Co-authored-by: Harry <[email protected]> Co-authored-by: Erik Zhang <[email protected]> Co-authored-by: Harry Pierson <[email protected]> * create helper applog JSON functions for reuse in neo-express (neo-project#402) * create helper applog JSON functions for reuse in neo-express * Update LogReader.cs (neo-project#401) * Update LogReader.cs * update Co-authored-by: Harry <[email protected]> Co-authored-by: erikzhang <[email protected]> Co-authored-by: Igor Machado Coelho <[email protected]> Co-authored-by: hal0x2328 <[email protected]> Co-authored-by: f27d <[email protected]> Co-authored-by: belane <[email protected]> Co-authored-by: Vitor Nazário Coelho <[email protected]> Co-authored-by: Ricardo Prado <[email protected]> Co-authored-by: jsolman <[email protected]> Co-authored-by: Shargon <[email protected]> Co-authored-by: Owen Zhang <[email protected]> Co-authored-by: zhangtao <[email protected]> Co-authored-by: Celia18305 <[email protected]> Co-authored-by: Krain Chen <[email protected]> Co-authored-by: cn1010 <[email protected]> Co-authored-by: Nicole <[email protected]> Co-authored-by: cn1010 <[email protected]> Co-authored-by: Qiao Jin <[email protected]> Co-authored-by: Harry Pierson <[email protected]> Co-authored-by: Harry Pierson <[email protected]> Co-authored-by: ZhangHaoqiang <[email protected]> Co-authored-by: superboyiii <[email protected]> Co-authored-by: zhuoqian <[email protected]> Co-authored-by: Luchuan <[email protected]> Co-authored-by: Luchuan <[email protected]> Co-authored-by: joeqian <[email protected]> Co-authored-by: cloud8little <[email protected]> Co-authored-by: Jin Qiao <[email protected]> Co-authored-by: Harry Pierson <[email protected]>
* add SimplePolicy * add ApplicationLogs * use leveldb in ApplicationLogs * update dependency: Neo v3.0.0-preview2-04 Close #1 * Logging in millisecs After change to Akka consensus in NEO 3.0, it's so fast that seconds do not mean much anymore.. now milliseconds is important to actually know of what is going on the consensus algorithm. * remove break statement from FilterFree * Fix Priority Fee Transactions being treated as Free (#4) * add RpcDisabled * add StatesDumper * add ImportBlocks (#7) * `yield break` when the height of the imported block reaches the limit * detect recursive references in ApplicationLogs * exporting blocks in plugin * copy config.json to output directory automatically * v2.9.0 (#9) * fix SimplePolicyPlugin * fix neo-project/neo#395 * Rpc Basic Auth (#14) * Rpc Basic Auth * change plugin name to RpcSecurity * Including number of dumped states (#17) * Including number of dumped states * Update StatesDumper/StatesDumper.cs Co-Authored-By: vncoelho <[email protected]> * Readme (#18) * misspelling (#26) * Help for Plugins (#28) * Transaction size plugin (#10) * Update packages reference (#22) * Basic unit test structure for SimplePolicyPlugin (#25) * Persitence Plugin for exporting storage changes (#21) * Persitence Plugin first draft * Fixing some compiling problems. Trackable is still not found in the local scope. * Minnor changes. Trackable still not found * Fixing all compiling errors and Trackable * Fixing StorageKey and Item get values * Switch case Persist Action and fixing Storage export * Adding Height To Being * Moving plugin to StatesDumper * minnor comments * remove StatesDumper.sln * format * remove `Settings.BlockStorageCache` * add `PersistActions` * v2.9.3 (#31) * Update packages reference * Fix claim (#34) * v2.9.4 * Expose the max TX per block and max low priority TX per block. (neo-project#37) * Ensure PoW correct order for TXs tiebreakers (neo-project#38) * Ensure PoW correct order for TXs tiebreakers * ThenByAscending for Hash * Expose HighPriorityTxType (neo-project#39) * Expose HighPriorityTxType * HigherLowPriorityTxTypes * InHigherLowPriorityList * Modify missing InHigherLowPriorityList * Missing InHigherLowPriorityList * Use InHigherLowPriorityList and change to public * Clean * Clean II * Commit as the final step of persistence in StatesDumper (neo-project#40) * Support commit as the final step of persistence. * Update for new method . * OnCommitStorage * Adding tests and fixing typo (neo-project#41) * Adding tests and fixing typo * adding random attribute to claim * unit tests for hash compare * Creating Travis CI for neo-plugins (neo-project#42) * Including PreProcess and PostProcess functions (neo-project#46) * Including PreProcess and PostProcess functions * Adding pre-post to RpcSecurity * Fix missing public declaration (neo-project#48) * Add RpcWallet (neo-project#44) * Add RpcWallet * Add `importprivkey` * Add `from` parameter to `sendmany` * Add `getunclaimedgas` * Add `claimgas` * Add reference: Neo 2.10.0 * Fix `importprivkey` * Add plugin for NEP5 balances and transfer history (Persistence + RPC) (neo-project#43) * Check authentication during pre-processing. (neo-project#54) * v2.10.0 * Fix memory leak of LevelDB snapshots. (neo-project#57) * Use IPersistencePlugin and batch Application Log writes. (neo-project#62) * Fix sizes for RpcNep5Tracker (neo-project#67) * Plugin CoreMetrics (neo-project#68) * Plugin coreMetrics. * Organize project files * metric prefix * Make calculation for extra gas on "send*" RPC (neo-project#70) * Make calculation for extra gas on "send*" RPC * Fix for the calculation when little overstep * Add Max_Fee as the optional for gas limit. (neo-project#74) * Make calculation for extra gas on "send*" RPC (neo-project#70) * Make calculation for extra gas on "send*" RPC * Fix for the calculation when little overstep * Delete the dependency which is for testing purpose * Choose the max_fee between fee and extra_fee * Change error codes * Update Settings.cs * format * Add `NuGet.Config` * fix size calculation (neo-project#75) * Add Plugin for UTXO tracking by account. (neo-project#65) * Add Plugin for UTXO tracking by account. * Rename RpcSystemAssetPlugin -> RpcSystemAssetTracker. * Accept address or script hash. * Remove unnecessary white space. * Update project ref to Neo 2.10.1-CI00002. * Ensure consistency in case of crash or kill. * Fix setting lastPersistedBlock after each block is persisted. * Performance optimization: Don't write block number for empty blocks. * Optimize. * Add support for tracking unclaimed spent outputs. * Provide getclaimable RPC call for getting available claim spent outputs. * Clean-up. * Don't leak memory. * Implement getclaimable to get get total unclaimed amount for an address. * Remove unnecessary comment. * Fix size of UserSystemAssetCoinOutputs. Remove unused using statement. * Reload max utxo's from configuration if it changes. * Upgrade dependency * Fix .sln for neo-project#65 * Updating Readme information (neo-project#76) * Fixes `ImportBlocks` for Neo 2.10.1 (neo-project#78) * v2.10.1 * Properly stop importing blocks on system shutdown. (neo-project#66) * RpcNep5Tracker: Handle NEP5 transfers to/from null & limit max results (neo-project#71) * Handle NEP5 transfers to/from null. * Add support for tracking tokens using non-standard mintToken event. * Implement maximum results to return for transfer history. * Make whether to support tracking null address history configurable. Default to false. * Better input validation * Support tracking non-standard mintTokens event, but default to off. * Small optimization (neo-project#82) * Updating travis (neo-project#84) * Fix output json for multisigaddress transaction (neo-project#86) * Fix output json for multisigaddress transaction Fix output json for multisigaddress transaction * format * format * Fix the height to end with (neo-project#88) * Fix-heightToEnd * Minor fix and comment * Minor fix on storage state dumper parameter HeightToStartRealTimeSyncing (neo-project#91) * Minor fix on storage state dumper parameter HeightToStartRealTimeSyncing * Update StatesDumper/StatesDumper.cs Co-Authored-By: vncoelho <[email protected]> * Prevent exceed the height (neo-project#92) * Update CoreMetrics.cs I think that it could be exceeded the max height using the `lastHeight` parameter * Update CoreMetrics.cs * v2.10.2 (neo-project#96) * Update CoreMetrics.cs (neo-project#94) * Update dependency: Neo v3.0.0-CI00044 (neo-project#98) * Updating README - Removing Asset Tracker plugin (neo-project#104) Removing description of asset tracker plugin from NEO 3.0 plugins readme * Prevent DoS with wrong files (neo-project#81) * Prevent DoS with wrong files * Constant * Throw exception * Clean * Fixing uint to ulong for some plugins due to seconds to ms change (neo-project#107) * Fixing uint to ulong for some plugins * Removing .sln files * Updating nuget to more recent daily build * Removing SimplePolicy plugin (neo-project#110) * Clean SimplePolicy * Removing travis * Completely removing SimplePolicy * Updating readme * Re-adding travis * Dotnet restore on Travis * Cleaning .sln * Cleaning SP-UT * SystemLog plugin (neo-project#117) * CI00151 (neo-project#111) * Remove `mintTokens` from RpcNep5Tracker * Fixes deadlock in RpcNep5Tracker (neo-project#128) * Updating README with RPC Wallet and SystemLog (neo-project#126) * Fix RpcNep5Tracker (neo-project#125) * Fixes output of `getbalance` (neo-project#132) * Fix/memory (neo-project#135) * use Singleton.Store.GetBlock optimize memory cause * refactor * v3.0.0-preview1 (neo-project#136) * Update to v3.0.0-preview1 * update version number * Fix cell on maxNBlocksPerDay (3.X) (neo-project#142) * Fix cell on maxNBlocksPerDay uint (86400/15000*10000) equals 5000 but not 5760 because ```maxNBlocksPerDay``` is uint but not float. * Delete incoverable code Delete incoverable code since unint can't be <0,. For example: uint(-1) = uint 4294967295. * Fix nBlocks == 0 Fix nBlocks == 0 * Upgrade dependencies and target frameworks (neo-project#147) * Upgrade dependencies and target frameworks * Update .travis.yml * IStorage (neo-project#148) * Fix UT (neo-project#149) * Update RpcNep5Tracker/RpcNep5Tracker.cs Co-Authored-By: Erik Zhang <[email protected]> * Update RpcNep5Tracker/RpcNep5Tracker.cs Co-Authored-By: Erik Zhang <[email protected]> * Update RpcNep5Tracker/RpcNep5Tracker.cs Co-Authored-By: Erik Zhang <[email protected]> * Remove Travis and use Github Actions (neo-project#151) * Fix SystemLog * Add LevelDBStore (neo-project#150) * Neo v3.0.0-CI00817 * Fix leveldb (neo-project#153) * Fix ApplicationLog (neo-project#154) * Dispose ApplicationEngine after using (neo-project#156) * RocksDb storage plugin (neo-project#144) * RocksDb plugin * Update IStoragePlugin.cs * Clean name * Refactor as IStore * Remove Helper * Reorder * Remove IStorage * Reduce sln changes * sln bom * Clean and optimize * Update nuget * Create and cache only families if are used * Rename namespaces * Rename classes * 3.0 version * Format * Rename the directory * SetSync * Remove the DbOptions wrapper * Update Options.cs * Remove RocksDBCore * Remove ColumnFamily.cs * Rename RocksDbSnapshot to Snapshot * Add config.json * Update RocksDBStore.csproj * Add storage UT * Fix RocksDb * Update dotnetcore.yml * Update dotnetcore.yml * Copy fix leveldb * Remove test * Remove comment * Fix the fix * Fix Clear method * Some changes * Fix sln * Update dotnetcore.yml * sudo apt * add leveldb * Update dotnetcore.yml * Fix Dispose and add UT * Clean using * Optimize LevelDB init * Move projects to src (neo-project#159) * Remove ImportBlocks (neo-project#161) * Update .sln * Rename tests * Add RpcClient (neo-project#163) * Remove CoreMetrics (neo-project#164) * Coveralls (neo-project#165) * Add RpcServer (neo-project#160) * Update README.md (neo-project#146) * Update NuGet versions of all modules (neo-project#174) * Update-package-rpc-client * Update nuget * Update Crypto.ECDsaVerify * Update TransactionManager.cs * Some fixes * Change from public to protected as in level db (neo-project#177) * Change from public to protected as in level db * Update RocksDBStore.csproj Co-authored-by: Shargon <[email protected]> * Update neo nuget * change network fee calculation (neo-project#178) * change network fee calculation * update to CI00847 * fix fee issue * add UT for network fee * Update versions * Update src/RpcClient/TransactionManager.cs Co-authored-by: Shargon <[email protected]> Co-authored-by: Krain Chen <[email protected]> * Rpc limits (3x) (neo-project#172) * Add some limits to rpc * Updating to peer and comments * Allow to configure MaxConcurrentConnections * Enter Co-authored-by: Vitor Nazário Coelho <[email protected]> * update readme (neo-project#169) * update readme * more details for rpc-related plugins * desc for plugin dependency * add logo * Improvement Improvement * Delete --log Delete --log * Format Format * Minor changes * Adding note about NEP5 functionalities * Updating with RpcServer * Fix Fix * Format Format * Remove StorageEngine Remove StorageEngine Co-authored-by: Owen Zhang <[email protected]> Co-authored-by: Vitor Nazário Coelho <[email protected]> Co-authored-by: Shargon <[email protected]> * dotnet-format (neo-project#185) * Fix * Fix * Add dotnet format version * Fix version * Update main.yml * Update main.yml * Update main.yml * Fix RpcServer[GetStorage] (neo-project#183) * Fix RpcServer.Blockchain.cs[GetStorage], using id to be key. * Accept id and hash Co-authored-by: Shargon <[email protected]> * Update Neo nuget to 3.0.0-CI00855 (neo-project#186) * Update Neo nuget to 3.0.0-CI00855 * update update * fix balance not change for non-transfer tx (neo-project#181) * fix balance not change for non-transfer tx * deal with gas burn seperately * remove conversion to null * check stackitem null * Fix IsNull * Remove nullable * Use constant * PR correction * modify check statement * bug ifix * send stackitem.null * not tracker non-tx transfer history * format * format * add check for invalid address Co-authored-by: Shargon <[email protected]> * adapt RpcClient to modules (neo-project#171) * adapt RpcClient to modules * fix json issue * fix size calculate * Fix getnep5balances name issue * add wallet rpc methods, reconstruct rpc UT * PR correction * move models to rpc server * delete models from rpcclient * change plugins with model * format names * move models back to rpc client * fix build error * change test file * auto calculate network fee, update version * format code * fix issue #1416 Deal with ContractParameterType.Any * change GetStorage parameter to enable id query * add test for issue #1416 * PR correction * use snake_case in json * update neo version * Update src/RpcClient/RpcClient.cs Co-Authored-By: Shargon <[email protected]> * Update src/RpcClient/RpcClient.cs Co-Authored-By: Shargon <[email protected]> * PR correction * update neo version Co-authored-by: Vitor Nazário Coelho <[email protected]> Co-authored-by: Nicole <[email protected]> Co-authored-by: Shargon <[email protected]> * Deal with contract destory (neo-project#196) * deal with contract destory * remove delete key * Remove GetBlockSysFee (neo-project#199) * remove GetSysFeeAmount in rpcserver * remove getblocksysfee in rpcclient * fix ut Co-authored-by: Vitor Nazário Coelho <[email protected]> * ByteArray -> ByteString (neo-project#215) * Change module command (neo-project#187) * change command * Change comment * Add nuget * Update StatesDumper.cs * Fix RelayResult issue (neo-project#220) * Add CheckWitness to func invokefunction (neo-project#214) * remove round up sysfee (neo-project#219) Co-authored-by: Vitor Nazário Coelho <[email protected]> * Enable programmatic configuration of RpcServer plugin (neo-project#206) * seperate out plugin from rpcServer functionality * Update src/RpcServer/RpcServer.cs * CR Feedback * fix encoding * fix build break Co-authored-by: Harry Pierson <[email protected]> Co-authored-by: Shargon <[email protected]> * Fix SystemLog (neo-project#222) * Update and consolidate nugets (neo-project#194) * add multi-sig-transfer (neo-project#213) * Update nugets (neo-project#226) * Add StackItem ToJson (neo-project#221) * Override RpcServerPlugin's name (neo-project#235) * Fix RpcServer RegisterMethods (neo-project#239) * Fix RpcServer RegisterMethods * Update RpcServerPlugin.cs OnPluginsLoaded() will do RegisterMethods * Update nugets (neo-project#233) * Close 232 * Sync to the latest neo. * Fix UT * Deal with exceptions * Use last version * Fix compilation * Fix RPC module UTs. Co-authored-by: superboyiii <[email protected]> Co-authored-by: zhuoqian <[email protected]> Co-authored-by: Owen Zhang <[email protected]> * Allow to share logs in read mode (neo-project#240) * Allow to share logs in read mode * Catch exception * Update Logger.cs * format format Co-authored-by: Owen Zhang <[email protected]> * Create generic getunclaimedgas and rename wallet ones (neo-project#243) * Create generic getunclaimedgas and rename wallet ones * Throw exception * fix relay tx (neo-project#249) * add issue template (neo-project#250) * delete systemlog plugin (neo-project#246) Co-authored-by: Shargon <[email protected]> * Add plugin desc and fix ut (neo-project#257) * add plugin desc and sync neo-core * format Co-authored-by: Vitor Nazário Coelho <[email protected]> * Convert StackItem directly to json (neo-project#264) * Change json field names for GetVersion (neo-project#262) Co-authored-by: Shargon <[email protected]> * remove system log (neo-project#272) * Neo.VM.3.0.0-CI00958 (neo-project#274) * fix * fix event * CI00958 Co-authored-by: Luchuan <[email protected]> Co-authored-by: Erik Zhang <[email protected]> * Add EventName to NotifyEventArgs (neo-project#267) * Add EventName to NotifyEventArgs * Update UT cases * Change to all lower case * Fix UTs * Fix format * Fix format again * Replace db.Find by db.Seek (neo-project#279) * replace find by seek * add db.seek * fix * format Co-authored-by: Luchuan <[email protected]> * Add a generic GetUnclaimedGas() in RpcClient (neo-project#273) * Add GetUnclaimedGas() in RpcClient and UT * Fix format * Update tests/Neo.Network.RPC.Tests/RpcTestCases.json Co-authored-by: Luchuan <[email protected]> Co-authored-by: Shargon <[email protected]> * Fix seek (neo-project#281) * fix seek * move Helper method * Update Helper.cs Co-authored-by: Luchuan <[email protected]> * Change json fields to all lower case for consistency (neo-project#277) * Change json field names for GetVersion * Change json fields to snake case for consistency * Change json fields to all lower case * Fix UTs. * rename * Add back GetUnclaimedGas() * Remove "_" in RpcNep5Tracker.cs * Remove underscore line Co-authored-by: Shargon <[email protected]> Co-authored-by: Luchuan <[email protected]> * fix add signature in invokefunction and invokescript (neo-project#280) * fix add signature in invokefunction and invokescript * Update RpcServer.SmartContract.cs * rename * fix format * add exception if wallet or cosigners is null * Set the default tx to null Co-authored-by: Shargon <[email protected]> * update nuget (neo-project#283) * update nuget * remove GasFree * resolve conflict Co-authored-by: Owen Zhang <[email protected]> * update IStorageProvider (neo-project#285) * update signers for invokefunction and invokescript (neo-project#286) * update signers for invokefunction and invokescript * fix format * Validate signer format Co-authored-by: Shargon <[email protected]> * Add BloomFilter to levelDB (neo-project#253) * Add BloomFilter to levelDB * Code optimization * Code optimization * Optimize bloomfilter bits per key value * Hard-code bloomfilter bitsPeyKey to 15 * Code optimization Co-authored-by: Jin Qiao <[email protected]> Co-authored-by: Shargon <[email protected]> Co-authored-by: Erik Zhang <[email protected]> * Solve workflow conflict (neo-project#294) * Solve workflow conflict Solve workflow conflict from master-2.x and master * Update main.yml Apply neo-project/neo#1775 Co-authored-by: Shargon <[email protected]> * update InvokeFunction (neo-project#295) * Fix db.Seek (neo-project#291) * add db.seek ut * fix db.seek * remove ByteArrayCompare Co-authored-by: Luchuan <[email protected]> Co-authored-by: Shargon <[email protected]> * update RpcClient (neo-project#296) * update RpcClient * fix sln * fix format * fix format Co-authored-by: Owen Zhang <[email protected]> * Add Utility.StackItemFromJson (neo-project#302) * fix invoke tojson * add StackItemFromJson * optimize code * remove src/RpcClientTests/UtilityTests.cs Co-authored-by: Luchuan <[email protected]> * Merge Preview3 to Master (neo-project#307) * Add Utility.StackItemFromJson (neo-project#302) (neo-project#303) * fix invoke tojson * add StackItemFromJson * optimize code * remove src/RpcClientTests/UtilityTests.cs Co-authored-by: Luchuan <[email protected]> Co-authored-by: Luchuan <[email protected]> Co-authored-by: Luchuan <[email protected]> * update to preview3 (neo-project#305) Co-authored-by: Luchuan <[email protected]> Co-authored-by: Luchuan <[email protected]> * fix neo-project#312 (neo-project#319) * Allow to try to repair leveldb before opening (neo-project#322) * update applicationLogs serialization (neo-project#321) * Remove old bug (neo-project#331) * Optimize RocksDb startup (neo-project#333) * Fix RocksDb (neo-project#332) * Add Getcommittee (neo-project#342) * update signers and add sender for rpc api (neo-project#309) * Optimize the result of 'getnep5transfers' (neo-project#345) * Update RpcNep5Tracker.cs * Update RpcNep5Tracker.cs Co-authored-by: Erik Zhang <[email protected]> * Allow querying contracts by name (neo-project#340) * Update dependencies (neo-project#338) * Neo 3.0.0-CI01036 (neo-project#353) * upgrade neo-core * Add statesdumper Co-authored-by: Shargon <[email protected]> * Replace getvalidators by getnextblockvalidators (neo-project#366) * Pure async RpcClient (neo-project#335) * compiling, some stuff stubbed out * more tests working * MakeTxContext * mistake in GetBlock/GetBlockHeader * rework TransactionManager to be closer to original * more unit tests (2 still failing) * remove assertEx * Add ThrowsAsync comment * ReturnsAsync * fixed last remaining test issues * minor TXManager cleanup * formatting * move tx contruction to MakeTransaction * discards * Async Suffixes (PR feedback) * GetCommitteeAsync * add custom magic support to tx manager * fix format * add magic param comment * CR Feedback * Clean enter Co-authored-by: Harry <[email protected]> Co-authored-by: Shargon <[email protected]> * Add `magic` field in getversion (neo-project#363) * add magic field in getversion * fix rpc client * fix * Fix validateaddress (neo-project#365) * fix validateaddress * apply recommendation Co-authored-by: Owen Zhang <[email protected]> * Allow rpc method can be overrided (neo-project#367) * allow rpc method can be overrided * change to protected virtual * set DummyWallet private * Update src/RpcServer/RpcServer.SmartContract.cs Co-authored-by: Shargon <[email protected]> Co-authored-by: Shargon <[email protected]> Co-authored-by: Owen Zhang <[email protected]> * Update RpcServer.Utilities.cs (neo-project#374) * add null check for transferaddress (neo-project#373) * add null check for transferaddress * add ut * fix ut * fix format * fix * merge master Co-authored-by: Owen Zhang <[email protected]> * invoke* use base64 script (neo-project#362) * invoke* use base64 script * fix rpc client * fix ut * fix validateaddress * fix ut * revert * fix ProcessInvokeWithWallet Co-authored-by: Owen Zhang <[email protected]> * Remove sender from invoke method (neo-project#368) * remove sender from invoke method * fix * format Co-authored-by: Owen Zhang <[email protected]> * Add `exception` field in invokeresult (neo-project#364) * add exception field in invokeresult * fix rpc client * fix * fix show exception message * fix * fix * fix: add try-catch for processInvokeWithWallet * fix * apply * trigger github action * Singers * fix Co-authored-by: Owen Zhang <[email protected]> * [RpcClient] Optimization code. (neo-project#372) * optimization code * conflict resolution 2 * conflict resolution 3 * update * Update RpcApplicationLog.cs * Update RpcBlock.cs * Update RpcBlockHeader.cs * Optimize return Co-authored-by: Shargon <[email protected]> Co-authored-by: Owen Zhang <[email protected]> * [RpcClient] Add processing of Any type to StackItemFromJson method. (neo-project#371) * Update Utility.cs * Update RpcTestCases.json * update Co-authored-by: Owen Zhang <[email protected]> * Fix script convert in MakeTransaction(). (neo-project#382) * Use Base64String on response of getrawtransaction (neo-project#383) Use Base64String on response of getrawtransaction * Unify to base64 (neo-project#384) * Update RpcServer.SmartContract.cs (neo-project#386) According to neo-project#368 (comment) * [RpcClient] Policy API mismatch (neo-project#388) * fixed-bug-1021 * Update src/RpcServer/RpcServer.SmartContract.cs * 😂 * NEO3: RPC client Policy API mismatch * update * update * update * UT * Format Co-authored-by: Shargon <[email protected]> Co-authored-by: Owen Zhang <[email protected]> * [Sync to master] Unify base64 (neo-project#397) * Unify base64 in SendRawTransaction and SubmitBlock * fix GetRpcName() in GetWalletBalanceAsync * add SubmitBlock * add ProcessInvokeWithWallet * Modify container in GetInvokeResult method (neo-project#390) * fixed-bug-1021 * Update src/RpcServer/RpcServer.SmartContract.cs * 😂 * Modify container in GetInvokeResult method * . * Update src/RpcServer/RpcServer.SmartContract.cs Co-authored-by: cloud8little <[email protected]> Co-authored-by: Shargon <[email protected]> Co-authored-by: cloud8little <[email protected]> * trigger type for getapplicationlog (neo-project#380) * fixed-bug-1021 * Update src/RpcServer/RpcServer.SmartContract.cs * 😂 * Keeping up to date with neo * Keeping up to date with neo * Revert "Keeping up to date with neo" This reverts commit aa8e120. * Prevent create key if not null * dotnet format * Query application log via blockhash * update * Modifying the Json storage structure * Modifying the JSON storage structure 2 * Additional optional "trigger" parameter to getapplicationlog for clients to be able to get just one execution result for a block. * Re-run checks * StrictUTF8 * Update src/ApplicationLogs/LogReader.cs Co-authored-by: Luchuan <[email protected]> * Optimize Co-authored-by: Shargon <[email protected]> Co-authored-by: Luchuan <[email protected]> Co-authored-by: Vitor Nazário Coelho <[email protected]> Co-authored-by: Owen Zhang <[email protected]> * Update RpcApplicationLog.cs in RpcClient (neo-project#395) * fixed-bug-1021 * Update src/RpcServer/RpcServer.SmartContract.cs * 😂 * Update RpcApplicationLog.cs in RpcClient * update * Fixed UT * ??? * update * UT Co-authored-by: Shargon <[email protected]> Co-authored-by: Owen Zhang <[email protected]> Co-authored-by: superboyiii <[email protected]> * Update LogReader.cs (neo-project#401) * Update LogReader.cs * update * [RpcServer] Update RpcServer.SmartContract.cs (neo-project#400) * Update RpcServer.SmartContract.cs * Update src/RpcServer/RpcServer.SmartContract.cs Co-authored-by: Shargon <[email protected]> * update Co-authored-by: Owen Zhang <[email protected]> Co-authored-by: Shargon <[email protected]> * use shared directory.build.props file (neo-project#403) * use shared directory.build.props file * Update src/LevelDBStore/LevelDBStore.csproj Co-authored-by: Erik Zhang <[email protected]> * Update src/RocksDBStore/RocksDBStore.csproj Co-authored-by: Erik Zhang <[email protected]> * Update src/RocksDBStore/RocksDBStore.csproj Co-authored-by: Erik Zhang <[email protected]> * CR Feedback * Fix namespace Co-authored-by: Harry <[email protected]> Co-authored-by: Erik Zhang <[email protected]> Co-authored-by: Harry Pierson <[email protected]> * create helper applog JSON functions for reuse in neo-express (neo-project#402) * create helper applog JSON functions for reuse in neo-express * Update LogReader.cs (neo-project#401) * Update LogReader.cs * update Co-authored-by: Harry <[email protected]> Co-authored-by: erikzhang <[email protected]> Co-authored-by: Igor Machado Coelho <[email protected]> Co-authored-by: hal0x2328 <[email protected]> Co-authored-by: f27d <[email protected]> Co-authored-by: belane <[email protected]> Co-authored-by: Vitor Nazário Coelho <[email protected]> Co-authored-by: Ricardo Prado <[email protected]> Co-authored-by: jsolman <[email protected]> Co-authored-by: Shargon <[email protected]> Co-authored-by: Owen Zhang <[email protected]> Co-authored-by: zhangtao <[email protected]> Co-authored-by: Celia18305 <[email protected]> Co-authored-by: Krain Chen <[email protected]> Co-authored-by: cn1010 <[email protected]> Co-authored-by: Nicole <[email protected]> Co-authored-by: cn1010 <[email protected]> Co-authored-by: Qiao Jin <[email protected]> Co-authored-by: Harry Pierson <[email protected]> Co-authored-by: Harry Pierson <[email protected]> Co-authored-by: ZhangHaoqiang <[email protected]> Co-authored-by: superboyiii <[email protected]> Co-authored-by: zhuoqian <[email protected]> Co-authored-by: Luchuan <[email protected]> Co-authored-by: Luchuan <[email protected]> Co-authored-by: joeqian <[email protected]> Co-authored-by: cloud8little <[email protected]> Co-authored-by: Jin Qiao <[email protected]> Co-authored-by: Harry Pierson <[email protected]>
* remove other languages * updated * updated * update faq * updated * removed * fix formatting issues * fix issues * update sdk update deploy contract * New release neo3 (#1069) * Update config.json * update gui doc * updated * updated English files Co-authored-by: 陈志同 <[email protected]> Co-authored-by: celiayu <[email protected]> * fix issue * updated storage * update contract samples * add glossary and other updates * updated FAQ * remove outdated figures * updated * remove outdated files * remove outdated files * updated GUI and test net * Enchance the description of sc development (#1081) * add comments * updated Co-authored-by: celiayu <[email protected]> * Enhance the fee description of storage.put/putx (#1086) * enhance fee desc of storage.put * updated Co-authored-by: celiayu <[email protected]> * add faq (#1085) * update faq * add cli * Add governance api (#1087) Co-authored-by: Jin Qiao <[email protected]> * updated governance * updated * minor updates * Governance api Illustration (#1089) * Add governance api * Governance API Illustration * Text optimization * Text optimization * updated * updated Co-authored-by: Jin Qiao <[email protected]> Co-authored-by: celiayu <[email protected]> * updated the note * Update basics.md (#1092) * Update basics.md * polished * update English Co-authored-by: celiayu <[email protected]> * rename getunclaimedgas (#1095) * rename neo-project/neo-modules#243 * update related files Co-authored-by: celiayu <[email protected]> * getbalance update to getwalletbalance (#1094) * getbalance update to getwalletbalance https://github.com/neo-project/neo-modules/pull/243/files * update related files Co-authored-by: celiayu <[email protected]> * Update invokefunction.md (#1102) * Update invokefunction.md Close:#1098 * update invokescript * add English changes Co-authored-by: celiayu <[email protected]> * Update private chain instructions (#1105) * Update solo.md There are some inconsistencies which cause confusion when reading the steps - in the beginning the wallet is named `1.json` later `a.json`. Fixed to always use `1.json` - the public key shown in the screenshot is different from the public key used in the remainder of the text. Fixed to use the same - the final step "withdrawing " doesn't actually show how to withdraw * update Chinese flie Co-authored-by: celiayu <[email protected]> * Update getrawmempool.md (#1107) * follow up-update getrawmempool * Release neo3 preview3 (#1120) * Cli update for preview3 (#1104) * fix exchange related content * update cli for preview3 * fix * update exchange files * update cli files Co-authored-by: celiayu <[email protected]> * update private chain guide (#1106) * update private chain guide * Update private-chain2.md fix * update * fix * updated * Update solo.md * updated Co-authored-by: celiayu <[email protected]> * Updating transaction, wallet & consensus (#1110) * Updating transaction, wallet & consensus * update a portion * update transaction Co-authored-by: Jin Qiao <[email protected]> Co-authored-by: celiayu <[email protected]> * Modify RPC and VM OPcode (#1112) * modify RPC and VM OPcode * update RPC API * Update getrawtransaction.md * Update api.md * Update getapplicationlog.md * Update getcontractstate.md * Update getrawtransaction.md * Update invokefunction.md * Update invokescript.md * Update api.md * Update getapplicationlog.md * Update getcontractstate.md * Update getcontractstate.md * Update getversion.md * Update invokefunction.md * Update invokefunction.md * Update invokescript.md * Update invokescript.md * Update sendfrom.md * Update sendfrom.md * Update sendmany.md * Update sendmany.md * Update sendmany.md * Update sendtoaddress.md * Update sendtoaddress.md * update vm * Update api.md * Update sendfrom.md * Update api.md * Update sendfrom.md * updated API Co-authored-by: celiayu <[email protected]> Co-authored-by: HaoqiangZhang <[email protected]> * Release neo3 preview3 sc write part (#1113) * Update sc write * update basic type * fix typo * Update Contract and Crypto类型 * Update TriggerType, Notification, runtime * fix type * Update CreateStandardAccount.md * Update Contract.md * Update GetCallFlags.md * Update Runtime.md * Update basics.md * Update System.md * updated * updated * updated Co-authored-by: HaoqiangZhang <[email protected]> Co-authored-by: celiayu <[email protected]> * Add getunclaimedgas (#1115) * add getunclaimedgas * update en * update validator * update RPC API * update rpc api (#1117) * review privatechain (#1119) * updated Co-authored-by: Owen Zhang <[email protected]> Co-authored-by: Qiao Jin <[email protected]> Co-authored-by: Jin Qiao <[email protected]> Co-authored-by: ShawnYun <[email protected]> Co-authored-by: HaoqiangZhang <[email protected]> Co-authored-by: lichen <[email protected]> * update toc * Fix issues in wallet * Update wallets.md * update cli commands (#1125) * update cli commands * updated and add English updates Co-authored-by: celiayu <[email protected]> * update gui 1.1.0 (#1124) * update gui 1.1.0 * update on GUI docs * updated * updated Co-authored-by: wanglongfei88 <[email protected]> * Fix issues * update GUI * update GUI * updated exchange * fix errors * review private chain (#1126) * Update solo.md * updated * add GUI related info * add rocksdb (#1127) * add rocksdb * Update setup.md * Update setup.md Co-authored-by: Celia18305 <[email protected]> * add sender for rpc api (#1130) * add sender for rpc api * update sendmany * updated * Update sendmany.md Co-authored-by: celiayu <[email protected]> * Update submitblock.md (#1136) * Update submitblock.md Close #1111 * update English file Co-authored-by: celiayu <[email protected]> * Reorg structure (#1148) * adjust structure * update * fix links * fix links * fix links * Update prerequisites.md * update English * reorg * updated * fix links fix links * Update index.md * update rpc and sc (#1142) * update rpc api * fix * update sc api * update sc framework * update fee * some updates in develop * update opcode fee Co-authored-by: Celia18305 <[email protected]> * updated * update api * Update to the latest. (#1143) * add oracle * some updates (#1144) * update rpc api * fix * update sc api * update sc framework * update fee * some updates in develop * update opcode fee * update intro * update nep5 * update sdk * updated English SDK * follow up Co-authored-by: Celia18305 <[email protected]> Co-authored-by: Celia18305 <[email protected]> * add oralce * update toc * update * update scapi (#1145) * update rpc api * fix * update sc api * update sc framework * update fee * some updates in develop * update opcode fee * update intro * update nep5 * update sdk * updated English SDK * follow up * update scapi * update method descriptors * updated Co-authored-by: Celia18305 <[email protected]> Co-authored-by: Celia18305 <[email protected]> * update setup * update index Co-authored-by: cn1010 <[email protected]> Co-authored-by: Owen Zhang <[email protected]> * fix issues * update toc * update FAQ * preview4 updates (#1149) * Sync to Nep17 * fix * fix issues * update nep17 * update nep17 * fix issues * fix nep17 issues * updated api * updated * updated * update API * updated * fix issues * NEO-191 Fix NEP17 errors in the docs (#1153) Co-authored-by: luc10921 <[email protected]> * Release preview5 (#1162) * Update RPC (#1150) * update(1/2) * update(2/2) * update * updated api.md * updated English version * updated English files Co-authored-by: Celia18305 <[email protected]> * opcode price (#1151) * price * Update neo_vm.md Co-authored-by: Celia18305 <[email protected]> * update neo-cli docs for preview5 (#1154) * update neo-cli docs * update neo-cli docs * update neo-cli docs * Update cli.md Co-authored-by: Celia18305 <[email protected]> * Release preview5 (#1156) * price * Update neo_vm.md * remove * updated Co-authored-by: Celia18305 <[email protected]> * Preview5 smartcontract API and framework (#1152) * update(1/3) * update(2/3) * update * update (3/3) * update (4/3) * finish * updated English Co-authored-by: Celia18305 <[email protected]> Co-authored-by: Celia18305 <[email protected]> * update neo node docs (#1157) * update neo node docs * add maxGAS * update * updated Co-authored-by: Celia18305 <[email protected]> * add name service api (#1155) * add name service api * update * add english edition of the nns * minor fix * fix issues * Fix precision (#1160) * update(1/3) * update(2/3) * update * update (3/3) * update (4/3) * finish * update * fixed Co-authored-by: Celia18305 <[email protected]> Co-authored-by: Celia18305 <[email protected]> * add state root rpc api (#1159) * add state root rpc api * update * update * updated Co-authored-by: Celia18305 <[email protected]> Co-authored-by: Celia18305 <[email protected]> * update contract framework (#1161) * update * Update Transfer.md * Update Transfer.md Co-authored-by: Celia18305 <[email protected]> Co-authored-by: 陈志同 <[email protected]> Co-authored-by: Shine Li <[email protected]> Co-authored-by: HaoqiangZhang <[email protected]> Co-authored-by: cn1010 <[email protected]> * fix issues * updated toc * Create permission.md (#1164) * Create permission.md * Add CryptoLib and StdLib * fixed issues * updated English files * updated English files * update toc Co-authored-by: Celia18305 <[email protected]> * update NEP-17 (#1165) * onNEP17Payment * changelog * updated Co-authored-by: Celia18305 <[email protected]> * Fee (#1167) * Create fee.md * Update fee.md * updated * updated Co-authored-by: Celia18305 <[email protected]> * nef & manifest (#1170) * nef & manifest * updated Co-authored-by: Celia18305 <[email protected]> * update gettingstarted (#1171) * update gettingstarted * updated Co-authored-by: Celia18305 <[email protected]> * contract update and destroy (#1172) * update * Update update.md * updated Co-authored-by: Celia18305 <[email protected]> * fix issues * update (#1173) * update avm to nef * fix links * add nns * Update calculatenetworkfee.md (#1174) * Update getblock.md (#1175) * Update getblockheader.md (#1177) * Update getcontractstate.md (#1178) * Update getnativecontracts.md (#1179) * Update validateaddress.md (#1190) * Update validateaddress.md * Update validateaddress.md Co-authored-by: Celia18305 <[email protected]> * Update sendtoaddress.md (#1189) * Update sendmany.md (#1188) * Update sendfrom.md (#1187) * Update invokescript.md (#1186) * Update getwalletbalance.md (#1184) * updated rpc api * Update invokecontractverify.md (#1185) * Update invokecontractverify.md * Update invokecontractverify.md * Update invokecontractverify.md * Update getproof.md (#1182) * Update getproof.md * updated Co-authored-by: Celia18305 <[email protected]> * Update getnep17balances.md (#1180) * Update getnep17balances.md * updated Co-authored-by: Celia18305 <[email protected]> * Update neovm.md * update (#1176) * Update getnep17transfers.md (#1181) * Update getnep17transfers.md * updated * updated Co-authored-by: Celia18305 <[email protected]> Co-authored-by: Celia18305 <[email protected]> * update (#1183) Co-authored-by: Celia18305 <[email protected]> * update faq (#1191) * update faq * updated Co-authored-by: Clay9910 <[email protected]> Co-authored-by: Celia18305 <[email protected]> * Update consensus & api (#1192) * update consensus & api * correction and translation * Update consensus_protocol.md Co-authored-by: Celia18305 <[email protected]> * Add a note on neofs urls (#1199) * oracle: add a note on NeoFS URLs * oracle: add a note on JSON * update basic block&tx zh-cn (#1194) * update * updated Co-authored-by: Celia18305 <[email protected]> * update to RC1 (#1200) * update to RC1 * update private chain * updated Co-authored-by: Celia18305 <[email protected]> * Update wallet (#1198) * Update wallet * updated Co-authored-by: Celia18305 <[email protected]> * update encryption (#1196) * update encryption * updated Co-authored-by: Celia18305 <[email protected]> * update docs for the use of endian scriptHas (#1197) * udpate docs for endian scrip hash * updated Co-authored-by: Celia18305 <[email protected]> Co-authored-by: Celia18305 <[email protected]> * Update Oracle api (#1195) * Update Oracle api * updated Co-authored-by: Celia18305 <[email protected]> * Update oracle.md (#1193) * Update oracle.md * add figures * updated * fix links * update oracle * Update governance * replace name * fix issues * update index * Neo-cli autostart configuration updated (#1201) That you need to install the DBFTPlugin and set AutoStart to true in the plugin config file is not clear. I updated the documentation to make that more clear. * update node * Update oracle.md * Update setup.md * fix issues * Update token_model.md Old GAS information @Celia18305 - please merge * Update toc.yml removed dead link (charging model) @Celia18305 * update token model * update governance and replace name * replace name * fix issue * updated * update faq (#1204) * update faq * remove sc faq * update Co-authored-by: Celia18305 <[email protected]> * Update basics.md (#1206) In NEO 3, no overload for method 'Put' of Storage takes 2 arguments. This PR is to fix this compilation error in the example. * update sdk docs (#1205) * update sdk docs * update English Co-authored-by: ProDog <[email protected]> Co-authored-by: Celia18305 <[email protected]> * Update config.json (#1207) * Update config.json Co-authored-by: celiayu <[email protected]> Co-authored-by: wanglongfei88 <[email protected]> Co-authored-by: ZhangHaoqiang <[email protected]> Co-authored-by: wanglongfei <[email protected]> Co-authored-by: 陈志同 <[email protected]> Co-authored-by: Luchuan <[email protected]> Co-authored-by: Celia18305 <[email protected]> Co-authored-by: Qiao Jin <[email protected]> Co-authored-by: Jin Qiao <[email protected]> Co-authored-by: cloud8little <[email protected]> Co-authored-by: Erik van den Brink <[email protected]> Co-authored-by: Owen Zhang <[email protected]> Co-authored-by: ShawnYun <[email protected]> Co-authored-by: lichen <[email protected]> Co-authored-by: cn1010 <[email protected]> Co-authored-by: superboyiii <[email protected]> Co-authored-by: Lucas Kenji Uezu <[email protected]> Co-authored-by: luc10921 <[email protected]> Co-authored-by: 陈志同 <[email protected]> Co-authored-by: Shine Li <[email protected]> Co-authored-by: Clay9910 <[email protected]> Co-authored-by: Roman Khimov <[email protected]> Co-authored-by: ZhangTao <[email protected]> Co-authored-by: doubiliu <[email protected]> Co-authored-by: Rene Buunk <[email protected]> Co-authored-by: fabwa <[email protected]> Co-authored-by: Wonseok Chae <[email protected]> Co-authored-by: ProDog <[email protected]> Co-authored-by: 陈志同 <[email protected]>
CLI: * Typos are fixed * Documentation on NEP-11 tokens is added * NeoGo node configuration is moved to a separate file Compiler: * Typos and indentations are fixed * Ops dump example is updated Consensus: * Typos are fixed * Links are fixed Notifications: * Minor adjustments RPC: * `getversion` response is updated * `getunclamedgas` comment is removed (not valid since neo-project/neo-modules#243) VM: * Update help message * `load*` command adjustments
CLI: * Typos are fixed * Documentation on NEP-11 tokens is added * NeoGo node configuration is moved to a separate file Compiler: * Typos and indentations are fixed * Ops dump example is updated Consensus: * Typos are fixed * Links are fixed Notifications: * Minor adjustments RPC: * `getversion` response is updated * `getunclamedgas` comment is removed (not valid since neo-project/neo-modules#243) VM: * Update help message * `load*` command adjustments
CLI: * Typos are fixed * Documentation on NEP-11 tokens is added * NeoGo node configuration is moved to a separate file Compiler: * Typos and indentations are fixed * Ops dump example is updated Consensus: * Typos are fixed * Links are fixed Notifications: * Minor adjustments RPC: * `getversion` response is updated * `getunclamedgas` comment is removed (not valid since neo-project/neo-modules#243) VM: * Update help message * `load*` command adjustments * `astack` command removal
CLI: * Typos are fixed * Documentation on NEP-11 tokens is added * NeoGo node configuration is moved to a separate file Compiler: * Typos and indentations are fixed * Ops dump example is updated Consensus: * Typos are fixed * Links are fixed Notifications: * Minor adjustments RPC: * `getversion` response is updated * `getunclamedgas` comment is removed (not valid since neo-project/neo-modules#243) VM: * Update help message * `load*` command adjustments * `astack` command removal
closes #241