neoneo-go/pkg/core
Anna Shaleva 097ef2a731 core: copy storage item key in simple.GetStorageItems
Related to #1468, ported from #1475.

We should copy the key to avoid bytes substitution. Otherwise there's a
chance that at the end of dao.Store.Seek(...) execution some keys won't
be the same as the original keys found inside saveToMap function because
storage.Seek can guarantee that provided key and value are only valid
until the next `f` call.
2020-10-10 12:37:46 +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 vm, core: move invocation counter from InteropContext to VM 2020-10-08 11:33:26 +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 Merge pull request #1452 from nspcc-dev/contract/deploy 2020-10-06 19:54:14 +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 vm, core: move invocation counter from InteropContext to VM 2020-10-08 11:33:26 +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