neo-go/pkg/core
Roman Khimov d5a9d80c12 core: refactor out policy check for transaction
We were checking blocked accounts twice which is obviously excessive. We also
have our accounts sorted, so we can rely on that in CheckPolicy(). It also
doesn't make much sense to check MaxBlockSystemFee in Blockchain code, policy
contract can handle that.
2020-08-07 12:21:52 +03:00
..
block rpc: adjust getblock RPC-call JSON fields names 2020-07-09 17:34:53 +03:00
blockchainer core: drop GetScriptHashesForVerifying 2020-08-07 12:21:52 +03:00
dao core: use raw stack items in application logs 2020-07-31 16:07:16 +03:00
interop always wrap errors when creating new ones with fmt.Errorf() 2020-08-07 12:21:52 +03:00
mempool core: move transaction's sender to cosigners 2020-08-04 17:33:50 +03:00
mpt mpt: fix extension node cache invalidation 2020-07-30 12:42:15 +03:00
native core: refactor out policy check for transaction 2020-08-07 12:21:52 +03:00
state core: use raw stack items in application logs 2020-07-31 16:07:16 +03:00
storage always wrap errors when creating new ones with fmt.Errorf() 2020-08-07 12:21:52 +03:00
test_data rpc: adjust getrawtransaction RPC-call JSON fields names 2020-07-15 14:44:13 +03:00
transaction core: move all transaction.Decode checks to separate method 2020-08-04 17:34:06 +03:00
blockchain.go core: refactor out policy check for transaction 2020-08-07 12:21:52 +03:00
blockchain_test.go core: move transaction's sender to cosigners 2020-08-04 17:33:50 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
gas_price.go *: move syscall handling out of VM 2020-07-29 13:41:08 +03:00
header_hash_list.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
helper_test.go remove github.com/pkg/errors from dependencies 2020-08-07 12:21:52 +03:00
interop_neo.go always wrap errors when creating new ones with fmt.Errorf() 2020-08-07 12:21:52 +03:00
interop_neo_test.go core: move transaction's sender to cosigners 2020-08-04 17:33:50 +03:00
interop_system.go core: deepcopy notification in System.Runtime.Notify 2020-08-05 11:19:41 +03:00
interop_system_test.go core: move transaction's sender to cosigners 2020-08-04 17:33:50 +03:00
interops.go core: allow to restrict creating callbacks from syscalls 2020-07-29 13:41:08 +03:00
interops_test.go block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
native_contract_test.go core: move transaction's sender to cosigners 2020-08-04 17:33:50 +03:00
native_policy_test.go core: move transaction's sender to cosigners 2020-08-04 17:33:50 +03:00
opcode_price.go core: add prices for TRY* opcodes 2020-07-29 13:41:08 +03:00
prometheus.go core: add state height to prometheus metrics 2020-07-30 12:42:15 +03:00
util.go core: move transaction's sender to cosigners 2020-08-04 17:33:50 +03:00
util_test.go core: remove unnecessary comment 2020-08-04 17:34:06 +03:00