neoneo-go/pkg/core
Anna Shaleva fe1f0a7245 core: introduce CheckReturnState constants
At the moment we should have 3 possible options to check return state
during vm context unloading:
	* no check
	* ensure the stack is empty
	* ensure the stack is not empty

It is necessary to distinguish them because new _deploy method shouldn't
left anything on stack. Example: if we use _deploy method before some
ordinary contract method which returns one value. Without these changes
the contract invocation will fail due to 2 elements on stack left after
invocation (the first `null` element is from _deploy, the second element
is return-value from the ordinary contract method).
2020-10-13 19:14:44 +03:00
..
block core: restrict the muximum number of contents per block 2020-10-05 18:08:33 +03:00
blockchainer core/rpc: add continue flag to iterating functions 2020-09-21 22:23:34 +03:00
dao core: copy storage item key in simple.GetStorageItems 2020-10-10 12:37:46 +03:00
fee core: move CalculateNetworkFee to a separate package 2020-10-07 10:04:19 +03:00
interop core: introduce CheckReturnState constants 2020-10-13 19:14:44 +03:00
mempool mempool: don't create new big.Int in tryAddSendersFee() if possible 2020-09-10 15:35:19 +03:00
mpt mpt: fix comment typo 2020-09-21 17:54:11 +03:00
native native: provide name method for all contracts 2020-10-09 15:06:28 +03:00
state Merge pull request #1474 from nspcc-dev/core/fixes 2020-10-09 10:03:52 +03:00
storage core: copy storage item key in simple.GetStorageItems 2020-10-10 12:37:46 +03:00
test_data block: update binary test data 2020-08-18 14:52:30 +03:00
transaction transaction: add script length limit 2020-10-07 18:23:10 +03:00
blockchain.go Merge pull request #1462 from nspcc-dev/rpc/exceptions 2020-10-08 16:20:38 +03:00
blockchain_test.go native: move OracleRequest to state package 2020-10-08 13:48:14 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
gas_price.go core: move CalculateNetworkFee to a separate package 2020-10-07 10:04:19 +03:00
helper_test.go core: move CalculateNetworkFee to a separate package 2020-10-07 10:04:19 +03:00
interop_neo.go core: introduce CheckReturnState constants 2020-10-13 19:14:44 +03:00
interop_neo_test.go crypto/consensus: sign hashes and cache them for consensus payloads 2020-09-09 20:46:31 +03:00
interop_system.go core: calculate gas for System.Storage.Put correctly 2020-10-05 13:03:44 +03:00
interop_system_test.go core: introduce CheckReturnState constants 2020-10-13 19:14:44 +03:00
interops.go core: move contractCall* to a separate package 2020-09-25 16:32:10 +03:00
interops_test.go core: add VM into interop context 2020-08-07 16:15:24 +03:00
native_contract_test.go native: provide name method for all contracts 2020-10-09 15:06:28 +03:00
native_designate_test.go emit: accept multiple opcodes in Opcode() 2020-10-06 18:03:25 +03:00
native_neo_test.go Merge pull request #1435 from nspcc-dev/checkwitness-calling-script-hash 2020-09-29 12:49:09 +03:00
native_oracle_test.go emit: accept multiple opcodes in Opcode() 2020-10-06 18:03:25 +03:00
native_policy_test.go core: add validation to native Policy methods 2020-10-05 18:08:37 +03:00
prometheus.go core: add state height to prometheus metrics 2020-07-30 12:42:15 +03:00
util.go core: move CalculateNetworkFee to a separate package 2020-10-07 10:04:19 +03:00
util_test.go core: remove unnecessary comment 2020-08-04 17:34:06 +03:00