neoneo-go/pkg/core
Anna Shaleva 54e6bcad12 core: fix failing mempool test
There might be a case when identical nonces are generated for tx6, tx7 or
tx8 (they are not in mempool, so each of them pass mempool-presence
check). In this case test fails due to the lack of hashes into mp.conflicts
map (two of tx6, tx7 or tx8 have identical hashes) with the following
error:

```
=== RUN   TestMempoolAddRemoveConflicts
--- FAIL: TestMempoolAddRemoveConflicts (0.00s)
    mem_pool_test.go:376:
        	Error Trace:	mem_pool_test.go:376
        	Error:      	Not equal:
        	            	expected: 4
        	            	actual  : 3
        	Test:       	TestMempoolAddRemoveConflicts
```

Fixed by maling the nonce non-random.
2020-11-12 15:05:01 +03:00
..
block core: restrict the muximum number of contents per block 2020-10-05 18:08:33 +03:00
blockchainer core: provide account in calculate claimable 2020-11-10 16:08:21 +03:00
dao native: add GAS rewards for voters 2020-11-10 15:30:30 +03:00
fee core: update opcodes prices 2020-11-12 14:20:26 +03:00
interop core: implement System.Binary.Atoi/Itoa syscalls 2020-11-10 16:15:10 +03:00
mempool core: fix failing mempool test 2020-11-12 15:05:01 +03:00
mpt mpt: fix comment typo 2020-09-21 17:54:11 +03:00
native core: remove policy default values initialisation 2020-11-10 18:05:40 +03:00
state trigger/core: split System trigger into OnPerist and PostPersist 2020-10-29 19:17:07 +03:00
storage storage: fix Get for BoltDB, fix #1482 2020-10-13 19:05:11 +03:00
test_data block: update binary test data 2020-08-18 14:52:30 +03:00
transaction transaction: add new oracle response codes 2020-11-09 16:54:09 +03:00
blockchain.go core: provide account in calculate claimable 2020-11-10 16:08:21 +03:00
blockchain_test.go core: provide account in calculate claimable 2020-11-10 16:08:21 +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 native: increase committee GAS bounty 2020-11-10 15:30:31 +03:00
interop_neo.go core: introduce CheckReturnState constants 2020-10-13 19:14:44 +03:00
interop_neo_test.go core: use ic.SpawnVM() in tests, not vm.New() 2020-10-29 19:17:07 +03:00
interop_system.go core/config: move MaxTraceableBlocks to configuration file 2020-11-06 13:41:46 +03:00
interop_system_test.go core: adjust storage update fees 2020-11-03 22:50:40 +03:00
interops.go core: implement System.Binary.Atoi/Itoa syscalls 2020-11-10 16:15:10 +03:00
interops_test.go core: add VM into interop context 2020-08-07 16:15:24 +03:00
native_contract_test.go core: update opcodes prices 2020-11-12 14:20:26 +03:00
native_designate_test.go native: implement designate contract history retention 2020-11-06 13:46:40 +03:00
native_neo_test.go core: provide account in calculate claimable 2020-11-10 16:08:21 +03:00
native_oracle_test.go native: implement designate contract history retention 2020-11-06 13:46:40 +03:00
native_policy_test.go core: refactor blocked accounts logic 2020-10-23 11:42:30 +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